Transcript Click ok

Which Two of These Statements About Referential
Integrity Are True?
‫أى من الجملتين األتيتين عن التكامل المرجعى صواب‬
If a Record in a Parent Table Has a Related Child Record ,
Referential Integrity Prevents You From Deleting the Parent Record .
‫إذا كان السجل فى الجدول الرئيسى مرتبط بسجل بجدول فرعى فإن فرض التكامل يمنعك من حذف السجل‬
‫الرئيسى‬
In Access , Referential Integrity Is Enforced by Typing in a Rule .
You Can Set Rules about referential integrity in a one table database .
Referential Integrity ensures that records in linked tables record are
automatically updated when changes are made .
A child record cannot be entered unless it has a parent in the
database if Referential Integrity is used .
1
‫السجل الفرعى ال يمكنك اإلضافة فيه إال إذا كان السجل موجود فى الجدول الرئيسى إذا كان فرض التكامل المرجعى‬
‫يستعمل‬
Log on the database named Car Hire with the username
icoffey and password ken*72
ken*72 ‫ وكلمة سر‬icoffey ‫ وإستخدم إسم المستخدم‬Car Hire ‫إفتح قاعدة البيانات المسماة‬
Select open an existing file → select
c:\windows\desktop\car hire → ok → Type icoffey in the
name box → ken*72 in the password box
2
Create a new blank database .
‫إنشئ قاعدة بيانات جديدة فارغة‬
File menu-------→ Select database → ok
3
Use the Microsoft access help to find information about decimal number
‫إستخدم مساعد األكسيس إليجاد معلومات عن األرقام العشرية‬
Help → Microsoft access help → type decimal numbers →
4
search
Hide the formatting ( form / report ) toolbar .
formatting form / report ‫أخف شريط األدوات‬
View menu-----Select Toolbars----- click formatting
(form/Report)
OR Right click on toolbar → Click formatting
(form/Report)
5
Save the above table and give it the name Sales .
sales ‫إحفظ هذا الجدول و سمه بإسم‬
File menu----Choose Save------Type Sales------Click OK
6
Enter the field name Contact Name into the empty row.When you
Have finished,move the insertion point to the Data Type column
‫ عندما تنتهى‬data type ‫ فى الصف الفرغ ثم تحرك لعمود ال‬contact name ‫أدخل حقال إسمة‬
Type Contact Name → Press Tab
7
Change the entry in the Surname field of this record to Jack.
Move to the next field in this record when you have finished
‫ ثم تحرك للحقل التالى فى نفس السجل‬Jack ‫عدل محتوى حقل اللقب لكلمة‬
Select Dawson------Type Jack------Press Tab
8
Navigate quickly to the last record in this table.
‫إنتقل بسرعة للسجل األخير فى هذا الجدول‬
Click on the button
9
10
Save and close this table
‫إحفظ و إغلق الجدول‬
File menu------Choose Save----- File menu------Choose close
11
The surname field will be used in a lot of searches ; so we should
index it.Create a suitable index for this field .
‫ يستخدم كثيرا فى عملية البحث إنشئ الفهرسة المالئمة لهذا الحقل‬surname‫حقل ال‬
In the indexed box → choose yes (duplicates ok)
12
Specify that dates of birth in this table display in the format
8 December 2007 .
12 November 2000 ‫خصص حقل تاريخ الميالد ليظهر باشكل التالى‬
Put the insertion point in the Date of birth field------in the
format box-------Select long date
13
Which one of the following statements setting the field size property
in a table are true .
‫أى من العبارات التالية عن تعديل حجم الخط فى هذا الجدول صحيح‬
 If u change the surname
field size property to 10,
exiting data will not change.

‫ ال يحدث تغيير فى‬15 ‫إذا تم تغيير حجم الحقل إلى‬
‫البيانات الحالية‬
 If u decrease the surname
field size ; data will not be
lost.
 You cannot change the
