Download as pdf or txt
Download as pdf or txt
You are on page 1of 17

FINAL

Question 1. (6+4=10)
Part (a). Decimal to Binary Conversion: There are four letters A, B, C & D given
below:
A = Your Roll Number + 400
B = Your Date of Birth + 500
C = Your Month of Birth + 600
D = Last two Digits of Your Year of Birth + 700
Calculate values of these letters A, B, C & D Then Convert those Decimal Values
into Binary Numbers. (Note: Attach your CNIC or Matriculation Certificate’s image
for Date of Birth Proof.)

NAME: NOMAN KHAN ROLL NO: CS20F-212 SECTION: E


FINAL

NAME: NOMAN KHAN ROLL NO: CS20F-212 SECTION: E


FINAL

NAME: NOMAN KHAN ROLL NO: CS20F-212 SECTION: E


FINAL

Part (b). Then Apply Operators on A, B, C & D according to condition of your Roll
Number such that Students with
Odd Roll Numbers Apply “OR” Operator Even Roll Numbers Apply “AND”
Operator
For Example: If Aslam’s Roll number is 2020-CS-017 & Date of Birth is 21-12-2002,
then A=417, B=521, C=612 & D=702 and Aslam’s roll number is odd so he will
apply OR operator.

NAME: NOMAN KHAN ROLL NO: CS20F-212 SECTION: E


FINAL

Question 2. (6+4=10)
Part (a). Suppose you have a 8192MB of RAM. 4GB of RAM is required by an
Operating System, 1450 + 𝒙𝟏 MB is required to run an Antivirus Application, 1450
+ 𝒙𝟐 MB is required by a Chrome Browser, 1024 + 𝒙𝟑 MB is required by an
Accounting software & 512 + 𝒙𝟒 MB is required by a video editing software. All
these applications are running simultaneously
𝒙𝟏 = Your Roll Number
𝒙𝟐 = Your Date of Birth
𝒙𝟑 = Your Month of Birth
𝒙𝟒 = Your Year of Birth

NAME: NOMAN KHAN ROLL NO: CS20F-212 SECTION: E


FINAL
Calculate how much total RAM is required by all the applications and how much
additional RAM is required?

NAME: NOMAN KHAN ROLL NO: CS20F-212 SECTION: E


FINAL

Part (b). Then Convert these storage terms of “total Required RAM” & “Additional
Required RAM” according to condition of your roll number such that Students
with
Odd Roll numbers convert MBs into TBs
Even Roll numbers convert MBs into Bytes
For Example: If Aslam’s Roll number is 2020-CS-017 & Date of Birth is 21-12-2002,
then 𝑥1=17, 𝑥2=21, 𝑥3=12 & 𝑥4=2002 and His roll number is odd so he will
convert MBs into TBs.

NAME: NOMAN KHAN ROLL NO: CS20F-212 SECTION: E


FINAL

Question 3. (6+4=10)
Question 3. (6+4=10) Part (a). Below is the list of types of Computer Networks:
0. Personal Area Network
1. Local Area Network
2. Wireless Local Area Network
3. Campus Area Network
4. Metropolitan Area Network
5. Wide Area Network
6. System Area Network

NAME: NOMAN KHAN ROLL NO: CS20F-212 SECTION: E


FINAL
7. Wireless Personal Area Network
8. Body Area Network
9. Virtual Private Network
Select one type of Computer Network whose serial number matches with the last
digit of your roll number.
Discuss on how Large Scale that network can work and what are its limitations?
Give at least one example of that Network by yourself.

NAME: NOMAN KHAN ROLL NO: CS20F-212 SECTION: E


FINAL

Discuss on how Large Scale that network can work and what are its limitations?
Give at least one example of that Network by yourself.
Odd Roll numbers write about Client & Server Network Architecture
Even Roll numbers write about Peer-to-Peer Network Architecture
For Example: If Aslam’s Roll number is 2020-CS-017 then he will discuss 7.
Wireless Personal Area Network of Computer Networks and Aslam’s Roll number
is Odd so he will write about Client & Server Network Architecture

NAME: NOMAN KHAN ROLL NO: CS20F-212 SECTION: E


FINAL

Question 4. (6+4=10)
Part (a). Entity Relationship Diagram:
Given above is the Entity Relationship Diagram for patients came to clinic for their
regular checkups.
Write attributes only for Patients & Doctors according to the condition of your
roll number, such thaT
If last digit of your roll is below 5, then Number of Attributes = Last Digit of your
Roll Number + 7
If last digit of your roll number is 5 or above, then Number of Attributes = Last
Digit of your Roll Number + 5
Also Construct Database Model – Relational (table) with included Attributes
NAME: NOMAN KHAN ROLL NO: CS20F-212 SECTION: E
FINAL
For example: If Aslam’s Roll number is 2020-CS-017 so he will write 13 Attributes
for Patient and 13 Attributes for Doctor.

Part (b). Following are the terms of Artificial Intelligence:


0. Narrow AI
1. General AI
2. Super AI
3. Reactive Machines
4. Limited Memory
5. Theory of Mind
6. Self-Awareness
7. Reasoning Based AI
NAME: NOMAN KHAN ROLL NO: CS20F-212 SECTION: E
FINAL
8. Perception Based AI
9. Pattern Learning Based AI
Select one term of Artificial Intelligence whose Serial number matches with the
Last Digit of your Roll Number.
Discuss basic points of that term by yourself and give at least one example of that
AI term by yourself.
For Example: If Aslam’s Roll number is 2020-CS-017 so he will discuss 7. Reasoning
Based AI with its basic points and will also write one example by himself.

Question 5. (6+4=10)
Part (a). Storage Devices: There are four letters W, X, Y & Z given below:

NAME: NOMAN KHAN ROLL NO: CS20F-212 SECTION: E


FINAL
W = Your Roll Number + 30,787MB
X = Your Date of Birth + 40,687MB
Y = Your Month of Birth + 50,587MB
Z = Your Year of Birth + 60,487MB
A Blue-Ray Disc (BD) can have capacity of 50GB and its reading speed is 36MB per
second. Both figures are at its maximum rate.
Consider a Single Blue-Ray Disc (BD) and Calculate in how much time it will read
the given above data for W, X, Y & Z.
Also Calculate in how much time a single Blue-Ray Disc can be read fully of its
50GB Data.

Part (b). Following are the terms for E-Commerce:

NAME: NOMAN KHAN ROLL NO: CS20F-212 SECTION: E


FINAL
0. Business to Business
1. Business to Consumer
2. Consumer to Consumer
3. Consumer to Business
4. Business to Administration
5. Business to Government
6. Consumer to administration
7. Consumer to Government
8. Mobile Commerce
9. Facebook Commerce
Select one term of E-Commerce whose Serial number matches with the Last Digit
of your Roll Number. Discuss how that term performs and give at least two
examples of that function by yourself.
Also write that particular term’s features and benefits.
For example: If Aslam’s Roll number is 2020-CS-017, so he will discuss term 7.
Consumer to Government with two examples and will also write that particular
term features and benefits.

NAME: NOMAN KHAN ROLL NO: CS20F-212 SECTION: E


FINAL

NAME: NOMAN KHAN ROLL NO: CS20F-212 SECTION: E


FINAL

NAME: NOMAN KHAN ROLL NO: CS20F-212 SECTION: E

You might also like