wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

CE201_SU24_FE

Total questions: 50

Worksheet time: 4hrs 10mins

Name
Class
Date
1.

Which of the following components was used in the first ENIAC computer?

a)

Bipolar transistors

b)

Field transistors

c)

Vacumn tubes

d)

Semiconductor lcs

2.

Which of the following statements is true for Von Neuman architecture?

a)

Shared bus between the program memory and data memory

b)

Separate bus between the program memory and data memory

c)

External bus for program memory and data memory

d)

External bus for data memory only

3.

Which of the following components does not belong to central?

a)

System interconnection

b)

ALU

c)

Registers

d)

Control Unit

e)

CPU interconnection

4.

Central Processing Unit (CPU) of IAS computer consists of ...

a)

Main memory and ALU

b)

ALU and Control Unit (CU)

c)

CU and IO Module

d)

ALU and IO Module

5.

The first generation of computers used ... for digital logic elements and memory

a)

Transistors

b)

Interated circuits

c)

Large-scale integration

d)

Vacumn Tubes

6.

In the computer, what categories do external devices include? (Choose 3 correct answers)

a)

Human readable

b)

Communication

c)

Data Conversion

d)

Machine readable

7.

Which of the folllowing determines the Bus Width?

a)

The clock speed of the CPU

b)

The number of cores in the processor

c)

The size of the motherboard

d)

The number of parallel lines in the data bus

e)

Number of components connected to bus

8.

In the CPU, what is the functionality of the control unit?

a)

To decode program instructions

b)

To control the sequence of operations

c)

To store program instruction

d)

To transfer data to primary storage

9.

The basic components of a computer are:

a)

Main memory, CPU, I/O modules and system interconnection

b)

Main memory, CPU, I/O modules and Storage device

c)

Main memory, CPU, Peripherals and Storage device

d)

Main memory, CPU, I/O modules and Storage device

10.

What is the correct order of memory access speed from fastest to lowest?

a)

Registers > Cache > RAM > SSD

b)

Cache > Registers > RAM > SSD

c)

Registers > Cache > SSD > RAM

d)

Cache > Registers > SSD > RAM

e)

All of the mentioned are wrong

11.

What is the cache memory level that is integrated into the processor chip and has the lowest latency?

a)

L1 cache

b)

L2 cache

c)

L3 cache

d)

L4 cache

12.

Which of the following components of CPU is responsible to direct the system to execute instructions?

a)

ALU

b)

Control Unit

c)

Registers

d)

RAM

13.

Consider a machine with a byte addressable main memory of 2^16 bytes and block size of 8 bytes. Assume that a direct mapped cache consisting of 32 lines is used with this machine. How many bits are there in the line field of the cache?

a)

3

b)

4

c)

5

d)

6

e)

7

14.

For reads to and writes from main memory, ... translates each virtual address into a physical address in main memory.

a)

MAR

b)

MMU

c)

Overlays

d)

TLB

e)

Accumulator

15.

What is the main idea of using Hamming code for error correction?

a)

Adding extra parity bits to the data bits such that the number of 1s in each subset of bits is even

b)

Adding extra parity bits to the data bits such that the number of 1s in each subset of bits is odd

c)

Adding extra parity bits to the data bits such that the parity bits form a binary number indicating the position of the error bit

d)

Adding extra parity bits to the data bits such that the parity bits form a binary number indicating the number of error bits

16.

What are the key differences in the architecture of NOR and NAND flash memory?

a)

NOR flash memory cells are connected in series, while NAND flash memory cells are connected in parallel

b)

NOR flash memory cells are connected in parallel, NAND flash memory cells are connected in series

c)

Both NOR and NAND flash memory cells are connected in series

d)

Both NOR and NAND flash memory cells are connected in parallel

e)

All of the mentioned are wrong

17.

Which memory has the fastest speed and smallest capacity?

a)

Cache

b)

Main memory

c)

HDD

d)

