0% found this document useful (0 votes)
105 views7 pages

Embedded Questions

Uploaded by

Adem Abdela
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
105 views7 pages

Embedded Questions

Uploaded by

Adem Abdela
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

1. _______is used as embedded computer in embedded system.

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)

36. after completion of this program what is the status of flag CY


a. 0
b. 1
c. 01
d. 00
Answer: b)
37. One is not mode of addressing in which CPU addresses data
a. Register Indirect Addressing
b. Indexed Addressing
c. Immediate Addressing
d. None of the above
Answer: d)
38. _________ is addressing mode only is used for pushing and popping Stack.
a. Register Indirect Addressing
b. Direct Addressing
c. Immediate Addressing
d. None of the above
Answer: b)
39. Many Microprocessors allow CPU to address registers and I/O ports in _______
formats.
a. Bit
b. Byte
c. Both bit and byte
d. None of the above
Answer: c)
40. TMOD in 8051 Microcontroller is
a. 4-bit register
b. 8-bit register
c. All of the above
d. None of the above
Answer: b)
41. For every interrupt there must be ___________
a. Interrupt Service Routine
b. Interrupt Handler
c. Both a and b
d. None of the above
Answer: c)
42. One of the following is not interrupt in 8051 Microcontroller.
a. Reset
b. Timer
c. Serial COM
d. Register
Answer: d)
43. For Microcontroller to function properly, it is necessary to provide
a. Reset Signal
b. Clock Signal
c. Power Supply
d. All of the above
Answer: d)
44. The CPU can read an instruction and access data memory at the same time in _____
architecture.
a. Von-Neuman Architecture
b. Harvard Architecture
c. Jason Architecture
d. Von-Hard Architecture
Answer: b)
45. Based on Instruction set microcontroller can be classified in to
a. Harvard and Von-Neuman
b. RISC and SISC
c. Harvard, Von-Neuman, RISC and SISC
d. Harvard and RISC
Answer: b)
46. ______________ is an electronic device used to reduce frequency by a predetermined
factor.
a. Timer
b. Oscillator
c. Prescaler
d. Clock
Answer: c)
47. One of the following is not software component of Embedded System.
a. Linker
b. Emulator
c. Accumulator
d. Debugger
Answer: c)
48. Flip-flop is
a. A Building block of register
b. Made of tri-state buffers
c. Is only 1 bit
d. All of the above
Answer: d)
49. Which of the following can transfer multiple bits of data simultaneously?
a. Serial port
b. Sequential port
c. Concurrent unit
d. Parallel port
Answer: d)
50. Used to create delay in an embedded system
a. Timer
b. Counter
c. Oscillator
d. Watchdog timer
Answer: a)

You might also like