Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 20

SRINIVASA INSTITUTE OF TECHNOLOGY & SCIENCE :: KADAPA

EMBEDDE SYSSTEM DESIGN

UNIT –1
1. Which of these designs considers both the software and hardware during the embedded
design?
a. Peripheral Design
b. Platform-Based Codesign
c. Software/Hardware Design
d. Memory Design
Answer: (c) Software/Hardware Design
2. Which of these can lead to a reduction of the loop overhead thus leading to an increase in the
speed?
a. Loop permutation
b. Loop fusion
c. Loop unrolling
d. Loop tiling
Answer: (c) Loop unrolling
3. The Index set L would denote what?
a. Processor
b. Task Graph Node Type
c. Task Graph Node
d. Hardware Components
Answer: (b) Task Graph Node Type
4. The main ingredient for the optimization of power is:
a. Energy Model
b. Power Model
c. Watt Model
d. Power Compiler
Answer: (b) Power Model
5. The first power model was proposed by:
a. Tiwari
b. Russell
c. Jacome
d. Jacome and Russel
Answer: (a) Tiwari
6. How do we compute the power consumed by a cache?
a. Lee power model
b. First power model
c. Third power model
d. CACTI
Answer: (d) CACTI
7. Which of these functions is capable of interpreting data in the C language?
a. Proc
b. File
c. Printf
d. Scanf
Answer: (d) Scanf
8. Which of these statements would replace all the occurrences of an identifier with a string?
a. # define identifier string
b. # include
c. # define MACRO()
d. # ifdef
Answer: (a) #define identifier string
9. How many wait statements types are available in a VHDL design?
a. 3
b. 4
c. 5
d. 6
Answer: (b) 4
10. Which of these is standardised as the IEEE 1364?
a. C
b. C++
c. FORTRAN
d. Verilog
Answer: (d) Verilog
11. Which of these models would communicate between various components?
a. transaction-level model
b. fine-grained model
c. coarse-grained model
d. circuit-level model
Answer: (a) transaction-level model
12. Which one is a set of specially selected patterns of input?
a. bit pattern
b. byte pattern
c. test pattern
d. debugger pattern
Answer: (c) test pattern
13. Which gate do we use for the geometrical representation in case an event causes hazards?
a. OR
b. NOT
c. NAND
d. AND
Answer: (a) OR
14. Which of these is possible for locating various errors while specifying the future bus
protocol?
a. EMC
b. HOL
c. BDD
d. FOL
Answer: (c) BDD
15. Zilog has designed which of these microprocessors?
a. 8087
b. Z80
c. 80386
d. Zigbee
Answer: (b) Z80
16. Which signal do we use for differentiating access from any standard memory cycle?
a. HALT
b. RESET
c. MREQ
d. IORQ
Answer: (d) IORQ
17. When does the register set get expanded in the 80286?
a. Interrupt mode
b. In protected mode
c. In expanded mode
d. In real mode
Answer: (b) In protected mode
18. How do negative numbers get stored in any coprocessor?
a. 2’s complement
b. 1’s complement
c. Grey
d. Decimal
Answer: (a) 2’s complement
19. How can we identify an alternate set of a register in Z80?
a. , suffix
b. , prefix
c. ‘Suffix
d. ‘Prefix
Answer: (c) ‘Suffix
20. Which of these have flip-flops connected to the form shift registers?
a. CRC
b. test pattern
c. bit pattern
d. scan design
Answer: (d) scan design
21. Which of these levels would simulate the algorithms used within an embedded system?
a. Gate Level
b. Circuit Level
c. Switch Level
d. Algorithmic Level
Answer: (d) Algorithmic Level
22. Which one of these is a library of the C++ class?
a. SystemC
b. C
c. C++
d. JAVA
Answer: (a) SystemC
23. Which of these would describe the connections present between the local component and the
entity port?
a. Many-to-one map
b. One-to-one map
c. Port map
d. One-to-many maps
Answer: (c) Port map
24. Which of these commands would take the object file and then search the library files for
finding the routine calls?
a. Debugger
b. Linker
c. Simulator
d. Emulator
Answer: (b) Linker

