Sunteți pe pagina 1din 2

Microsoft Access Practice Exam 1

Instructions to download and unzip the file needed to perform this practice exam.

Go to the Practice Exam Files Download web page:


http://cs12.cs.qc.cuny.edu/practice.html
on the CSCI 012 Lab Website to follow the instructions to obtain the practice exam files.

Open the file PracticeAccess1.

1. Create a Table:

A. Create a table called Employees having the following structure:

Field Name Data Type


Social Security Number Short Text
Last Name Short Text
First Name Short Text
Date Hired Date/Time
Salary Currency

Set the field Social Security Number as the primary key.


Create the social security number input mask for the Social Security Number field.
Set the Required field property of the fields Social Security Number, Last Name and
First Name to Yes.
Set the Field Size field property of the field Social Security Number to 11.
Set the Field Size field property of the field Last Name to 50.
Set the Field Size field property of the field First Name to 50.

B. Enter the following data for the Employees table:

Social Security Number Last Name First Name Date Hired Salary
000-00-0000 “Your Last Name” “Your First Name” 7/25/1980 $87,000
111-11-1111 Adler Liz 9/25/1982 $85,000
222-22-2222 Kinzer Jessica 3/12/1984 $68,500
333-33-3333 Patterson Tom 7/8/1986 $58,000

2. Create a Form:

Use the Form Wizard and choose the Products table to create a form having the following
requirements:

• Select the ProductID, ProductName and UnitPrice fields.


• Choose the Columnar layout.
• Type Product List as the form’s title.

1
3. Create a Report:

Use the Report Wizard and choose the Books table to create a report having the following
requirements:

• Select the Author, Year, ListPrice and Publisher fields.


• Do not choose any grouping levels.
• Sort the report by 1) the Year field in descending order and 2) the ListPrice field in
ascending order.
• Choose Tabular layout and Portrait orientation.
• Type Book List as the report’s title.

4. Create Queries:

Query 1: List all of the books that are published by Prentice Hall using the Title, Year,
ListPrice, and Publisher fields of the Books table. Sort the query in descending order
according to the ListPrice field. Save this query as Prentice Hall Books.

Query 2: List all of the books where the Author begins with a G using the ISBN, Title,
Author, Year, and ListPrice fields of the Books table. Save this query as Authors
beginning with a G.

Query 3: List all of the books that are published after 1995 or whose price is greater than 25
dollars using the Title, Year, ListPrice, and Publisher fields of the Books table. Sort the
query in descending order according to the published date. Save this query as New Books.

Query 4: List all of the products whose units on order is equal to 0 and whose unit price is
between 50 and 100 dollars using the ProductName, UnitsOnOrder, and UnitPrice fields
of the Products table. Save this query as Products costing between 50 and 100.

S-ar putea să vă placă și