Magnetic Disk

18.

... is a set of physical disk drives viewed by the operation system as a single logical drive.

a)

CLV

b)

SSD

c)

RAID

d)

CAV

19.

Sort the following memory types in ascending order by access speed:

a)

HDD - Main Memory - L2 cache - L1 cache

b)

HDD - Main Memory - L1 cache - L2 cache

c)

HDD - L2 cache - L1 cache - Main Memory

d)

MainMemory - L2 cache - L1 cache - HDD

20.

Which is the correct choice for sorting in increasing speed average of memory?

a)

SSD < Main Memory < Cache < Magnetic Tape

b)

Magnetic Tape < SSD < Cache Memory < Main Memory

c)

Magnetic Disk < SSD < Cache Memory < Main memory

d)

Magnetic Disk < Magnetic Tape < Main Memory < Cache Memory

e)

Magnetic Disk < SSD < Main Memory < Cache Memory

21.

For the following Boolean expressions: AB + AB' and the truth table:

Choose the correct option to replace at "?"

a)

1, 1 , 0, 0

b)

1, 1, 1, 1

c)

1, 0, 1, 0

d)

0, 1, 1, 0

22.

If you have a boolean function with 3 variables, how many rows are there in the truth table?

a)

8

b)

3

c)

6

d)

12

23.

In isolated I/O, ...

a)


The I/O devices and the memory share the same address space

b)


The I/O devices have a separate address space from memory

c)


The memory and I/O devices have an associated address space

d)


A part of the memory is specifically set aside for the I/O operation

e)


None of the mentioned

24.

Which component defines the system call interface to the operating system and facilitates binary portability?

a)


Application Binary Interface

b)

Application Programming Interface

c)

Instruction Set Architecture

d)

Central Processing Unit

25.

What is the initial state of a process when it is admitted by the high-level scheduler, but not yet ready to execute?

a)

New

b)

Ready

c)

Running

d)

Halted

26.

The chunks of a program, known as pages, could be assigned to available chunks of memory, known as frames, is called ...

a)

Swapping

b)

Partitioning

c)

Paging

d)

Virtual Memory

e)

Segmentation

27.

How does Boolean algebra contribute to the design of digital circuits?

a)

It simplifies the implenmentation of desired functions

b)

It helps in the analysis of economic data

c)

It facilitates the design of analog circuits

d)

It is primarily used for chemical engineering and physical engineering

28.

When both inputs are 1, what is the result of a NAND gate?

a)

0

b)

1

c)

2

d)

Undefined

e)

#NA

29.

Express a sign integer number (+18) in the sign magnitude representation.

a)

00010010

b)

10010010

c)

11110010

d)

01110010

30.

Why is it essential to use symbolic representation of machine instructions?

a)

It makes machine instructions more human-readable and understandable

b)

It reduces the overall complexity of computer systems and user programs

c)

It minimizes the need for memory storage for the user programs

d)

It enables fastest execution of high level language instructions

31.

The hardware mechanism that allows a device to notify the CPU is called ...

a)

polling

b)

interrupt

c)

driver

d)

controlling

32.

What is a branch instruction?

a)

The instruction that are used to divide a program into multiple subprograms

b)

The instruction that have as one of its operands the address of the next instruction to be executed

c)

The instruction that are used to pause the program

d)

The instruction that are used to return to the beginning of the program

33.

The effective address of ... is:
EA = A + (R)
(R) <-- R + 1

a)

relative addressing

b)

autoindexing

c)

postindexing

d)

preindexing

34.

In MASM32, which OPCODE is used to compare 2 values?

a)

COM

b)

CMP

c)

IF ... ELSE

d)

TEST

35.

What is the role of the control unit in a processor?

a)

The control unit's primary role is to perform arithmetic and logical operations within the processor, orchestrating the manipulation of the data

b)

The control unit only manages the flow of data between the CPU and external devices and does not play a significant role in executing instructions

c)

