Solution of Computer PBA HSSC-1 Hill House
Solution of Computer PBA HSSC-1 Hill House
st
ICS – 1 Year
Section-A
Question No. 1 [15 Marks]
A Hospital Management System has numbers of Doctors. A database table ‘Doctor
‘stores the personal information about doctor. Part of this table is given showing D_ID,
Name, Fees, Specialist, DOB.
D_ID DOB
Name Specialist Fees
ii. Suggest the name of field that should be used for Primary Key. [1]
DID
iii. Complete the table to represent the most appropriate data type for any four (04)
fieldsbasedon thedata shown. [2]
Fieldname Datatype
Fees Currency/numbers
4
COMPUTERSCIENCE
st
ICS – 1 Year
v. Fill the following Query design to display all doctors of Neurology .[4]
Table: Doctor
Sort:
Show: ✓ ✓ ✓ ✓ ✓
Criteria: Neurology
Or:
5
COMPUTERSCIENCE
st
ICS – 1 Year
1. Header
2. Labels
3. Button
6
COMPUTERSCIENCE
st
ICS – 1 Year
4. Text boxes
Section-B
Question No. 2 [10 Marks]
i. Define motherboard also write the name of components of
motherboard labeled in the following
2 diagram
[3]
1. Ports
2. CPU socket
3. PCI slots
4. Memory slots
ii. Define Hard Disk also write the name of different parts of Hard Disk labeled in
the following diagram. [ 4]
7
COMPUTERSCIENCE
st
ICS – 1 Yearh
a g
f
b
Hard Disk: [1] Hard disk contains one or more platters coated with magnetic
material on both sides.The platter attached to spindle holding them in parallel with
equal gap.All platter rotate togather at high speed.Bita are stored on the magnetic
surface in spots along concentric circle called tacks.
Hard Disk
8
COMPUTERSCIENCE
st
ICS – 1 Year
iii. Complete the following step-by-step procedure by fill in the blanks from the given list,to
share the scanner over the network. [2]
Step-1: Click on start in the bottom left corner of your screen. A popup list will appear
Step-3: Right click the scanner you want to share. A drop-down list will appear.