UNIT –2
1. Which of the following is not an essential component of an embedded system?

a) Microprocessor

b) RAM

c) Keyboard

d) Input/output device

Answer: c) Keyboard

2. Which of the following is true about interrupt latency in an embedded system?

a) It is the time between the occurrence of an interrupt and the start of its processing.

b) It is the time between the start of interrupt processing and the completion of interrupt

processing.

c) It is the time taken by the system to acknowledge an interrupt.

d) It is the time taken by the system to return from an interrupt.

Answer: a) It is the time between the occurrence of an interrupt and the start of its processing.

3. Which of the following is a real-time operating system (RTOS)?

a) Windows

b) Linux

c) VxWorks

d) MacOS
Answer: c) VxWorks

4. Which of the following is not a type of microcontroller architecture?

a) Harvard

b) Von Neumann

c) ARM

d) RISC

Answer: c) ARM

5. Which of the following is true about firmware in an embedded system?

a) It is software that is stored in read-only memory (ROM).

b) It is software that is stored in random access memory (RAM).

c) It is software that is stored on a hard disk.

d) It is software that is executed by the microcontroller.

Answer: a) It is software that is stored in read-only memory (ROM).

6. Which of the following is an example of an analog-to-digital converter (ADC)?

a) SPI

b) UART

c) I2C

d) SAR

Answer: d) SAR

7. Which of the following is an example of a digital-to-analog converter (DAC)?

a) SPI

b) UART

c) I2C

d) R-2R ladder

Answer: d) R-2R ladder

8. Which of the following is true about watchdog timers in an embedded system?

a) They are used to monitor the system clock.

b) They are used to monitor the power supply.

c) They are used to monitor the system state.

d) They are used to monitor the temperature.


Answer: c) They are used to monitor the system state

9. Which of the following is true about power management in an embedded system?

a) It is not necessary in battery-powered systems.

b) It is typically implemented using hardware and software techniques.

c) It is not important for systems that operate continuously.

d) It is only important for systems with high power requirements.

Answer: b) It is typically implemented using hardware and software techniques.

10. Which of the following is true about real-time constraints in an embedded system?

a) They are not important for non-critical applications.

b) They can be relaxed if necessary to improve system performance.

c) They are typically specified in terms of response time and deadline.

d) They are only important for systems with simple control logic.

Answer: c) They are typically specified in terms of response time and deadline.

11. Which of the following is a technique for reducing power consumption in an embedded

system?

a) Increasing the clock frequency

b) Increasing the supply voltage

c) Using hardware accelerators

d) Using high-power peripherals

Answer: c) Using hardware accelerators

12. Which of the following is true about system-on-chip (SoC) design?

a) It involves integrating multiple chips onto a single circuit board.

b) It involves integrating multiple components onto a single chip.

c) It is only used in high-end embedded systems.

d) It is not compatible with real-time operating systems.

Answer: b) It involves integrating multiple components onto a single chip.

13. Which of the following is true about system testing in an embedded system?

a) It is not necessary if the software is thoroughly tested.

b) It is typically performed using simulation tools.


c) It is only important for safety-critical systems.

d) It involves testing the hardware, software, and system-level functionality.

Answer: d) It involves testing the hardware, software, and system-level functionality.

14. Which of the following is true about interrupts in an embedded system?

a) They are always asynchronous.

b) They are always synchronous.

c) They can be either synchronous or asynchronous.

d) They are not used in real-time systems.

Answer: c) They can be either synchronous or asynchronous.

15. Which of the following is true about the CAN bus?

a) It is a hardware-based communication protocol.

b) It is only used in low-speed communication applications.

c) It is a master-slave communication protocol.

d) It is a peer-to-peer communication protocol.

Answer: d) It is a peer-to-peer communication protocol.

16. Which of the following is true about SPI communication?

