Professional Documents
Culture Documents
What is a microprocessor?
B. A type of transistor
C. An input/output device
D. A type of memory
Answer: A
Answer: C
Answer: C
Answer: B
What do input devices do in a computer?
Answer: D
Answer: B
Answer: D
Answer: D
What is the function of the ALU in a microprocessor?
B. To perform arithmetical and logical operations on the data received from the memory or an input
device
Answer: B
A. To perform arithmetical and logical operations on the data received from the memory or an input
device
Answer: A
A. To perform arithmetical and logical operations on the data received from the memory or an input
device
Answer: B
Answer: A. Central Processing Unit (CPU), Input/Output (I/O) Devices, and Memory
Which of the following is not a function of a microprocessor?
Answer: D. Delivering the results of computations to the outside world (this is the function of output
devices)
Which type of memory stores both the instructions to be executed and the data involved?
C. Cache Memory
D. Virtual Memory
What is a microcomputer?
What is a microprocessor?
a. A single transistor
b. An electronic device that accepts binary data as input, processes it according to instructions stored
in its memory, and provides results as output
Answer: b. An electronic device that accepts binary data as input, processes it according to
instructions stored in its memory, and provides results as output.
Which unit of the microprocessor performs both arithmetic and logical operations?
a. ALU
b. Control Unit
c. Memory
d. Register Array
Answer: a. ALU.
c. To control the instructions and generate signals to operate the other components
d. To provide timing and control signals to all the operations in the microcomputer
Answer: c. To control the instructions and generate signals to operate the other components.
b. To control and execute the flow of data between the microprocessor, memory, and peripherals
Answer: a. To store data and programs that are currently being executed.
a. In the 1930s
b. In the 1950s
c. In the 1960s
d. In the 1970s
a. Transistors
b. Vacuum tubes
c. Mechanical relays
d. Integrated circuits
a. Transistors
b. Vacuum tubes
c. Integrated circuits
d. Microprocessors
a. Motorola
b. Zilog
c. Busicom
d. Intel
Answer: d. Intel.
a. 2,300
b. 4,000
c. 8,000
d. 16,000
Answer: a. 2,300.
Answer: a.
b. Display Unit
c. Input Unit
d. Sound Unit
a. 4004
b. 8008
c. 8080
d. 8086
Answer: a. 4004
a. First Generation
b. Second Generation
c. Third Generation
d. Fourth Generation
a. PMOS
b. NMOS
c. HMOS
d. CMOS
Answer: a. PMOS
Which component of a microprocessor controls the flow of data between the microprocessor,
memory, and peripherals?
a. ALU
b. Control Unit
c. Register Array
d. Input Unit
a. Addition
b. Subtraction
c. Multiplication
Which of the following is a type of register used by a programmer to store arbitrary data?
a. General-purpose Register
b. Reserved Register
c. Arithmetic Register
d. Logic Register
Which technology led to the development of complex devices called integrated circuits?
a. Vacuum Tubes
b. Transistors
c. Microprocessors
d. Minicomputers
Answer: b. Transistors
Which of the following microprocessors was not introduced in the second generation?
a. Intel 8085
b. Motorola 6800
c. Intel 8086
d. Zilog Z80
a. Instruction-level parallelism
b. Data-level parallelism
c. Task-level parallelism
d. Thread-level parallelism
How many instructions can a scalar processor execute during a clock cycle?
b. Exactly one
c. None
Answer: b. It can execute more than one instruction per clock cycle
a. SISD processor
b. SIMD processor
c. MIMD processor
b. Superscalar executes instructions in parallel using multiple execution units, whereas pipelining
executes multiple instructions in the same execution unit in parallel by dividing the execution unit into
different phases.
Answer: b. Superscalar executes instructions in parallel using multiple execution units, whereas
pipelining executes multiple instructions in the same execution unit in parallel by dividing the
execution unit into different phases.
How does a superscalar processor check for data dependencies between instructions?
a. SISD processor
b. SIMD processor
c. MIMD processor
Answer: None of the above. All of them are disadvantages of VLIW architecture.
B) A CPU that can execute only one instruction per clock cycle
Answer: A
A) Increased throughput
Answer: A
Which of the following is a characteristic of superscalar processors?
Answer: C
A) SISD
B) SIMD
C) MIMD
Answer: A
A) SISD
B) SIMD
C) MIMD
Answer: C
A) Pipelining
B) Branch prediction
C) Register renaming
D) Speculative execution
Answer: A
Answer: B
Which type of processor can be classified as SIMD if it supports short vector operations?
Answer: B
Answer: C
Module #5 Student Activity Sheet
What is an ALU?
Answer: B
Answer: C
A) On and off.
B) 0 and 1.
Answer: C
Answer: C
A) AND gate.
B) OR gate.
C) NOT gate.
D) XOR gate.
Answer: C
A) An ALU operates on floating-point numbers, while an FPU operates on integer binary numbers.
B) An ALU is a fundamental building block of many types of computing circuits, while an FPU is not.
C) An ALU performs arithmetic and bitwise operations on integer binary numbers, while an FPU
operates on floating-point numbers.
D) An ALU has a variety of input and output nets, while an FPU does not.
Answer: C
D) Transistor switches.
Answer: A
What is the function of an opcode in an ALU?
Answer: A
What is the maximum number of different operations that can be specified by a four-bit opcode?
A) 2
B) 4
C) 8
D) 16
Answer: D
Answer: A
B) To store data
C) To load instructions
Answer: A
What type of circuit is an ALU?
A) Analog
B) Digital
C) Mechanical
D) Chemical
Answer: B
What is a register?
B) A type of CPU
D) A type of software
Answer: A
B) To store data
C) To load instructions
Answer: C
A) Addition
B) Subtraction
C) Multiplication
D) Division
Answer: A
Which type of gate produces a 1 if either the first or the second input is a 1?
A) NOT gate
B) AND gate
C) OR gate
D) XOR gate
Answer: C
A) 0
B) 1
D) Undefined
Answer: A
A) Floating point
B) Binary integers
C) Decimal integers
D) Hexadecimal integers
Answer: B
Answer: B
B) Status
C) Operands
D) Output
Answer: D
A) A, B, and Y
B) A, B, and C
C) X, Y, and Z
D) X, Y, and A
Answer: A
What is an opcode?
Answer: C
What is the maximum number of different operations an ALU can perform with a four-bit opcode?
A) 2
B) 4
C) 8
D) 16
Answer: D
How do ALUs change their outputs?
A) Synchronously
B) Asynchronously
C) Stochastically
D) Deterministically
Answer: B
Answer: D
What is Arduino?
A. A programming language
B. A software application
C. A microcontroller platform
D. A sensor device
Answer: C
D. To play music
Answer: A
A. Raspberry Pi
B. BeagleBone Black
C. Arduino Uno
D. NVIDIA Jetson
Answer: C
Answer: A
introduction to arduino and parts and its function
Answer: B
A. PWM
B. Analog
C. SPI
D. I2C
Answer: A
Answer: A
Answer: B
Which component on an Arduino board provides power to the board?
A. Voltage regulator
B. Microcontroller
C. USB port
D. Digital pins
Answer: A
Answer: D
A. Python
B. Java
C. C++
D. JavaScript
Answer: C
What is the maximum voltage that can be applied to an analog pin on an Arduino board?
A. 3.3V
B. 5V
C. 9V
D. 12V
Answer: B
B. To decrease voltage
D. To generate heat
Answer: C
A. Accelerometer
B. GPS
C. Camera
D. Microphone
Answer: A
A. To generate sound
B. To control temperature
D. To detect motion
Answer: C
A) Atmel AVR
B) ARM Cortex-M
C) PIC
D) Intel 8051
A) Arduino Uno
B) Arduino Mega
C) Arduino Nano
D) Raspberry Pi
Answer: D) Raspberry Pi
A) Python
B) C++
C) Java
D) JavaScript
Answer: B) C++
A) IDE
B) Compiler
C) Debugger
D) Interpreter
Answer: A) IDE
A) Arduino Uno
B) Arduino Mega
C) Arduino Nano
D) Arduino MKR1000
A) Arduino Lilypad
B) Arduino Due
C) Arduino Micro
D) Arduino Leonardo
A) 4
B) 6
C) 8
D) 10
Answer: D) 10
Which of the following is NOT a type of digital I/O pin on an Arduino board?
A) PWM
B) TX/RX
C) SPI
D) Analog
Answer: D) Analog
A) loop()
B) setup()
C) main()
D) init()
Answer: B) setup()
A) loop()
B) setup()
C) main()
D) init()
Answer: A) loop()
Which of the following statements is true regarding the order of execution in an Arduino program?
Which of the following statements is true about the void keyword in Arduino programming?
Which Arduino function is responsible for initializing the board and any connected hardware?
A) loop()
B) setup()
C) main()
D) init()
Answer: D) init()
Which of the following is true about the pinMode() function in Arduino programming?
Which of the following is true about the digitalRead() function in Arduino programming?
Answer: A
Which Arduino programming structure is used to repeatedly execute a block of code while a certain
condition is met?
A. if/else statement
B. for loop
C. while loop
D. switch/case statement
Answer: C
What is the purpose of the void loop() function in an Arduino program?
Answer: C
Which statement in the Arduino programming structure allows for multiple conditions to be checked
against a variable?
A. if statement
B. else if statement
C. switch statement
D. for loop
Answer: B
Answer: A
Which function is used to read a digital input pin on the Arduino board?
A. analogRead()
B. digitalRead()
C. pinMode()
D. digitalWrite()
Answer: B
Which statement in the Arduino programming structure is used as a catch-all for any conditions that
were not met in previous if/else if statements?
A. if statement
B. else if statement
C. else statement
D. for loop
Answer: C
Which Arduino programming structure is used to execute a block of code a specific number of times?
A. if/else statement
B. for loop
C. while loop
D. switch/case statement
Answer: B
Answer: C
Which function is used to write a digital output value to a pin on the Arduino board?
A. analogWrite()
B. digitalRead()
C. pinMode()
D. digitalWrite()
Answer: D