surname field size because
the table contains data .
 If you increase the field size
for surname field .the data
will be processed faster .
14
Enter a validation rule to ensure that entries into this field
must be numbers greater than 100 .
Press Enter when you have finished .
100 ‫إدخل قاعدة التحقق من الصحة لتضمن أن المدخل فى هذا الحقل أرقام أكبر من‬
In the validation Rule box type >100 → Press Enter
15
Each Author has written a
number of books .
Set up a one-to-many
relationship
between the Book
and Author tables .
‫كل مؤلف كتب عدد من الكتب إنشئ‬
‫عالقة رأس بأطراف بين جدول‬
author ‫ وجدول‬book‫ال‬
The answer:
Click on the Relationships tool
in
the database toolbar → click on the
Author ID in the author table drag and
drop it to the Author ID in the book
table----Click Create
16
The payment table contains billing details for each patient .
Edit the relationalship between the payment and patient
tables to prevent a patient who has made a payment from
being deleted .
‫ لمنع الحذف من الجدول ال‬patient ‫ وجدول‬payment ‫قم بتحرير العالقة بين جدولى‬
patient
Double click on the line between Patient table and Payment
table ------ select Edit Relationship ….. Check the Enforce
Referential Integrity → ok
17
Access the option that would enable you to create a new form
without the help of a wizard
‫قم بعرض الوظيفة التى تتيح إنشاء نموذج بدون إستخدام المعالج‬
Select Forms from the objects pane → Double Click on the
Create form in Design view
18
The doctor in record 4 is no longer available.
Delete this record from the database.
‫ أصبح غير متاح قم بحذف هذا السجل من قاعدة البيانات‬4 ‫الدكتور الموجود فى السجل‬
Edit menu------Choose Delete Record-----Click Yes
OR:Click on this icon
-----Click Yes
19
Alter the header text to Patient details and press Enter key when you
have finished
‫ عند‬enter‫ ثم قم بالضغط على‬patient details ‫قم بتعديل النص الموجود فى رأس الصفحة إلى كلمة‬
‫اإلنتهاء‬
Click on the Patient box -----Type details → Press Enter
20
Use the search tools provided by Access to find the book with the
Unique(ISBN) code 3546-1236-7
3546-1236-7 ‫إستخدم أداة البحث إليجاد الكتب التى كودها هو‬
Edit menu→ Choose Find → Type 3546-1236-7 in find
what box → Click Find next button
21
Use Filter By Selection to filter the records of all employees whose
First Name begins with S.
s‫إستخدم التصفية بالتحديد لتصفية بيانات أسماء الموظفين التى تبدأ بحرف ال‬
In the First Name field----- select the S letter from the
word seleman→ Click on this icon
22
Save the above query and give it name Doctors
Doctors ‫قم بحفظ اإلستعالم الموجود أعلى الشاشة بإسم‬
File menu →Choose Save---- Type Doctors → ok
23
Type HERE >=20/7/2005--- Press Enter
Find all payment made on or after 20/7/2005
Press Enter when you have finished .
24
20/07/2005 ‫إبحث عن كل المدفوعات فى أو بعد‬
We no longer need the query, Books by Americans.
Delete this query now.
‫ قم بحذفة األن‬Books by Americans ‫نحن ال نحتاج اإلستعالم‬
Click on the Books by Americans → Edit menu---select Delete → Click yes
25
Ans:Click HERE ---Select Birth Date
Add the appropriate field from the Employee table to the
3rd Column of the grid so that this query will be able to
sort Employee Records according to their age
‫ إلى ثالث عمود من التخطيط و‬Employee‫قم بإضافة الحقل المناسب من جدول ال‬
26
‫الذى يتيح لك ترتيب سجالت الموظفين تبعا ألعمارهم‬
Change this query so that it will just find books by Spanish authors,
And then run the query
‫قم بتغيير اإلستعالم ليوجد فقط الكتب المؤلفة بواسطة المؤلفين األسبان ثم شغل اإلستعالم‬
Click on this icon
------ use the back space to delete
the word Russian and or
icon
------ Click on this
27
Sort this query so that the most recent payments display at the
Top of the datasheet.
‫قم بترتيب هذا اإلستعالم بحيث أن أغلب المدفوعات الحديثة تظهر أعلى اإلستعالم‬
Put the insertion point in the payment date field → Click on
28
This icon
A wizard is being used to create a new report.Base this report on
The Extract table.and add all the fields from the table to the report’s
Design.Click the Next button when you finish
‫ ثم قم بإضافة كل الحقول من الجدول ثم إضغط التالى‬extract‫قم بإنشاء هذا التقرير تبعا لجدول‬
From the Tables/Queries drop down list select Table:Extract
29
→ Click on this icon
------- Click Next
Group the patients in this report by Patients’ surname with
First name displayed in alphabetical order.
‫ مرتب أبجديا ثم إضغط‬title ‫ ثم قم بإظهار حقل‬surname ‫قم بعمل مستوى تجميع تبعا إلى حقل‬
finish
Select Surname----Click on this icon
------Click Next-----from the first drop down list Select First Name-----Click Finish
30
Change the orientation of the print output so that pages will be
printed wider than they are tall.
‫قم بتغيير إتجاه طباعة الصفحات لكى تطبع عرضها أكبر من طولها‬
File menu-----Choose Page setup----Select the Page tab----Select the Landscape------Click Ok
31
Print pages 4 to 6 in this form, using the current print
settings.
‫ بإستخدام اإلعدادات الحالية‬6 ‫ إلى‬4 ‫قم بطباعة الصفحات من‬
File menu----Choose Print---- Select Pages -----Type 4 in the first
box -----Type 6 in the second box ---Click ok.
32
Modify the printer settings to print 2 copies of this report.
‫عدل إعدادات عملية الطباعة لتشمل على طباعة نسختين من هذا التقرير‬
File menu----Choose Print-----in number of copies use the
arrows to select 2-----Click Ok
33
How many fields would be necessary to store
this record and enable to maximum flexibility for
data retrieval ?
‫كم عدد الحقول الالزمة لتخزين هذا السجل بإستخدام المرونة القصوى‬
Mr Ahmed Sallam , 12 haron street , El Giza A135R
Type 6
34
Click HERE
Which of theses fields would be best suited to use as the
Primary key for this table?
‫أى من هذه الحقول التالية األكثر مالئمة ليكون مفتاح أساسى‬
35
Create a database using the option that will enable you to
build your database using pre-set options.
‫إنشئ قاعدة بيانات مستخدما الوظيفة التى تتيح لك إنشاء قاعدة معدة مسبقا‬
Select Access database wizards, pages, and projects---Click Ok
36
Switch to Design view.
‫إنتقل إلى العرض التصميمى‬
View menu-----Choose Design View
OR:Click on this icon
37
Create a new table in Design view.
‫إنشئ جدول جديد بطريقة عرض التصميم‬
Double click on the Create table in Design view
38
Navigate directly to the first record in this table.
‫قم بالتنقل إلى السجل األول داخل هذا الجدول الذى تراه‬
Click on this button
39
A business,Coffee Galore,has moved premises.
Please delete the selected value, Camberwell Lane, from this
record.
‫قم بحذف القيمة المحددة‬comber well lane ‫من هذا السجل‬
Edit menu----Choose Delete
40
Make the most appropriate field the Primary key for this
table.
‫إجعل الحقل األكثر مالئمة مفتاحا أساسيا‬
Click Here ------ Click on this icon
41
Using Click-and-drag, Move the selected column to between
the Gender and the Date of birth fields.
‫بإستخدم وظيفة السحب و اإلفالت قم بتحريك الحقل المحدد ليكون بين‬
Gender , date of birth
Click on the header of the selected field and drag it t between
the Date of birth and Gender.
42
Delete the One-to-many relationship between the Patient
and Payment tables.
patient and payment ‫قم بحذف العالقة بين الجدولين‬
Click here------Then Edit menu-------Select Delete---Click Yes
43
Delete the text box Surname from this form.
Save the changes without closing the form.
‫ من هذا النموذج ثم إحفظ هذه التغييرات دون غلق النموذج‬class ‫قم بحذف صندوق النص‬
Click HERE-----Edit menu------Choose Delete-----File menu--Choose Save
44
Navigate to the next record in this form.
‫إنتقل مباشرة للسجل التالى فى هذا النموذج‬
Click on this button
45
Make the Doctor and Patient tables the record source for
this query.
Close the Show Table dialog box When you finish
‫ مصدر لك فى اإلستعالم ثم إغلق المربع الحوارى الخاص‬stock,customer ‫إجعل جدول‬
‫بالجدول‬
Click add ---- Select Patient----Click Add------Click Close.
46
This query shows all patients born before 1962.
Change it so that the date of birth will not be visible in the
query results.
‫ قم بتغيير اإلستعالم بحيث يكون حقل تاريخ‬1962 ‫هذا اإلستعالم يوضح المرضى المولودين قبل عام‬
‫الميالد غير مرئى‬
Click on the header of Date Of Birth field→ Choose Hide
Column
47
Which two of the following statements about the layout of data
fields and headers are true ?
‫قم بإختيار إجابتين صحيحتين عن تخطيط حقول البيانات‬
 To move a field and its heading, you