a) It is a half-duplex communication protocol.

b) It is a full-duplex communication protocol.

c) It is a synchronous communication protocol.

d) It is a peer-to-peer communication protocol.

Answer: b) It is a full-duplex communication protocol.

17. Which of the following is true about I2C communication?

a) It is a half-duplex communication protocol.

b) It is a full-duplex communication protocol.

c) It is a synchronous communication protocol.

d) It is a peer-to-peer communication protocol.

Answer: a) It is a half-duplex communication protocol.

20. Which of the following is true about UART communication?

a) It is a half-duplex communication protocol.

b) It is a full-duplex communication protocol.


c) It is a synchronous communication protocol.

d) It is a peer-to-peer communication protocol.

Answer: b) It is a full-duplex communication protocol.

21. Which of the following is true about DMA in an embedded system?

a) It is not used in real-time systems.

b) It stands for “Direct Memory Access.”

c) It is used for communicating with peripherals.

d) It is a type of interrupt.

Answer: b) It stands for “Direct Memory Access.”

22. Which of the following is true about bootloaders in an embedded system?

a) They are used to load the operating system.

b) They are used to load the application software.

c) They are stored in volatile memory.

d) They are not important for system security.

Answer: b) They are used to load the application software.

23. Which of the following is true about real-time operating systems (RTOS) in an

embedded system?

a) They are only used in large-scale systems.

b) They are not important for system performance.

c) They provide deterministic scheduling of tasks.

d) They provide non-deterministic scheduling of tasks.

Answer: c) They provide deterministic scheduling of tasks.

24. Which of the following is true about the memory hierarchy in an embedded system?

a) The CPU cache is the largest and slowest level of memory.

b) The main memory is the smallest and fastest level of memory.

c) The secondary storage is the smallest and slowest level of memory.

d) The memory hierarchy is used to balance speed and capacity.

Answer: d) The memory hierarchy is used to balance speed and capacity.

25. Which of the following is true about digital signal processing (DSP) in an embedded

system?
a) It is only used in audio and video processing.

b) It can be used for a variety of signal processing applications.

c) It requires an analog signal as input.

d) It is slower than analog signal processing.

Answer: b) It can be used for a variety of signal processing applications.

UNIT –3
1. Which of the following is true about serial communication in an embedded system?

a) It is only used for short-distance communication.

b) It is slower than parallel communication.

c) It is more complex than parallel communication.

d) It is used for both short and long-distance communication.

Answer: d) It is used for both short and long-distance communication.

2. Which of the following is true about analog-to-digital conversion (ADC) in an embedded

system?

a) It is used for converting digital signals to analog signals.

b) It is used for converting analog signals to digital signals.

c) It is not important for sensor applications.

d) It is faster than digital-to-analog conversion.

Answer: b) It is used for converting analog signals to digital signals.

3. Which of the following is true about pulse-width modulation (PWM) in an embedded

system?

a) It is used for digital-to-analog conversion.

b) It is used for analog-to-digital conversion.

c) It is used for controlling the duty cycle of a signal.

d) It is used for synchronizing signals.

Answer: c) It is used for controlling the duty cycle of a signal.

4. Which of the following is true about inter-integrated circuit (I2C) in an embedded

system?

a) It is a high-speed serial communication interface.

b) It is a low-speed serial communication interface.


c) It is a parallel communication interface.

d) It is used for audio and video processing.

Answer: b) It is a low-speed serial communication interface.

5. Which of the following is true about universal asynchronous receiver-transmitter

(UART) in an embedded system?

a) It is a low-speed serial communication interface.

b) It is a high-speed serial communication interface.

c) It is a parallel communication interface.

d) It is used for audio and video processing.

Answer: b) It is a high-speed serial communication interface.

6. Which of the following is true about sensors in an embedded system?

a) They are used for processing digital signals.

b) They are used for converting analog signals to digital signals.

c) They are used for storing data.

d) They are used for transmitting data.

Answer: b) They are used for converting analog signals to digital signals.

