0

embedded technologies Online Quiz - 6

Description: embedded technologies Online Quiz - 6
Number of Questions: 20
Created by:
Tags: embedded technologies
Attempted 0/20 Correct 0 Score 0

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"


Correct Option: C

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))


Correct Option: B

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


Correct Option: B

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


Correct Option: C

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) }


Correct Option: C

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


Correct Option: B

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


Correct Option: B

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


Correct Option: C

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


Correct Option: B

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


Correct Option: D

Stack is

  1. LIFO

  2. FIFO

  3. FILO

  4. LILO


Correct Option: A

Queue is

  1. FIFO

  2. FILO

  3. LIFO

  4. LILO


Correct Option: A

Which of the following will not affect Flags

  1. ADD

  2. XOR

  3. MOV

  4. SUB


Correct Option: C

Which of the following is an 8 bit processor

  1. 8086

  2. 8085

  3. 80386

  4. 80486


Correct Option: B

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

  1. GPS

  2. GPRS

  3. GIS

  4. None of the above


Correct Option: A

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


Correct Option: F

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

  1. GPS

  2. GPRS

  3. GIS

  4. None of the above


Correct Option: A

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


Correct Option: F
  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.


Correct Option: D

AI Explanation

To answer this question, we need to analyze the given code. However, since the code is not provided, we can only evaluate the given options based on their likelihood.

Option A) Compilation fails - This option suggests that there may be a compilation error in the code. However, since the code is not given, we cannot determine if there is a compilation error. Therefore, this option cannot be confirmed as correct or incorrect based on the information provided.

Option B) The program hangs at line 22 - This option suggests that the program gets stuck or freezes at line 22. Without the code, we cannot determine if this is true. Therefore, this option cannot be confirmed as correct or incorrect based on the information provided.

Option C) Out of Memory! is printed to the system console - This option suggests that the program encounters an out-of-memory error and outputs "Out of Memory!" to the system console. Without the code, we cannot determine if this is true. Therefore, this option cannot be confirmed as correct or incorrect based on the information provided.

Option D) An exception is thrown at runtime but there is no guarantee an alert will be shown to the user - This option suggests that an exception occurs during runtime, but it is not guaranteed that an alert will be shown to the user. This is a plausible scenario in many programming languages. Therefore, this option is a valid possibility.

Based on the given options and the likelihood of each scenario, Option D is the most reasonable answer. An exception is likely to be thrown at runtime, but there is no guarantee that an alert will be shown to the user.

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.


Correct Option: C
- Hide questions