Federal Board HSSC Examination
Computer Science Practical Model Question Paper
(Curriculum 2009 NBF)
Time allowed: 3 hours Total Marks: 50
NOTE: ATTEMPT ALL SECTIONS.
SECTION – A (Marks: 10)
Attempt any two parts.
1. Identify and name various ports and slots on the motherboard.
2. Mount and then dismount RAM on the motherboard.
3. Name the missing parts of the hard disk.
SECTION – B (Marks: 10)
Attempt any one part.
1. Create a database named “school.mdb” and perform the following tasks.
i. Create a table named “studentinfo” having following table structure. (3)
ii. Assign “Roll no” key as Primary key. (1)
iii. Fill at least 5 records. (2)
iv. Prepare a query to display all records and Name should be in ascending order.
v. Prepare a query named “senior” to display records including fields name, class,
section, rollno, status, photo and value of “status” field must be senior. (2)
1
vi. Prepare a form of above query “senior”. (2)
2. Create a database named “library.mdb” and perform the following tasks:
i. Create a table named “Book” having following structure. (3)
ii. Assign “Book_id” key as Primary key. (1)
iii. Add at least 5 records.
iv. Prepare a query to display only records including book name, writer name
andpublication name. Save the query as “q_book”. (2)
v. Prepare a query to display all records on the basis of price which is more than
Rs500. (2)
vi. Prepare a report on the basis of query named "q_book”. (2)
SECTION – C (Marks: 20)
Attempt any two questions.
i. Write a program in C++ tofind Greatest Common Divisor (GCD) of two numbers.
ii. Write a Program in C++ to check whether an integer is positive, negative or zero
using if() else structure.
iii. Write a program in C++ to sort 10 names in an alphabetic order.
Viva Voce = 05 Marks
Practical Note Book = 05 Marks