7. Which of the following is true about actuators in an embedded system?

a) They are used for processing digital signals.

b) They are used for converting analog signals to digital signals.

c) They are used for storing data.

d) They are used for controlling physical systems.

Answer: d) They are used for controlling physical systems.

8. Which of the following is true about the pulse width modulation (PWM) technique in an

embedded system?

a) It is used for analog-to-digital conversion.

b) It is used for controlling physical systems.

c) It is used for event-driven systems.

d) It is used for digital signal processing.

Answer: b) It is used for controlling physical systems.


9. Which of the following is true about the inter-integrated circuit (I2C) protocol in an

embedded system?

a) It is a high-speed serial communication interface.

b) It is a low-speed serial communication interface.

c) It is a parallel communication interface.

d) It is used for audio and video processing.

Answer: b) It is a low-speed serial communication interface.

10. Which of the following is true about the serial peripheral interface (SPI) protocol in an

embedded system?

a) It is a high-speed serial communication interface.

b) It is a low-speed serial communication interface.

c) It is a parallel communication interface.

d) It is used for audio and video processing.

Answer: a) It is a high-speed serial communication interface.

11. Which of the following is true about the universal asynchronous receiver-transmitter

(UART) interface in an embedded system?

a) It is a high-speed serial communication interface.

b) It is a low-speed serial communication interface.

c) It is a parallel communication interface.

d) It is used for audio and video processing.

Answer: b) It is a low-speed serial communication interface.

12. Which of the following is true about the direct memory access (DMA) technique in an

embedded system?

a) It is used for analog-to-digital conversion.

b) It is used for controlling physical systems.

c) It is used for transferring data between memory and peripherals.

d) It is used for event-driven systems.

Answer: c) It is used for transferring data between memory and peripherals.

13. Which of the following is true about the watchdog timer (WDT) in an embedded

system?
a) It is used for analog-to-digital conversion.

b) It is used for controlling physical systems.

c) It is used for detecting system errors and resetting the system.

d) It is used for event-driven systems.

Answer: c) It is used for detecting system errors and resetting the system.

14. Which of the following is true about the system on a chip (SoC) in an embedded

system?

a) It consists of only the microcontroller and memory.

b) It consists of only the microcontroller and peripherals.

c) It consists of the microcontroller, memory, and peripherals on a single chip.

d) It consists of the microcontroller, memory, and peripherals on separate chips.

Answer: c) It consists of the microcontroller, memory, and peripherals on a single chip.

15. Which of the following is true about the real-time operating system (RTOS) in an

embedded system?

a) It is only used in large-scale embedded systems.

b) It is not suitable for time-critical applications.

c) It provides a multitasking environment with predictable response times.

d) It does not provide any support for task scheduling.

Answer: c) It provides a multitasking environment with predictable response times.

16. Which of the following is true about the firmware in an embedded system?

a) It is a type of software that runs on the host computer.

b) It is a type of hardware that controls the operation of the microcontroller.

c) It is a type of software that is permanently stored in memory.

d) It is a type of software that is used for debugging and testing.

Answer: c) It is a type of software that is permanently stored in memory.

17. Which of the following is true about the device driver in an embedded system?

a) It is a type of hardware that controls the operation of the microcontroller.

b) It is a type of software that is permanently stored in memory.

c) It is a type of software that interacts with the hardware peripherals.

d) It is a type of software that provides a user interface.


Answer: c) It is a type of software that interacts with the hardware peripherals.

18. Which of the following is true about the boot loader in an embedded system?

a) It is a type of hardware that controls the operation of the microcontroller.

b) It is a type of software that is permanently stored in memory.

c) It is a type of software that loads the operating system into memory.

d) It is a type of software that provides a user interface.

Answer: c) It is a type of software that loads the operating system into memory.

19. Which of the following is true about the watchdog timer in an embedded system?

a) It is a type of software that is used for debugging and testing.

b) It is a type of hardware that controls the operation of the microcontroller.

