0% found this document useful (0 votes)
35 views2 pages

BT3 Sample Access Exam1

Uploaded by

Lukundo Sichalwe
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views2 pages

BT3 Sample Access Exam1

Uploaded by

Lukundo Sichalwe
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

BT :‫الصــــــف‬ ‫ تكنولوجيا المعلومات‬: ‫االختصاص‬ Access : ‫المــــــادة‬

2022/2023: ‫العام الدراسي‬ ‫نموذج امتحان الفصل االول‬ ‫ساعة ونصف‬: ‫المـــــــــدة‬

Exercise 1 (8pts)
1-Which of the following is not a type of Microsoft access database object?
a- Tables
b- queries
c- Worksheet

2- Is not a valid data type in Access:


a- Auto number
b- Memo
c- Picture

3- This property is used only for the data type auto number:
a- Indexed
b- New values
c- Validation rule

4- Is used to store data:


a- Table
b- Form
c- Query

5- The default data type for a field is:


a- Varchar
b- Text
c- AutoNumber

6- Row in an Access table is also known as:


a- Record
b- Data
c- Field

7- The "design view" mode in a table is used to:


a- Create the fields by defining their names and types.
b- Sort the records.
c- Modify the contents of the fields.

8- Which of the following statement is true?


a- A Foreign key is always duplicated
b- A primary key can be duplicate.
c- A primary key is always unique
Exercise 2 (12pts)
Giving the following tables :
1- Patient (Patient_Number, Name, City, Age)
2- Doctor (Doctor_Number, Name, Speciality)
3- Visit (Visit_Number, Date, Doctor_Number, Patient_Number)
4- Treatment (Visit_Number, Drug_Number, Dose)
5- Drug (Drug_Number, Designation)
The data constraints:
a- The field “Dose” in the table “Treatment” is an integer number between 1 and 4.
b- The field “Designation” in the table “Drug” is an alphabetical field consists of 15 letters maximum.
This filed can’t be empty.
c- The field “Visit_Number” in the table “Treatment” is an Auto number field that generates random numbers.
d- The field “Age” in the table “Patient” is an integer field that should be greater than 18(>18) and its default value is 18
Questions
1- Indicate the primary key of each table(3pts)
Table Primary Key
Patient
Doctor
Visit
Treatment
Drug
2- Draw the relationship chart between tables and show the cardinalities. (4pts)

3-update the necessary properties (field name, data type, field properties) for all fields mentioned in a, b,c,d(8pts)
Field Name Data Type Field Properties

a)

b)

c)

d)

You might also like