Practical Exam
Practical Exam
Task1:A Garment Company has 100 employees. The company would like to have
a report that contains the Name, Birthday, Salary and Gender of the employee
based on their education level (MA, BSC, Diploma and Certificate). Assume you
are working in that company’s IT Department and expected to design and develop a
database according to the requirement. The database expected to have the
following features
Employee list entry form
Query on employee with their educational level
Report of employees categorized by their education
Task 2:A University wants to have a database that contains the information
about course and student information .Student information contains the
following student (stu-id, Fname, lname, sex, age, course-code) and
that of course(course-id ,course-name).Many student take a course and
Many courses take by a student
1. Create Forms for both Student and Course information
2. Enter at least 6 records for both student and course
3. Select alls students whose age greater than 19
4. Select all female students
Task 3:Create a new database by the name Sample Database under
C:\your name
2. Create and design the following tables below under sample
database
Department Employee
Depcode
Depname Depcode
Empid
Fname
lname
Sex
Salary
Bdate
Hdate
a.
b. Assign a proper data type d. Salary data should be above
for each field >1000
c. Set Empid ias a Primary e. Sex should be either M or F
key for Employee table and f. Depname should be Audit,
Depcode for Department Finance, Planning ,
table Administration &
Personnel
1
g. Bdate and Hdate should be
Medium date format
h. Create Input Mask for
employee id or Empid
i. Create Relationship
between Department and
Employee Tables
2
Task 2.Create Data Entry Form for both tables and add the data below into
Department and Employee tables
Department table
Depcode Depname
501 Audit
502 finance
503 planning
504 Administration
505 personnel
Employee table
Decode Empid Fname Lname sex Salary Bdate Hdate
501 CVC-2016- 001 Hussen Hassen M 1220 1/2/61 2/4/92
502 CVC -2016- 002 Kamal Badiru M 1500 1/3/64 3/5/94
503 CVC -2016- 003 Kedir Balaye M 2200 1/3/65 4/5/2016
504 CVC -2016- 004 Abidela Tadese M 2300 9/6/64 4/5/96
504 CVC -2016- 005 Tsega Alamu F 2000 3/5/66 4/6/96
503 CVC -2016- 006 Jamal Kabade M 1450 7/6/63 5/6/98
504 CVC -2016- 007 Gerine Abebe F 1780 4/6/65 6/7/95
504 CVC -2016- 008 Jamila Kedir F 2565 8/7/64 2/3/99
503 CVC -2016- 009 Lemlem Chala F 3550 3/7/64 4/5/2016
504 CVC -2016- 010 Girma Chala M 1432 5/6/65 3/4/95
501 CVC -2016- 012 Rashid Ganamo M 1223 8/5/63 4/5/99
502 CVC -2016- 013 Fatuma Negaso F 3225 8/9/64 3/4/93
503 CVC -2016- 014 Chaltu Ayalew F 2345 9/5/65 7/8/98
504 CVC -2016- 015 Aster Kebede F 2335 3/5/63 5/6/98
504 CVC 2016- 016 Zemezem Tilahun F 2050 7/8/65 5/3/98
Task 4. Create Select Query
a) Select all Female employees and save as female
b) Select all employee Whose name begins with A or S and save
as A or S
c) Filter those employees who are working in depcodes 504 or
501 save as 504
d) create a select query that contains Depname, Empid, Full
name, sex, Age, Service Year, Pension As 7% of Salary
Remember that: Full name ,Age ,Service Year ,Pension are
new fields
Task5.Copy employee table and name as employee B
Update query
Page 3 of 4
a .Create an update query that increase the salary of planning
employees by 10%
Task 6:Create a Report that shows employee information by
categorize by their Sex
Page 4 of 4