just need to move the Page Header.
 You can change the layout of a report in
print preview.
 You must use Design View to change the
layout of a report.
 The order in which you add field in the Wizard sets how they display in
the report.
‫ أنت ملزم بإستخدام عرض التصميم إلجراء أى تعديل فى تخطيط التقرير‬‫ الترتيب الذى تتم به إضافة الحقول ( فى طريقة المعالج ) يحدد كيف تظهر هذه الحقول‬-2
‫فى التقرير‬
48
Print 1 copy of the first 5 records in this table using the default
printer.
‫إطبع نسخة واحدة من أول خمسة سجالت فى هذا الجدول مستخدما اإلعدادات‬
‫الحالية‬
Select the first 5 records-------File → print →In Print
Range------- Check Selected Record -------Click ok
49
Which data type is most appropriate for a postal code field
such as A258X ?
M54WT ‫أى نوع بيانات أكثر مالئمة لحقل كود بريدى مثل‬
Number
Auto Number
Text
Date / time
50
Which two of this statement about indexes are true ?
‫قم بإختيار إجابتين صحيحتين عن الفهرسة‬
An index is used to list all the fields in a data base
You can index any field no matter what its data type is
You should index a field that is frequently sorted
If an index is used it slows down data base searches .
Indexing is especially useful when working with large
tables
) ‫ينبغى فهرسة الحقل الذى سيفرز كثيرا ( مرارا‬
‫عملية الفهرسة مفيدة خاصة عند التعاملمع الجدول الضخمة‬
51
Which two of these statement about relational data base are
true ?
‫أى الجملتين صحيحتين عن قواعد البيانات المحتوية عى عالقات‬
A non-relational database can be searched more
efficiently than a relational database.
A relational database is easier to maintain than
a
non-relational one.
‫قواعد البيانات المحتوية على عالقات أسهل فى تنظيمها من تلك التى التتضمن عالقات‬
.
Smaller linked tables are harder to manage than one
big one.
A relational database is one that contains linked
tables.
. ‫قواعد البيانات المشتملة على عالقات هى تلك التى تتضمن جداول مترابطة‬
52
Which one of these criteria will find employees born before
31/12/70 ?
‫إسحب أنسب معيار لمكان المعيار المناسب وذلك إليجاد الموطفين الذين و لدوا‬
31/12/1970 ‫قبل‬
‫ووضعها فى المعيار‬
Drag this criteria to HERE
1. < 31 Dec 1970.
2. >= Dec 31 1970.
3. > 31 Dec 1970.
53
4. <= Dec 31 1970.
A Filter by Selection has been applied to this table.
Remove the filter.
‫ أزل هذه التصفية‬..... ‫تمت عملية التصفية بالتحديد‬
Click on this icon
54
Use Filter By Selection to filter the records of all employees who
Have not taken any days sick leave.
‫إستخدم خاصية التصفية فى عمل تصفية للبيانات بحيث‬
‫يعرض الموظفين الذين لم يإخذوا أجازة مرضية‬
In the Days Sick field----- select 0 → Click on this icon
55
Save this database as HOSPITAL into the My Documents
folder.
My Documents ‫فى المجلد‬HOSPITAL ‫إحفظ قاعدة البيانات باألسم‬
Select My Documents-----Type HOSPITAL in the file name-----Press Create.
56
Close the HOSPITAL database without closing Microsoft
Access.
HOSPITAL ‫بدون غلق األكسس أغلق قاعدة البيانات‬
File menu-----Choose Close.
57
Add an empty field above the First Name field in this table.
‫إدرج صف خالى فوق حقل األسم األول فى هذا الجدول‬
Click here-----Insert menu -----Select rows.
58
Navigate directly to record 25 in this table.
‫توجه مباشرة للسجل الخامس و العشرين‬
Put the cursor in this box
-----Select 1 ---Type 25----Press Enter
59
Enter a validation rule to ensure entries into this field must be
either the words Cash or Credit.
Press Enter when you finished.
Credit - ‫إدخل قاعدة تحقق لتأكيد أن مدخالت هذا الحقل تكون فقط أيا من الكلمتين‬
enter ‫ثم إضغط‬Cash ‫أو‬
Put the cursor in the validation rule-----Type Cash or Credit
Press Enter.
60
Delete both the label and text box Surname from this form.
Save the changes without closing the form.
‫ثم إحفظ هذا التغيير بدون غلق النموذج‬Surname ‫إحذف كال من عنوان وصندوق نص ال‬
Click Here-----Edit menu-----Choose Delete----File menu--Choose Save
61
This query has been designed to find all patients who have
made payments since January 1, 2003.
Run this query now.
‫ شغل هذا اإلستعالم‬1/1/2003 ‫هذا اإلستعالم تم تصميمة إليجاد المرضى الذين دفعوا مدفوعات منذ‬
Click on this icon
62
Choose the correct statement from the following:
 Changing the field size property for the Surname field to 7
won’t change the existing data.
 Data will be processed faster if you increase the field size for
the Surname field.
 You cannot change the Surname field size because data has
already been entered in the table.
 Changing the Surname field size property to 40 will not
change existing data.
63
One extract from each book is stored in the extract table.
Set up a one-to-one relationship between Book and Extract tables
The answer:
Click on the Relationships tool
→ click on the Book ID in
the Extract table drag and drop it to the Book ID in the Book
table----Click Create
64
Find books by all authors who are not Russian. Press Enter
When you finished

Type here <> Russian → Press Enter
65
Sort these records so that Doctors with surnames beginning
with A would display at the top of the datasheet.
‫ فى قائمة‬A ‫قم بفرز هذه السجالت بحيث يظهر الكتاب اللذين تبدأ ألقابهم بحرف‬
‫الجدول‬
Click in the Surname field------Click on this icon
66
Delete the control for the Date from this report.
‫إحذف تحكم التاريخ من هذا التقرير‬
Select
------Edit menu--------Delete
67
Open the Patient report in Print Preview.
Select the payments by patient → Click on Preview
Or click on payments by patient----- File menu------- Print
Preview
68
Carry out the necessary steps to ensure that you can enter halfdays in the Days leave field.
days leave ‫قم بالخطوات الآلزمة للتمكن من إدخال أنصاف األيام فى حقل ال‬
Put the Cursor HERE ------- In the field
size box use the drop down list → Select single
69
Access the option that would enable you to create a new query
without the help of the Simple Query Wizard.
‫إستعرض الخاصية التى ستمكنك من إنشاء إستعالم جديد بدون إستخدام المعالج‬
Select Queries from the objects pane → double click on
Create query in design view
70
Database
Encyclopedia
Sales Catalogue
‫دليل مبيعات‬
Sales Catalogue
Not a Database
‫موسوعة‬
Encyclopedia
Student register
Novel
‫سج ّل طالب‬
Customer Records
Novel
Student register
‫رواية‬
Shopping list
‫سجالت زبون‬
Shopping list
‫قائمة تسويق‬
Customer Records
71
Which two of the following statements are true?
<100 will find values that are greater than 100.
>= 10 will find values that are greater than or equal to 10
>=Sep 30 1950 will find dates that are equal to or before Sep 30th 1950
<=Oct 31 1956 will find dates that are equal to or after Oct
31th 1956
<Jan 1 1965 And > Dec 31 1963 will find all dates in 1964
72
Select the data type that will automatically assign a unique
Customer ID number to each new Customer.
Move the next cell when you have finished
‫قم بإختيار نوع البيانات الذى يجعل الحقل بعبأ تلقائيا بالرقم التعريفى الفريد للعميل ثم‬
‫قم بالتحريك إلى الخلية التالية عندما تنتهى‬
In the data type column → use the drop down list and
select Auto number → Press tab
73
The Product code field contains a unique reference for each
Product.This field will be used in a lot of searches, so we should
index it.Create a suitable index for this field.
‫ فهرس هذا الحقل الفهرسة‬. ‫ يتضمن مرجع فريد لكل منتج‬product code ‫حقل‬
‫المناسبة‬
Put the cursor in the indexed box → from the drop down
list select yes (No Duplicates)
74
Create a new query using the Simple Query Wizard.
‫إنشاء إستعالم جديد مستخدما المعالج‬
 Select Queries from the objects pane → Double click
on Create Query by using Wizard
75
Which one of the following is not a database?
‫أى من هذه العبارات ال يعتبر قاعدة بيانات‬
A sales Catalogue ‫دليل مبيعات‬
A newsletter
‫صحيفة أونشرة تحمل أخبار و معلومات‬
A Price list ‫قائمة أسعار‬
A telephone directory ‫دليل هاتف‬
76
Enter a record for a full-time student named Brian Blaire into
This table.Move to the next row in this table when you have
finished
Click on this icon
-------Type Brian in the fname field----Press Tab
----Type Blaire in the lname field-----Press Tab----Type full-time
in status Field-----Click on this icon
77
Enter the name Mary into the First Name Field. Move to the next
field when you have finished
Type Mary-----Press Tab
78
Each patient has been
billed a number of
times.Set up a one-toMany relationship
between the patient and
payment tables.
The answer:
Click on the Relationships tool → ---Click on the Patient ID in Patient
Table drag and drop it to the Patient
ID in Payment Table
----Click Create
79
You need to create a new form.Launch the Form Wizard now.
 Select Forms from the objects pane → Double click
on Create Form by using Wizard
80
Use the search tools provided by Access to find a patient with the
Date of birth 30/06/1963
Click in any cell in the date of birth field----Edit menu→
Choose Find → Type 30/06/1963 in find what box → Click
81
Find next button
Use Filter By Selection to filter the records of all employees who
Were born in 1956
In the Date of Birth field----- select the 56 --- Click on this
icon
82
Which two of the following are databases?
Student register ‫سج ّل طالب‬
Bank Statement‫كشف الحساب المصرفي‬
Mail Order catalogue ‫قائمة بريد‬
Newsletter ‫صحيفة‬
Novel
‫رواية‬
83