IBA PUBLIC SCHOOL
SUKKUR AKU-EB SESSION
2024-25
CLASS XI
Practical Notebook
Page 1 of 19
IBA-PUBLIC SCHOOL SUKKUR
CERTIFICATE
It is certified that Mr./Miss_____________________________________
Roll No. _________ Class________ Section___________ is a bonafide
student of IBA-PUBLIC SCHOOL SUKKUR.
He/ She has completed the Computer Science Practical for the Year
20_______.
According to the syllabus of the AKU-EB Board of Intermediate and
Secondary Education.
Signature of Teacher Signature of the Head
Teacher
Dated___/___/___ Dated___/___/___
Page 2 of 19
INDEX
S. SLO No. Practical Activity Date Teacher’s
No. Signature
1. 8.2.1 Creating different tables in
design view and wizard.
2. 8.2.2 Assign appropriate data types
to the fields in a table.
3. 8.2.6 Sorting records in a table.
4. 8.2.4 Create relationship among
tables using primary and
foreign key.
5. 8.3.1; 8.3.2 Create simple forms using
wizards and design view.
6. 8.2.5 Navigating through records in
a form.
7. 8.3.6; Using forms to add, delete or
8.3.7; 8.3.8 modify a record.
8. 8.4.1; Create simple queries (select,
8.4.2; update, delete and append)
8.4.3; using wizard and design view.
8.4.4; 8.4.5
9. 8.5.1; 8.5.2 Write simple SQL (DDL and
DML) queries.
10. 8.5.1 Create reports using wizard.
11. 8.5.4 View and print reports.
Page 3 of 19
Date: _____________________
Practical No. 1
SLO#8.2.1: Creating different tables in design view and wizard.
Objective: To create and customize database tables using design view and wizard.
Procedure:
Open the database software and create a new database.
Use the Design View to define table fields and set their properties.
Save the table and give it a meaningful name.
Use the Table Wizard to create another table:
o Follow the guided steps provided by the wizard.
o Select the fields to include in the table.
o Set a primary key if prompted.
Save the second table created using the wizard.
Result: Tables were successfully created in both design view and wizard.
Page 4 of 19
Date: _____________________
Practical No. 2
SLO#8.2.2: Assign appropriate data types to the fields in a table.
Objective: To learn how to assign suitable data types to table fields.
Procedure:
Open the database software and create a table.
Switch to Design View to modify the table structure.
Assign appropriate data types to each field:
o Use Text for fields like First Name and Last Name.
o Use Number for fields like Contact Number.
o Use Date/Time for fields like DOB.
Save the table after making the changes.
Result: Data types were successfully assigned to all fields, ensuring proper data storage
and validation.
Page 5 of 19
Date: _____________________
Practical No. 3
SLO#8.2.6: Sorting records in a table.
Objective: To sort records in ascending or descending order based on a field.
Procedure:
Open the database software and create a new table.
Define fields for the table (e.g., FirstName, LastName, DOB) and set appropriate data
types.
Fill the table with sample records.
In the Home tab, go to the Sort & Filter group.
Select the Ascending to sort the records A–Z or lowest to highest for Grade.
Page 6 of 19
Select the Descending to sort the records Z–A or highest to lowest for Grade.
Date: _____________________
Page 7 of 19
Practical No. 4
SLO#8.2.4: Create relationship among tables using primary and foreign key.
Objective: To create relationships between tables using primary and foreign keys to ensure
data integrity.
Procedure:
Open the database software and create two or more related tables. For example, one
table for Students and another for Courses.
In the Students table, designate the StudentID field as the Primary Key. This
ensures that each student has a unique identifier.
In the Courses table, create a field named StudentID that will be used as the Foreign
Key to link to the Students table.
In the Database Tools tab, select Relationships
In the Relationships window, add both the Students and the Courses table by
dragging them into the middle empty area to establish the relationship.
In the Relationship Design tab, in the Tools group, click Edit Relationships.
A popup will appear
Click Create New.
Another popup will appear
.
For Left Table Name, select the Students table and for Right Table Name, select the
Courses table.
For the Left Column Name, select the StudentID field and for the Right Column Name,
also select the StudentID field.
Click Ok to establish the relationship.
Page 8 of 19
Result: The relationship was successfully created between the Students and Courses tables
using the primary and foreign keys.
Page 9 of 19
Date: _____________________
Practical No. 5
SLO#8.3.1; 8.3.2: Create simple forms using wizards and design view.
Objective: To create and customize simple forms using the wizard and design view in
database software.
Procedure for Creating forms using form wizards:
Open the database software and select the table for which you want to create a form
(e.g., Students).
Create a Form Using the Wizard:
o Go to the Create tab in the toolbar.
o In the Forms group, select Form Wizard.
o In the wizard:
Choose the table or query (e.g., Students) as the data source.
Select the fields to include in the form by clicking the > button.
o Click Next, select a layout (e.g., Columnar), and then click Finish.
Page 10 of 19
Procedure for Creating forms using form design:
Open the database software and select the table for which you want to create a form
(e.g., Students).
Create a Form Using Design Form:
o Go to the Create tab in the toolbar.
o Select Form Design in the Forms group.
o Use the Add Existing Fields option to drag fields from the selected table onto
the blank form.
o Rearrange the fields for better readability and add a title using the Label tool.
Page 11 of 19
Date: _____________________
Practical No. 6
SLO#8.2.5: Navigating through records in a form.
Objective: To learn how to navigate through records using a form created in the database.
Procedure:
Open the database software and ensure a form (e.g., StudentForm) is already created.
Open the form in Form View by double-clicking it in the Navigation Pane.
Use the Navigation Bar at the bottom of the form to browse through records:
o Click the Next Record button (> icon) to move to the next record.
o Click the Previous Record button (< icon) to move to the previous record.
o Use the First Record (|< icon) and Last Record (>| icon) buttons to jump to
the beginning or end of the dataset.
Test the navigation by adding a new record using the New Record button (>* icon).
o Enter sample data and save the record.
Observation: Screenshots will be added to illustrate the navigation process and the addition
of a new record.
Result: Successfully navigated through records and added a new record using the form.
Page 12 of 19
Date: _____________________
Practical No. 7
SLO#8.3.6; 8.3.7; 8.3.8: Using forms to add, delete or modify a record.
Objective: To learn how to use forms to add, delete, and modify records in a database.
Procedure:
Open the database software and select the form you created earlier (e.g.,
StudentForm).
Add a New Record:
o Open the form in Form View.
o Click the New Record button (>* icon) in the Navigation Bar.
o Fill in the required fields (e.g., FirstName: Martin, LastName: Lee, DOB:
12/25/2006) and hit enter to save the new record.
Figure 2: Output
Figure 1:1:Input
Figure Input
Modify an Existing Record:
o Navigate to the desired record using the Navigation Bar.
o Update the fields with new values (e.g., change LastName from “Doe” to
“Smith”).
o Save the changes.
Delete a Record:
o Navigate to the record you want to delete.
o Drop the Drop-down Manu of Delete and press the Delete Record button
(found in the Records group on the toolbar).
Result: Successfully added, modified, and deleted records using the form.
Page 13 of 19
Page 14 of 19
Date: _____________________
Practical No. 8
SLO#8.4.1; 8.4.2; 8.4.3; 8.4.4; 8.4.5: Create simple queries (select, update, delete and append)
using wizard and design view.
IBA- PUBLIC SCHOOL SUKKUR
Senior Section
Subject: Computer– XI
Date: _____________________
Page 15 of 19
Practical No. 8
SLO#8.5.1;8.5.2: Write simple SQL (DDL and DML) queries
IBA- PUBLIC SCHOOL SUKKUR
Senior Section
Subject: Computer– XI
Date: _____________________
Practical No. 8
SLO#8.5.1: Create reports using wizards.
Page 16 of 19
IBA- PUBLIC SCHOOL SUKKUR
Senior Section
Subject: Computer– XI
Date: _____________________
Practical No. 8
SLO#8.5.4: View and print reports.
Page 17 of 19
Page 18 of 19
Page 19 of 19