The control unit is solely responsible for managng the flow of instructions from secondary storage to RAM and does not have a role in the internal operation of the CPU

d)

The control unit in a processor directs and coordinates the execution of instructions, interpreting and managing the flow of operations within the CPU

36.

How data registers and address registers differ in some computer systems?

a)

Address registers can be employed in calculating operand addresses, while data registers hold data

b)

Data registers are only used for stack-related operations

c)

Data registers are used for indexed addressing, while address registers are used for data storage

d)

Address registers are reserved for segmented addressing, while data registers are general-purpose

37.

What is the main benefit of using ARM processors over other processors?

a)

Low cost and low power consumption

b)

Higher degree of multi-tasking

c)

Lower error or glitches

d)

Efficient memory management

38.

Which statement is incorrect about RISC and CISC architecture?

a)

CISC architecture is more convenient for programmers than RISC architecture

b)

CISC architecture has more operands in a instruction compared to RISC architecture

c)

CISC architecture has a more flexoble instruction set than RISC architecture

d)

CISC architecture requires more general-purpose registers than RISC architecture

39.

In the concept of Register Window, how many register groups are there?

a)

4

b)

3

c)

2

d)

No distinction

40.

What is the main benefit of using RISC over CISC?

a)


RISC has more instructions and addressing modes than CISC

b)

RISC has faster instruction execution and simplier instruction decoding than CISC

c)

RISC has variable-length instruction formats abd direct memory access than CISC

d)

RISC has more registers and pipelines than CISC

41.

What is the benefit of using a superscalar organization over a scalar organization?

a)

It increases the instruction throughput and improves the performance

b)

It reduces the power consumption and the heat dissipation

c)

It simplifies the instruction set and compiler design

d)

All of the mentioned

e)

None of the mentioned

42.

What does the term "instruction-level parallelism" refer to in computer architecture?

a)

The degree to which instructions in a program can be executed in parallel

b)

The number of processor cores in a multi-core CPU with multiple resources

c)

The complexity of the instruction set architecture

d)

The lenght of an instruction cycle with high level programming language

43.

To enhance performance in a superscalar processor, which method(s) should we apply?

a)

Duplication of resources

b)

Out-of-order issue

c)

renaming registers

d)

All of the mentioned

44.

How many common classifications of parallel systems are there as proposed by Flynn?

a)

2

b)

3

c)

4

d)

5

45.

Which write technique in which all write operations are made to main memory as well as to the cache, ensuring that main memory is always valid?

a)

Write through

b)

Write back

c)

Write around

d)

No write allocate

46.

How does multithreading improve the performance of a processor?

a)

It increases the instruction-level parallelism by issuing multiple instructions fron different threads in the same cycle

b)

It increases the thread-level parallelism by executing multiple threads on different cores or processors

c)

It increases the utilization of the processor resources bt hiding the latency of long-latency events such as cache misses or branch mispredictions

d)

All of mentioned

47.

Follow the Amdahl's law for multiprocessors, if only 10% of the code is inherently serial (f=0.9), running the program on a multicore system with 4 processors, a performance gain (speedup factor) would be ...

a)

307%

b)

297%

c)

317%

d)

327%

48.

Which cache is not a shared cache?

a)

L4 cache

b)

L3 cache

c)

L2 cache

d)

L1 cache

49.

CPU of IAS computer consists of ...

a)

Main memory and ALU

b)

ALU and CU

c)

CU and IO Module

d)

ALU and IO Module

50.

What is the significance of the program counter (PC) in the fetch phase of the instruction cycle?

a)

PC is not used in the fetch phase, and its role is limited to tracking the number of instructions executed bt the CPU

b)

PC in the fetch phase holds the memory address of the next instruction to be fetched and executed

c)

PC is responsible for executing instructions and has no specific role during the fetch phase

d)

PC is only relevant in multi-core processors and does not contribute to the fetch phase of the instruction cycle in single-core systems