c) It is a type of hardware that provides a mechanism for detecting and recovering from system

errors.

d) It is a type of software that provides a user interface.

Answer: c) It is a type of hardware that provides a mechanism for detecting and recovering from

system errors.

20. Which of the following is true about the interrupt handler in an embedded system?

a) It is a type of hardware that controls the operation of the microcontroller.

b) It is a type of software that is used for debugging and testing.

c) It is a type of software that handles interrupts generated by the hardware peripherals.

d) It is a type of software that provides a user interface.

Answer: c) It is a type of software that handles interrupts generated by the hardware peripherals.

21. Which of the following is true about the system clock in an embedded system?

a) It is a type of hardware that controls the operation of the microcontroller.

b) It is a type of software that is used for debugging and testing.

c) It is a type of hardware that provides a mechanism for synchronizing the operation of the

system components.

d) It is a type of software that provides a user interface.

Answer: c) It is a type of hardware that provides a mechanism for synchronizing the operation

of the system components.


22. Which of the following is true about the power management unit (PMU) in an

embedded system?

a) It is a type of hardware that controls the operation of the microcontroller.

b) It is a type of software that is used for debugging and testing.

c) It is a type of hardware that provides a mechanism for managing the power consumption of

the system.

d) It is a type of software that provides a user interface.

Answer: c) It is a type of hardware that provides a mechanism for managing the power

consumption of the system.

23. Which of the following is true about the real-time clock (RTC) in an embedded system?

a) It is a type of hardware that controls the operation of the microcontroller.

b) It is a type of software that is used for debugging and testing.

c) It is a type of hardware that provides a mechanism for keeping track of the time and date.

d) It is a type of software that provides a user interface.

Answer: c) It is a type of hardware that provides a mechanism for keeping track of the time and

date.

24. Which of the following is true about the analog-to-digital converter (ADC) in an

embedded system?

a) It is a type of hardware that controls the operation of the microcontroller.

b) It is a type of software that is used for debugging and testing.

c) It is a type of hardware that provides a mechanism for converting analog signals to digital

signals.

d) It is a type of software that provides a user interface.

Answer: c) It is a type of hardware that provides a mechanism for converting analog signals to

digital signals.

25. Which of the following is true about the digital-to-analog converter (DAC) in an

embedded system?

a) It is a type of hardware that controls the operation of the microcontroller.

b) It is a type of software that is used for debugging and testing.

c) It is a type of hardware that provides a mechanism for converting digital signals to analog
signals.

d) It is a type of software that provides a user interface.

Answer: c) It is a type of hardware that provides a mechanism for converting digital signals to

analog signals.

UNIT –4
1. The number of wires used in I2C communication is [ ]
A) 4 B) 6
C) 2 D) none
2. To select I2C operation, the UCMODEx bits must be set to
[ ]
A) 00 B) 10
C) 11 D) none

3. A START condition in I2C is a transition on the SDA line while SCL is


High [ ]
A) Low B) Low to High c) High d) High to Low
4.A stop condition in I2C is _______ Transition on the SDA Line SCL is High

A) Low B) Low to High c) High d) High to Low


5. When UCA10 = 0, addressing is selected [ ]
A) 7 bit B) 8 bit
C) 10 bit D) None
6. When UCA10 = 1, addressing is selected [ ]
A) 7 bit B) 8 bit
C) 10 bit D) None
7. When UCA10 = 0, addressing is selected [ ]
A) 7 bit B) 8 bit
C) 10 bit D) None
8. module of msp430 supports UART communication [ ]
A) USCI_Ax B) USCI
Cx C) USCI_Bx D) None
9. UART is a type of mode of communication [ ]
A) Asynchronous B) Synchronous
C) both D) None
10. Two external used in UART communication are UCAxRXD and
[ ]
A) UCAxTXD B) UCAxWRT
C) UCAxCLR D) None

11. UART mode is selected when the bit is cleared [ ]


