Microsoft Access DataBase Automated Grading System

Slides:



Advertisements
Similar presentations
MS-Access XP Lesson 1. Introduction to MS-Access Database Management System Software (DBMS) Store data in databases Database is a collection of table.
Advertisements

REACH-CRC. Lookup Functions INDEX-MATCH LOOKUP Database Functions DSUM DMIN DMAX DCOUNT DAVERAGE.
Computer Science & Engineering 2111 Text Functions 1CSE 2111 Lecture-Text Functions.
MIS: Chapter 14 Cumulative concepts, features and functions, plus new functions COUNTIFS, SUMIFS, AVERAGEIFS (Separate ppt on REACH.louisville.edu) All.
Day 3 - Basics of MySQL What is MySQL What is MySQL How to make basic tables How to make basic tables Simple MySQL commands. Simple MySQL commands.
Introduction to Structured Query Language (SQL)
Quick-and-dirty.  Commands end in a semi-colon ◦ If you forget, another prompt line shows up  Either continue the command or…  End it with a semi-colon.
Maintenance Modifying the data –Add records –Delete records –Update records Modifying the design –Add fields into tables –Remove fields from a table –Change.
Introduction to Structured Query Language (SQL)
Creating a Blank Database 1. Open up Microsoft Access 2. Click on Blank document button 3. On the right panel, Specify the location for saving your database.
COMPREHENSIVE Access Tutorial 2 Building a Database and Defining Table Relationships.
Introduction to Structured Query Language (SQL)
With Microsoft Access 2010 © 2011 Pearson Education, Inc. Publishing as Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Access.
1 Chapter 2 Reviewing Tables and Queries. 2 Chapter Objectives Identify the steps required to develop an Access application Specify the characteristics.
Chapter 7 Managing Data Sources. ASP.NET 2.0, Third Edition2.
Database Software Application
Business Computer Information Systems Microsoft Office XP Access Review Lessons 1 through 5.
DAY 21: MICROSOFT ACCESS – CHAPTER 5 MICROSOFT ACCESS – CHAPTER 6 MICROSOFT ACCESS – CHAPTER 7 Akhila Kondai October 30, 2013.
Page 1 ISMT E-120 Desktop Applications for Managers Introduction to Microsoft Access.
Database Applications – Microsoft Access Lesson 2 Modifying a Table and Creating a Form 45 slides in presentation Accessibility check 9/14.
Microsoft Access Intro Class 1 Database Concepts.
With Microsoft Office 2007 Intermediate© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Office 2007 Intermediate.
With Microsoft Access 2007 Volume 1© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Access 2007 Volume 1 Chapter.
Primary & Foreign Keys. PK & FK 1.Primary key is required 2.The PK must be unique 3.If the primary key from one table is related to a field in another.
Relational DBs and SQL Designing Your Web Database (Ch. 8) → Creating and Working with a MySQL Database (Ch. 9, 10) 1.
Chapter 10 Queries and Updating Part C. SQL Copyright 2005 Radian Publishing Co.
AL-MAAREFA COLLEGE FOR SCIENCE AND TECHNOLOGY INFO 232: DATABASE SYSTEMS CHAPTER 7 INTRODUCTION TO STRUCTURED QUERY LANGUAGE (SQL) Instructor Ms. Arwa.
MICROSOFT ACCESS 2007 BTA – Spring What is Access?  Microsoft Access is a database management system…this means that it contains database information.
Microsoft Access 2003 Define some key Access terminology: Field – A single characteristic or attribute of a person, place, object, event, or idea. Record.
 A database is a collection of data that is organized so that its contents can easily be accessed, managed, and updated. What is Database?
