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

Computer Science Weekly Exam Material

Week: 2

Exam Timetable:

Sunday Monday Tuesday Wednesday Thursday

AMS

AMS Material: 2021-OLH33


Sample Questions Exam

1. The bar code below is an example of ___________________.

How can we scan the bar code above?

What can be a possible content of the bar code above?

2. List some characteristics of 3D printer and 3D printing.

3. List some characteristics of an IWB.

4. List some characteristics of an 3D cutters.

5. ______________ allows recording and playback to occur at the same time.

6. List some characteristics of RAM.

Date 12-04-21 | Level L | 1


7. List some characteristics of a bar code.

8. List some characteristics of SSD.

9. List some characteristics of SSD.

10. Mention some differences between primary and secondary storage.

11. Convert the contents of the following 8-bit binary register to hexadecimal.
1 1 0 1 1 1 0 0

12. List some uses of hexadecimal in computer science.

13. The ___________________holds the address of the next instruction to be executed and gets
incremented, after the current instruction is executed.
The ____________________ holds the memory address/location of the data to be accessed.
The ____________________ contains the data being fetched or copied.
The ____________________ holds the instruction to be currently executed or decoded.
The ___________________ is used to address arrays of data and participates in: some arithmetic
operations, and in the calculation of storage addresses.

14. When an instruction is to be executed, it passes through three stages: fetch, decode, execute. Explain
what happens during these three stages.
Fetch:
Decode:
Execute:

15. A _________ is a temporary storage in a printer that holds data waiting to be printed.

16. List some characteristics of interrupts.

Date 12-04-21 | Level L | 2


17. What is the binary value of the denary number 68?

18. What is the denary value of the hexadecimal number 2B5?

19. What is the hexadecimal value of the denary number 168?

20. Describe the meaning and uses of MAC.

Date 12-04-21 | Level L | 3


Answers:
1. The bar code below is an example of _____quick response (QR code)_____.

How can we scan the bar code above?


 QR codes are scanned using a laser from a camera in a smart phone and then they are processed
by an appropriate app
 Light is reflected back; black squares reflect less light than white squares
 The reflected data is then decoded and interpreted by the app
What can be a possible content of the bar code above?
The QR code may contain a website link, an advertisement, or a phone number…

2. List some characteristics of 3D printer and 3D printing.


 A 3D is suitable to produce a prototype/model of a product.
 A digital model of a product is produced by CAD software and is passed to the 3D printer to
create a solid model of the product.
 3D printing is achieved through an additive process.
 It prints using plastic, metal, and resin.

3. List some characteristics of an IWB.


 An IWB is a large interactive display that connects to a computer.
 A projector projects the computer's desktop onto the board's surface.
 Users control the computer using a pen, finger.
 Everything written on the IWB can be saved.

4. List some characteristics of an 3D cutters.


 They use high-powered lasers controlled to cut materials for industrial purposes.
 They make precise and clean cuts.
 They recognize all sides (x-y-z directions) to make complex shapes.
 They can cut the following materials: crystal, metal, wood, and glass.

5. ______________ allows recording and playback to occur at the same time.


Answer: DVD-RAM

Date 12-04-21 | Level L | 4


6. List some characteristics of RAM.
 RAM stands for Random Access Memory.
 RAM is volatile.
 Data in RAM can be changed.

7. List some characteristics of a bar code.


 It is a set of vertical lines of different thickness.
 It includes information that doesn’t change frequently.
 The bar code usually includes a check digit.
 The bar code can be read automatically by a scanner.
 The scanner may fail to read a bar code.

8. List some characteristics of SSD.


 It has no moving parts.
 It uses flash memory.
 It transfers data at a fast rate.
 It plugs directly into a USB port.

9. List some characteristics of SSD.


 It has no moving parts.
 It uses flash memory.
 It transfers data at a fast rate.
 It plugs directly into a USB port.

10. Mention some differences between primary and secondary storage.


Primary storage Secondary storage
Directly accessible by CPU Not directly accessible by CPU
Is internal to computer Can be internal or external to the computer
Stores boot up instructions and data while being Stores files/software
processed
Has faster access speed Has a slower access speed
Has both volatile and non-volatile Is non-volatile
Examples include: RAM and ROM Examples include: Hard disk drives (HDDs) and
Solid state drives (SSDs)

Date 12-04-21 | Level L | 5


11. Convert the contents of the following 8-bit binary register to hexadecimal.
1 1 0 1 1 1 0 0
Answer: 1101 1100 = DC

12. List some uses of hexadecimal in computer science.


 To represent colors in HTML
 To represent a memory location
 To display the content of a memory location
 To represent an error message
 To represent assembly language instruction
 To represent a character's ASCII code

13. The _Program Counter (PC)_ holds the address of the next instruction to be executed and gets
incremented, after the current instruction is executed.
The _Memory Address Register (MAR)_ holds the memory address/location of the data to be accessed.
The _Memory Data Register (MDR)_ contains the data being fetched or copied.
The _Current Instruction Register (CIR)_ holds the instruction to be currently executed or decoded.
The _Index Register (IR)_ is used to address arrays of data and participates in: some arithmetic
operations, and in the calculation of storage addresses.

14. When an instruction is to be executed, it passes through three stages: fetch, decode, execute. Explain
what happens during these three stages.
Fetch: Locate and get the instruction.
Decode: Convert the instruction to a signal.
Execute: Perform the command in the instruction.

15. A _________ is a temporary storage in a printer that holds data waiting to be printed.
Answer: buffer

16. List some characteristics of interrupts.


 A signal generated by a device that needs the attention of the CPU
 Interrupts are used to attend to certain tasks.
 Interrupts are used to make sure that vital tasks are dealt with immediately.
 The interrupt will cause the OS/current process to pause.
 They have different levels of priority.

Date 12-04-21 | Level L | 6


17. What is the binary value of the denary number 68?
68 / 2 = 34 R 0
34 / 2 = 17 R 0
17 / 2 = 8 R 1
8 / 2 = 4 R 0
4 / 2 = 2 R 0
2 / 2 = 1 R 0
1 / 2 = 0 R 1

Answer: 1000100

18. What is the denary value of the hexadecimal number 2B5?


Value: 256 16 1
Hex. digits: 2 B 5
Answer: (2 × 256) + (11 × 16) + (5 × 1) = 512 + 176 + 5 = 693

19. What is the hexadecimal value of the denary number 168?


168 / 16 = 10 R 8
10 / 16 = 0 R 10
Answer: A8

20. Describe the meaning and uses of MAC.


 MAC is a unique hexadecimal code.
 It is a network address identifier
 It is a hexadecimal code
 Each network hardware that connects a computer to a network has a unique MAC
 Network adapters can be wireless
 A network adapter cannot have two MAC identifiers

Date 12-04-21 | Level L | 7

You might also like