Embedded Systems Fundamentals

Covers microcontrollers, communication protocols (I2C, Bluetooth, Serial), peripherals, and programming concepts for embedded systems development

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Consider two real-time Systems (SysA and SysB) that communicates via Serial Interface . SysA is set at 115200 bps and SysB is set at 2400 bps . SysA transmits text "SendMeData" to SysB . Now what data (or) what would possibly happen at SysB's end?

  1. SystemB Halts
  2. Communication Error
  3. SystemB recieves&displays Junk Data
  4. SystemB recieves&displays "SendMeData"
Question 2 Multiple Choice (Single Answer)

Which one below is the appropriate formula for Calculating the I2C Clock Speed

  1. PeripheralClock = ((I2C(ClockFreq)) / (I2CLowCycle+I2CHighCycle))
  2. I2C(ClockFreq) = ((PeripheralClock) / (I2CLowCycle+I2CHighCycle))
  3. I2C(ClockFreq) = ((I2CLowCycle+I2CHighCycle) / (PeripheralClock))
  4. PeripheralClock = ((I2C(ClockFreq)) / (I2CLowCycle * I2CHighCycle))
Question 3 Multiple Choice (Single Answer)

What is the type of addressing referenced with 32-bit Microcontroller ARM.

  1. Byte Addressable
  2. Half-word (or) Full-word Addressable
  3. both Byte and Bit Addressable
  4. Bit Addressable
Question 4 Multiple Choice (Single Answer)

Here is the scenario where in you design a critical real-time Systems and usage of variables are strict , you need to reduce the Code and Programming RAM size. Assume you are using a Character Datatype (say char GetData) and utilizing only 3 bits under. Which programming technique you adopt to de-allocate or free 5 bits from GetData ?

  1. Use Macros
  2. Usage of Structures
  3. Combination of Both Structures and Unions
  4. Macros and Structures
Question 5 Multiple Choice (Single Answer)

You design a simple embedded System which glows LED and switches off at equal intervals forever.Which sequence of programming should be followed ?

  1. while(1) { LED(On) Delay(25) LED(Off) }
  2. main() { LED(On) Delay(25) LED(Off) while(1) { } }
  3. while(1) { LED(On) Delay(25) LED(off) Delay(25) )
  4. while(1) { Delay(25) LED(on) Delay(25) }
Question 6 Multiple Choice (Single Answer)

What is the voltage Supply needed for the power line in I2C Bus ? and total number of lines dedicated for an I2C bus ?

  1. +5v & 2 lines
  2. +5v (or) +3.3v & 4 lines
  3. +3.3v & 3 lines
  4. +5v (or) +3.3v & 2 lines
Question 7 Multiple Choice (Single Answer)

Under I2C Communication , consider ARM as Master and Keypad as Slave . Data gets transmitted from Slave to Master and Master acknowledges for every handshake.What is the mode that is required (or) should be adopted while programming with I2C interrupts ?

  1. Slave Transmitter Mode
  2. Master Reciever Mode
  3. Slave Reciever Mode
  4. Master Transmitter Mode
Question 8 Multiple Choice (Single Answer)

CY8C20434 is a Touch Sensor based Microcontroller that has 23 I/O's . After designing the inputs and outputs how it really works when a finger is placed on PCB Board of CY8C20434(Touch Sensor)?

  1. Resistance is generated
  2. Inductance is generated
  3. Capacitance is generated
  4. Current is generated
Question 9 True/False

Is it possible to manage or adjust the Interrupt Occurence time interval in a windows environment with keil as development platform?

  1. True
  2. False
Question 10 Multiple Choice (Single Answer)

If Timer is one among the peripherals of a microcontroller,what are all the registers that are to be initialized ?

  1. ClockRegister and MatchControlRegister
  2. AlarmRegister and MemoryMatchRegister
  3. MatchInterruptControllerRegister only
  4. CountControlRegister and ClockRegister
Question 11 Multiple Choice (Single Answer)

Stack is

  1. LIFO
  2. FIFO
  3. FILO
  4. LILO
Question 12 Multiple Choice (Single Answer)

Queue is

  1. FIFO
  2. FILO
  3. LIFO
  4. LILO
Question 13 Multiple Choice (Single Answer)

Which of the following will not affect Flags

  1. ADD
  2. XOR
  3. MOV
  4. SUB
Question 14 Multiple Choice (Single Answer)

Which of the following is an 8 bit processor

  1. 8086
  2. 8085
  3. 80386
  4. 80486
Question 15 Multiple Choice (Single Answer)

Which component in the mobile device enables you to identify the current location?

  1. GPS
  2. GPRS
  3. GIS
  4. None of the above
Question 16 Multiple Choice (Single Answer)

Which of the following browsers supports the function to ‘identify the device location’?

  1. Safari
  2. Opera Mini
  3. BlackBerry Browser
  4. a and b
  5. b and c
  6. a and c
Question 17 Multiple Choice (Single Answer)

Which component in the mobile device enables you to identify the current location?

  1. GPS
  2. GPRS
  3. GIS
  4. None of the above
Question 18 Multiple Choice (Single Answer)

Which of the following browsers supports the function to ‘identify the device location’?

  1. Safari
  2. Opera Mini
  3. BlackBerry Browser
  4. a and b
  5. b and c
  6. a and c
Question 19 Multiple Choice (Single Answer)
  1. //...
  1. Compilation fails.
  2. The program hangs at line 22.
  3. Out of Memory! is printed to the system console.
  4. An exception is thrown at runtime but there is no guarantee an alert will be shown to the user.
Question 20 Multiple Choice (Single Answer)

Which statement is NOT true regarding Bluetooth

  1. It is named after a 10th century Viking King.
  2. It can be used to transfer files between computers.
  3. It uses light as transmission medium.
  4. It is very often used in ad-hoc networking.