A) UCSYNC B) UCSWRST
C) PUC D) None
12. bit resets the UCRXIE,UCTXIE, UCRXIFG, UCRXERR, UCBRK,
UCPE, UCOE, UCFE, UCSTOE, and UCBTOE bits, [
]
A) UCSYNC B) UCSWRST
C) PUC D) None
13. When bit is set it also sets the UCTXIFG bit [ ]
A) UCSYNC B) UCSWRST
C) PUC D) None
14. The bit controls the direction of the transfer in UART [ ]
A) UCSYNC B) UCSWRST
C) UCMSB D) None
15. When UCMODEx = , the idle-line multiprocessor format is selected
[]
A) 00 B) 10
C) 11 D) None
16. When UCMODEx = , the Address-Bit Multiprocessor Format is
selected [ ]
A) 00 B)10
C) 11 D) None
17. When an idle line is detected, the bit is set. [ ]
A) UCSYNC B) UCSWRS
T C) UCIDLE D) None
18. When UCMODEx = UART mode with automatic baud-rate detection is
selected [ ]
A) 11 B) 10
C) 00 D) None
19. The minimum baud rate detectable is baud in oversampling mode .
[ ]
A) 488 B) 512
C) 556 D) None
20. The minimum baud rate detectable is baud in low-frequency mode
[ ]
A) 30 B) 10
C) 20 D) None
21. A error occurs when a low stop bit is detected.
[ ]
A) Framing B) Parity
C) Receive over run D) break
22. A error is a mismatch between the number of 1s in a character and the value of
the Parity bit. [ ]
A) Framing B) Parity
C) Receive over run D) break
23. An error occurs when a character is loaded into UCAxRXBUF before the
prior Character has been read. [
]
A) Framing B) Parity
C) Receive over run D) break
24. When UCPAR =0, parity is selected [ ]
A) Odd B) Eve
C) No parity D) None
25. UCxSIMO, UCxSOMI, UCxCLK, and UCxSTE signals are in
communication [ ]
A) UART B) I2C
C) SPI D) None
26. The number of bits transmitted or received per second is defined as [ ]

A) Transmission rate B) Reception rate


C) Baud rate D) Transceiver rate
27. The serial communication is [ ]
A) Cheaper communication B) Slow process of communication
C) Requires less number of conductors D) all the above
28. The serial communication is used for [ ]
A) Short distance communication

B) Long distance communication

C) Short and Long distance communication

D) Communication for certain distance


29. Which of the following data communication methods is used to transmit the data over
a serial communication link []
A) Simplex B) Half-duplex
C) Full-duplex D) Both (B) & (C)
30. SPI is often called as many interface []
A) two-wire B) four-wire
C) one-wire D) five-wire
31. I2C is often called as many interface []
A) two-wire B) four-wire
C) one-wire D) five-wire
32. Maximum number of masters in UART is []
A) 1 B) 2
C) 3 D) 4
33. I2C interface is developed by which of the following company [ ] A) Motorola B)
Philips
C) Sony D) Intel
34. SPI interface is developed by which of the following company [ ] A) Motorola B)
Philips
C) Sony D) Intel
35. No of clock sources required to set baud rate of USCI_A module [ ]
A) 1 B) 2
C) 3 D) 4
36. A Low-Power Battery-Less Wireless Temperature and Humidity Sensor
application consist of 4 phases namely charge, downlink,
recharge and []
A) up-link B) error
C) testing D) None
37. The current consumption of MSP430F2274 is during standby

mode (LPM3) []
A) 0.7 mA B) 0.5mA
C) 0.2mA D) None s

38. The TMS37157 PaLFI is a passive RFID product that communicate via
the RF and the [
] 39. The pin is used to wake up the PaLFI from standby mode s [ ]
A) SPI
A) PUSH B) I2C B) POP
C) CLK D) None
C)40.
UART
The
D) None
pin indicates the readiness of the TMS37157 to receive the next data
byte [ ]
A) BUSY B) POP
C) CLK D) None

You might also like