Constraints  Constraints are used to enforce rules at table level.  Constraints prevent the deletion of a table if there is dependencies.  The following.
Access Primer Africamuseum 5 June MS Access  Relational Database Management System Data/information resides in series of related tables Principle.
ISV Innovation Presented by ISV Innovation Presented by Business Intelligence Fundamentals: Data Cleansing Ola Ekdahl IT Mentors 9/12/08.
Database Systems Microsoft Access Practical #1 Creating Tables Nos 215.
7 1 Chapter 7 Introduction to Structured Query Language (SQL) Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
Access Project 3 Notes. Introduction Maintaining the Database  Modifying the data to keep it up-to-date Restructure the Database  To change the database.
Using Microsoft Access 56:150 Information System Design.
1 Database Design and Development: A Visual Approach © 2006 Prentice Hall Chapter 8 DATABASE DESIGN AND DEVELOPMENT: A VISUAL APPROACH Chapter 8 Creating.
6 1 Lecture 8: Introduction to Structured Query Language (SQL) J. S. Chou, P.E., Ph.D.
Microsoft Access 2013 ®® Tutorial 9 Using Action Queries and Advanced Table Relationships.
What have we learned?. What is a database? An organized collection of related data.
Access  Getting Started  Creating Tables  Designing Tables Worksheet #8.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 3 BACKNEXTEND 3-1 LINKS TO OBJECTIVES Modify a Table – Add, Delete, Move Fields Modify a Table.
1 CSE 2337 Introduction to Data Management Access Book – Ch 1.
Database Systems Design, Implementation, and Management Coronel | Morris 11e ©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or.
SQL Basic. What is SQL? SQL (pronounced "ess-que-el") stands for Structured Query Language. SQL is used to communicate with a database.
Database Fundamental & Design by A.Surasit Samaisut Copyrights : All Rights Reserved.
AL-MAAREFA COLLEGE FOR SCIENCE AND TECHNOLOGY INFO 232: DATABASE SYSTEMS CHAPTER 7 (Part II) INTRODUCTION TO STRUCTURED QUERY LANGUAGE (SQL) Instructor.
Introduction to a Database Defining a database Database window in Access The six items in window: Tables, Queries Forms, Reports, Macros, Modules.
Database Management Supplement 1. 2 I. The Hierarchy of Data Database File (Entity, Table) Record (info for a specific entity, Row) Field (Attribute,
Lesson 4.  After a table has been created, you may need to modify it. You can make many changes to a table—or other database object—using its property.
The Rent-A-Dress Database
1 Excel Lesson 2 Organizing the Worksheet & Formulas Microsoft Office 2010 Introductory Pasewark & Pasewark.
USING ACCESS TO SEGMENT SURVEY DATA. OPEN ACCESS You May Need to Search for the Program You May Need to Search for the Program Access is a Database Access.
ECMM6018 Enterprise Networking For Electronic Commerce Tutorial 6 CGI/Perl and databases.
Database: SQL, MySQL, LINQ and Java DB © by Pearson Education, Inc. All Rights Reserved.
Description and exemplification use of a Data Dictionary. A data dictionary is a catalogue of all data items in a system. The data dictionary stores details.
7 1 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel 7.6 Advanced Select Queries SQL provides useful functions that.
LM 5 Introduction to SQL MISM 4135 Instructor: Dr. Lei Li.
MICROSOFT ACCESS – CHAPTER 5 MICROSOFT ACCESS – CHAPTER 6 MICROSOFT ACCESS – CHAPTER 7 Sravanthi Lakkimsety Mar 14,2016.
MY SQL INTRODUCTION TO LOGIN BASIC COMMANDS OTHER COMMANDS.
VOCAB REVIEW. A field that can be computed from other fields Calculated field Click for the answer Next Question.
COM621: Advanced Interactive Web Development Lecture 11 MySQL – Data Manipulation Language.
DAY 20: ACCESS CHAPTERS 5, 6, 7 Larry Reaves October 28,
Querying in Access Objectives: Learn how to use the Access Query Design Tool manipulate data in Access: Sorting data Aggregating Data Performing Calculations.
Analyzing Table Data.
Objectives Create an action query to create a table
Lecture 12: Data Wrangling
Chapter # 7 Introduction to Structured Query Language (SQL) Part II.
Access: Queries III Participation Project
Presentation transcript:

Microsoft Access DataBase Automated Grading System MADBAGS Microsoft Access DataBase Automated Grading System

What does MADBAGS grade? Table Structure Field Names Field Types Field Sizes Table Data Field attributes Default values Required fields Validation rules Validation text Indexes Primary Keys Relations

What does MADBAGS grade? (continued) DELETE Type Table Names Where criteria Update Type Table name Col=expr List Where critera Queries SELECT Type Fields Table names plus Join clauses Where criteria Total queries

What does MADBAGS not grade? Forms Reports Data Access Pages Macros Modules

How does MADBAGS work? a Microsoft Access application Attributes are extracted from student Access databases into Microsoft Access tables: _Tables _Indexes _Relations _Fields _Queries

Example Table: Item

_Fields Table (Item table structure lines 1-6)

Example Access Query

_Queries Table

How does MADBAGS work? (continued) After attributes are extracted from both instructor’s correct database a student’s database and placed into tables The resulting tables are compared missing attributes are detected unequal attributes are found

Recording Errors Errors placed in “E R R O R S” table in student database

Screenshots

Grade Report

Class Errors Report

Grading Challenges

(After table names are recorded as incorrect) Renaming Tables (After table names are recorded as incorrect) Misnamed tables are matched to correct By comparing field counts Of non-matched tables in correct DB With extraneous tables in student DB Table names are corrected in extracted tables Fields Indexes Relations Queries

(After being recorded as incorrect) Renaming Fields (After being recorded as incorrect) Misnamed fields are matched to correct By finding minimum Levenshtein distance Of non-matched fields in correct DB With extraneous fields in student DB Levenshtein distance is the number of changes required to convert one string into another string LD(“tim”,”tom”) = LD(“tim”,”time”) = LD(“tim”,”ti”) = 1 Field names are corrected in extracted tables Indexes Relations Queries

MADBAGS grades three query types Grading Queries MADBAGS grades three query types SELECT DELETE UPDATE

Query Syntax SELECT [ DISTINCT | ALL ] col_expr1, col_expr1, ... [ FROM from_clause ] [ WHERE where_expression ] [ GROUP BY expression1, expression2, .... ] [ HAVING having_expression ] [ ORDER BY column1, column2, .... ] UPDATE table_name SET col_name1 = expr1, col_name2 = expr2, .... [ WHERE expression ] DELETE FROM table_name

Grading Queries Query clauses are separated into 3 categories Lists SELECT col_expressions GROUP BY expressions ORDER BY columns UPDATE table name UPDATE SET assignments DELETE table name Boolean expressions WHERE clauses HAVING clause Unique clauses FROM clause

Grading Queries: List Clauses Tokenize Correct/Student lists Place into 2 dictionaries (Red-Black Trees) For each list element in Correct Dictionary If Found in Student Dictionary Delete from Student Dictionary Else Generate “Missing Item” error message For each remaining list element in Student Dictionary Generate “Extraneous Item” error message

Grading Queries: Boolean Expressions Convert Correct&Student boolean expressions to RPN For each relational expression (< > =) in Correct RPN If Found in Student RPN expression Replace relational expressions in both RPNs with same bool var (e1,e2, …) Else Generate “Missing” error message Replace relational expression in Correct RPN with unique bool var For any remaining relational expressions in Student Dictionary Generate “Extraneous” error message Replace relational expression in Student RPN with unique bool var

Grading Queries: Boolean Expressions (continued) While boolean (AND/OR) expressions exist in Correct RPN expression Find any boolean expression with two bool var operands (innermost) If bool expression is found in the Student RPN expression Replace boolean expressions in both RPNs with same bool var Else Generate “Missing” error message with boolean operator Replace boolean expression in Correct RPN with unique bool var For each boolean operator in Student Dictionary Generate “Extraneous” error message with operator

How to use MADBAGS

Enter number of points deducted for 100 point grading scale Enter number of points deducted for Incorrect field names, field type, field size Mistyped data Missing queries

The amount is deducted for the following errors: Missing query fields Missing/incorrect query criteria Missing/incorrect joins

The same amount is deducted for the following errors: Missing primary keys Missing indices Missing relations Missing/incorrect validation rules and/or validation text

Options: Only Grade Tables Only grades table structure and table data Useful with first class assignments Avoids grading more advanced features (for example, queries, indexing, relations) before being covered in class Avoids “error overload”; hides details that might be more easily handled manually

Options: Deduct Extraneous Extra tables, fields, records, queries, etc. are counted against the student

Error Analysis Helps discover possible plagiarism Considers a pair of students at a time How many errors do they have in common? More errors, more evidence of plagiarism Input is minimum # errors to be included in report What percent of a student A’s errors were also made by student B?

Student Pairs Common Errors