Embedded Questions
Embedded Questions
a) Microcontroller
b) Microprocessor
c) Both a and b
d) None of the above
Answer: c)
2. ____________is a brain of an embedded computer.
a. Microcontroller
b. Register
c. CPU
d. None of the above
Answer: c)
3. _______ is used to indicate the next memory location.
a. Program Counter
b. Stack Pointer
c. Instruction Register
d. All of the above
Answer: a)
4. Microprocessor is built of
a. CPU, Memory, Clock, and I/O Peripherals
b. ALU, Accumulator, Control unit, Register, and Clock
c. Accumulator, CPU, Register, Clock, and Control Unit
d. All of the above
Answer: b)
5. Microcontroller is a computer in a chip composed of
a. CPU, Memory, Oscillator, and Register
b. CPU, Accumulator, ALU, Clock, and Register
c. CPU, I/O Peripherals, Registers, and Clock
d. CPU, Memory, I/O Peripherals, and A/D Converter
Answer: d)
6. __________ is a register used to store a command that is going to be executed by
Microprocessor.
a. Program Counter
b. Instruction Register
c. Stack Pointer
d. All of the above
Answer: c)
7. ____________ is composed of flip-flops used to tell the status of CPU.
a. Program Counter
b. Instruction Register
c. Flag Resistor
d. Special Function Register
Answer: c)
8. ___________are register types which are pre-assigned by manufacturer.
a. Program Counters
b. Status Registers
c. Instruction Registers
d. Special Function Registers
Answer: d)
9. What is a primary advantage of using a microprocessor in an embedded system?
a. High cost
b. High power consumption
c. High reliability
d. High processing power
Answer: c)
10. Which of the following is an example of an embedded system?
a. Desktop computer
b. Smartphone
c. Microwave oven
d. Server
Answer: c)
11. What is the function of Input/Output (I/O) peripherals in a microcontroller?
a. To provide a timing reference for the system's operations
b. To manage the system's resources
c. To allow the microcontroller to interact with the outside world
d. To store variables and data used by the system
Answer: c)
12. What is the function of the clock in a microcontroller?
a. To provide a timing reference for the system's operations
b. To manage the system's resources
c. To execute instructions and manage the system's resources
d. To store variables and data used by the system
Answer: a)
13. Which type of processor is optimized for speed and efficiency by executing simpler
instructions?
a. CISC
b. RISC
c. Both a and b
d. None of the above
Answer: b)
14. ______ is also called Read/Write Memory.
a. Random Access Memory
b. Read Only Memory
c. Read and Write Memory
d. EEPROM
Answer: a)
15. What is the purpose of an oscillator in a microcontroller or embedded system?
a. To provide a timing reference for the system's operations
b. To manage the system's resources
c. To detect and recover from system failures
d. To synchronize the system's components
Answer: a)
16. Which one of the following is not a type of Oscillator?
a. Crystal Oscillators
b. Ceramic Resonators
c. Both a and b
d. None of the above
Answer: d)
17. Which command takes the object file and searches library files to find the routine
calls?
a. Simulator
b. Debugger
c. Emulator
d. Linker
Answer: d)
18. The necessary steps carried out to perform the operation of accessing either memory
or I/O Device, constitute a ___________
a. Fetch operation
b. Execute operation
c. Machine cycle
d. Instruction cycle
Answer: c)
19. The address bus flow in __________
a. Bi-direction
b. Uni-direction
c. Multi-direction
d. Circular
Answer: b)
20. Let contents of accumulator and B are 00000100 and 01000000 respectively. After
execution of SUB B instruction, accumulator contents are….
a. 00000100
b. 01000000
c. 11000100
d. 010001000
Answer: c)
21. Zero flag will be high or 1 when ______
a. When all bits of ALU operation are 1
b. When most bits of ALU operation are 1
c. When all bits of ALU operation are 0
d. When most bits of ALU operation are 0
Answer: c)
22. Instruction ________, at the end of interrupt service program takes the execution back
to the interrupted program
a. forward
b. return
c. data
d. line
Answer: b)
23. High level language is converted in to machine code using______
a. Compiler
b. Assembler
c. Emulator
d. Linker
Answer: a)
24. __________ will reset the microcontroller after a period of time, unless it is told not
to.
a. Timer
b. Watchdog timer
c. Reset
d. Counter
Answer: b)
25. __________ is simply a collection of 8 bits.
a. Bits
b. Bytes
c. Nibble
d. Word
Answer: b)
26. USART is
a. A Chip used in Serial Data Communication Method
b. A Chip used in Parallel Data Communication Method
c. Universal asynchronous Receiver-transmitter
d. Both a and b
Answer: a)
27. Microcontroller handles two interrupt sources that interrupt at the same time, by using
_____.
a. Priority
b. Address
c. Size
d. Reject them both
28. What is the function of Input/Output (I/O) peripherals in a microcontroller?
a. To provide a timing reference for the system's operations
b. To manage the system's resources
c. To allow the microcontroller to interact with the outside world
d. To store variables and data used by the system
Answer: c)
29. What are the two types of memory typically found in a microcontroller?
a. Digital and Analog memory
b. Program memory and data memory
c. Flash memory and RAM
d. ROM and EEPROM
Answer: b)
30. Which of the following is a characteristic of an embedded system?
a. High processing power
b. General-purpose computing
c. Limited resources
d. Low reliability
Answer: c)
31. The number of locations with which a CPU can communicate is always equal to 2 n,
where n is __________.
a. Data lines
b. Address Lines
c. Control Lines
d. Both Data and Address Lines
Answer: b)
32. The 8051 had
a. 64K bytes of RAM
b. 4K bytes of on-chip ROM
c. Two timers
d. All except a
Answer: d)
33. _________is a hexadecimal equivalent of 100010010110
a. 896H
b. 800H
c. 111H
d. 000H
Answer: a)
34. General purpose microprocessor contains
a. RAM
b. ROM
c. I/O ports
d. None of the above
Answer: d)
35. Mnemonics is a characteristics of an instruction language
a. Assembly language
b. Machine language
c. C-Code
d. None of the above
Answer: a)