0% found this document useful (0 votes)
73 views6 pages

Solution of Computer PBA HSSC-1 Hill House

Uploaded by

rovosay402
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
73 views6 pages

Solution of Computer PBA HSSC-1 Hill House

Uploaded by

rovosay402
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

COMPUTERSCIENCE

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

4025 Ali Heart 2000 10-6-1985


2017 Huma Anesthesia 1500 15-2-1987
356 Abdul General Surgery 2500 3-9-1980
Rehman
1987 Umer Neurology. 3000 18-5-1984
177 Zanaib Family Medicine 1500 8-12-1990
830 Roma Family Medicine 1500 22-4-1991
255 Iram Neurology. 3000 14-8-1993

i. State the number of records and fields in the table.


Number of Fields:5 Number of Records: 7

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

Name Short text

Specialist Short text

Fees Currency/numbers

DOB Date/ time

4
COMPUTERSCIENCE
st
ICS – 1 Year

iv. Listthe output that would be generatedbythefollowing Querydesign. [4]

Field: D_ID DOB


Name Specialist Fees

Table: Doctor Doctor Doctor Doctor Doctor


Sort:
Show: √ √ √ √
Criteria: =”Family
medicine”
Or:

v. Fill the following Query design to display all doctors of Neurology .[4]

Field: D-ID D-ID


D-ID D-ID D-ID

Table: Doctor
Sort:
Show: ✓ ✓ ✓ ✓ ✓
Criteria: Neurology
Or:

DID Name Specialist Fees


177 Zainab Family medicine 1500
830 Roma Family medicine 1500

5
COMPUTERSCIENCE
st
ICS – 1 Year

i. Label the following components of Form design: [2]

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

Label Name Of Hard Disk Label Name Of Hard Disk

(a) Tape seal (b) Actuator arm

(c) Spindle (d) Platters

(e) Read/write head (f) Actuator axix

(g) Actuator (h) Cables

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]

(Sharing, Share this scanner, scanner properties, Devices and scanners)

Step-1: Click on start in the bottom left corner of your screen. A popup list will appear

Step-2: Click on -----------------------devices and scanners-------------, from the popup list.

Step-3: Right click the scanner you want to share. A drop-down list will appear.

Step-4: Select -------------scanner properties---------------------------------- from the drop-down list.

Step-5: Click on the -------sharing------------------------------------ tab.

Step-6: Select the ------share this scanner------------------------------------------ check box.

You might also like