EEE Unit 04
EEE Unit 04
Edit
QUESTION
A Legato
B Arduino
C Teagueduino
Hide !
Answer D
QUESTION
A 8
B 4
C 16
D 64
Hide !
Answer A
QUESTION
B CISC
C Von neumann
D None of above
Hide !
Answer A
QUESTION
Which of the following is not found in the bit pattern of a status register?
B Positive flag
C Negative flag
D Carry flag
Hide !
Answer B
QUESTION
A Light
B Sound
C Ultrasonic waves
D Distance
Hide !
Answer D
QUESTION
A Solenoid
B Hydraulic cylinders
C Pneumatic cyliders
D All of above
Hide !
Answer D
QUESTION
A Transducers
B Multiplexers
C Demultiplexers
D Attenuators
Hide !
Answer C
QUESTION
A Cheaper hardware
D All of above
Hide !
Answer D
QUESTION
A 1.3
B 10
C 5
D 2.8
Hide !
Answer C
QUESTION
A Sketches
B Source code
C Codes
D Layouts
Hide !
Answer A
QUESTION
A .uno
B .skt
C .hex
D .ino
Hide !
Answer D
QUESTION
A Folders
B Root directory
C Sketches
D Sketch book
Hide !
Answer D
QUESTION
A Value
B Usefulness
C Scope
D Type
Hide !
Answer C
QUESTION
A Double
B Long
C Int
D Unsigned float
Hide !
Answer D
QUESTION
A ║
B &
C !!
D !
Hide !
Answer D
QUESTION
A Combinational
B Sequential
C Either
D None of above
Hide !
Answer B
QUESTION
A Hexadecimal
B Decimal
C Binary
D None of above
Hide !
Answer C
QUESTION
A Store data
B Store result
C Both
D None of above
Hide !
Answer C
QUESTION
A Pointer
B Flag
C A
D Stack
Hide !
Answer B
QUESTION
Access time for memory and I/O devices is more in the case of a __________
A Microprocessor
B Microcontroller
C Both
D None of above
Hide !
Answer A
QUESTION
A 16
B 32
C 64
D 128
Hide !
Answer B
QUESTION
An instruction register holds the ______ instruction
A Current
B Previous
C Next
D All of above
Hide !
Answer A
QUESTION
If DDxn is written as 1, Pxn is configured as _____ pin and if DDxn is written as 0, Pxn is configured as ______ pin.
A Output, Input
B Output, Output
C Input, Input
D Input, Output
Hide !
Answer A
QUESTION
A Sampling interval
B Accuracy of system
C Both
D None of above
Hide !
Answer C
QUESTION
A True
B False
C Can’t say
D None of above
Hide !
Answer B
QUESTION
A Status register
B Accumulator
C Instruction register
Hide !
Answer D
QUESTION
A Instruction register
B Program counter
C Status
D RAM
Hide !
Answer A
QUESTION
A ALU
B Instruction register
C Control unit
D Status register
Hide !
Answer C
QUESTION
A Add
B Ex-or
C Shift right
D All of above
Hide !
Answer D
QUESTION
The __________ is responsible for working of all other parts of microcontroller together
A Control
B ALU
C Accumulator
D Program counter
Hide !
Answer A
QUESTION
A ROM
B RAM
C Decoders
D Interrupts
Hide !
Answer D
QUESTION
A 2
B 4
C 8
D Multiple
Hide !
Answer D
QUESTION
A More
B Less
C Same
D None of above
Hide !
Answer A
QUESTION
A Power
B Reset
C Clock
D All of above
Hide !
Answer D
QUESTION
A Faster speed
B Reliability
C Both
D None of above
Hide !
Answer C
QUESTION
Atmega 328P has ______ general purpose I/O lines for connecting external device
A 15
B 20
C 23
D 24
Hide !
Answer C
QUESTION
A arithmetic,
B logical
C bit-functions
Hide !
Answer D
QUESTION
What will happen in that condition, if an interrupt occurs while the micro controller is
C the interrupt that is more priority in the interrupt vector table will be served first
D the interrupt having low priority in the interrupt vector table will be served first
Hide !
Answer C
QUESTION
A DDxn
B PORTxn
C PINxn
Hide !
Answer D
QUESTION
Hide !
Answer B
QUESTION
A 0
B 1
Hide !
Answer A
QUESTION
A PIN register of a port is used to bring data into CPU from pins
Hide !
Answer D
QUESTION
A CPU
B RAM
C ROM
D All of these
Hide !
Answer D
QUESTION
A Text console
B Text editor
C Both
D None of above
Hide !
Answer B
QUESTION
Which function configures the specified pins to behave either as an input or an output.
A digitalWrite
B digitalRead
C pinMode
D All of above
Hide !
Answer C
QUESTION
A UART
B USART
C Both
D None of above
Hide !
Answer A
QUESTION
A Simplex communication
D All of above
Hide !
Answer D
QUESTION
A MAX232
B RS232
C Both
D None of above
Hide !
Answer B
QUESTION
A 5V
B +3 to +25V
C -3 to -25V
D 0V
Hide !
Answer C
QUESTION
A 5V
B +3 to +25V
C -3 to -25V
D 0V
Hide !
Answer B
QUESTION
______ of the 32 registers can be used as three 16-bit indirect address register
A 8
B 6
C 3
D 2
Hide !
Answer B
QUESTION
During interrupts and subroutine calls, the return address Program Counter (PC) is stored on the
A SRAM
B STACK
C EEPROM
D None of above
Hide !
Answer B
QUESTION
C Both
D None
Hide !
Answer A
QUESTION
A T
B H
C S
D I
Hide !
Answer D
QUESTION
Hide !
Answer C
QUESTION
A Internal clock
B External clock
D None of above
Hide !
Answer C
QUESTION
A small portion of the ______is set aside for the general purpose registers used by the processor and also for the input/output and peripheral
subsystems of microcontroller.
A SRAM
B FLASH EEPROM
C EEPROM
D ALL OF ABOVE
Hide !
Answer A
QUESTION
C PWM pins
Hide !
Answer B
QUESTION
C PWM pins
Answer A
QUESTION
Which of the following is not found in the bit pattern of a status register?
A Parity flag
C Negative flag
D Carry flag
Hide !
Answer A
QUESTION
A Faster Speed
B Reliability
C Both
D None
Hide !
Answer C
QUESTION
B Printers
C Modems
D ALL
Hide !
Answer D
QUESTION
A ____________ is a computer system with dedicated function within a larger mechanical or electrical system.
A Microprocessor
B Microcontroller
C Embedded System
D None
Hide !
Answer C
QUESTION
A Monitor
B Control a Process
C Integrate
D None of These
Hide !
Answer B
QUESTION
A _________________ is an open source embedded platform which can be used for IOT device.
A Legato
B Arduino
C Teagueduino
D Raspberry
Hide !
Answer D
QUESTION
A Private
B Open source
C Closed
D Public
Hide !
Answer B
QUESTION
A 2
B 4
C 16
D 1
Hide !
Answer D
QUESTION
A 130
B 131
C 132
D 133
Hide !
Answer B
QUESTION
A 8 KByte
B 4 KByte
C 64KByte
D 32 Kbyte
Hide !
Answer D
QUESTION
A 2K
B 4K
C 8K
D 1K
Hide !
Answer D
QUESTION
A 1K
B 2K
C 4K
D 8K
Hide !
Answer B
QUESTION
A 4
B 8
C 16
D 64
Hide !
Answer B
QUESTION
Atmega 328 P has 1 Timer/Counter with CCM and Prescaler. It is of _______ bits.
A 2
B 4
C 8
D 16
Hide !
Answer D
QUESTION
A 2
B 5
C 10
D 15
Hide !
Answer C
QUESTION
A 1
B 2
C 3
D 4
Hide !
Answer A
QUESTION
A Power-on reset
B Brown-out detection
C Internal Oscillator
D All of These
Hide !
Answer D
QUESTION
A 3
B 6
C 9
D 12
Hide !
Answer B
QUESTION
A Harvard
B Von neuman
C Both
D None
Hide !
Answer A
QUESTION
A 1
B 2
C 3
D 4
Hide !
Answer A
QUESTION
A Single
B Double
C Multiple
D None
Hide !
Answer A
QUESTION
A Program counter
B ALU
C Register File
D None
Hide !
Answer C
QUESTION
A Status register
B Instruction register
C ALU
D None
Hide !
Answer A
QUESTION
A 12
B 13
C 14
D 15
Hide !
Answer C
QUESTION
A Pointer
B Instruction Pointer
C Address Pointer
D None
Hide !
Answer B
QUESTION
A Decoder
B Instruction decoder
C Both
D None
Hide !
Answer B
QUESTION
A SEI
B CLI
C Both
D None
Hide !
Answer C
QUESTION
The bit copy instruction and bit store instruction use ___________as source or destination.
A I –bit
B T-bit
C V-bit
D C-bit
Hide !
Answer B
QUESTION
A Addition
B Binary
C Hex
D BCD
Hide !
Answer D
QUESTION
A I&T
B T&H
C N&Z
D N&V
Hide !
Answer D
QUESTION
A Negative
B Positive
C Neither
Hide !
Answer A
QUESTION
A Data
C Return addresses
D All of these
Hide !
Answer D
QUESTION
Stack is stored in ________.
A SRAM
B ROM
C DRAM
D EEPROM
Hide !
Answer A
QUESTION
A Bottom
B -1
C Top
D Value
Hide !
Answer C
QUESTION
A Increments
B Decrements
C None of these
Hide !
Answer B
QUESTION
A PUSH
B POP
C CALL
D RET
Hide !
Answer B
QUESTION
A 1
B 2
C 3
D 4
Hide !
Answer B
QUESTION
A 16
B 32
C 64
D 128
Hide !
Answer C
QUESTION
In Atmega 328P microcontroller , direction of a particular pin can be changed without changing others.
A True
B False
D None
Hide !
Answer A
QUESTION
In Atmega 328 P Microcontroller, each output buffer has _______drive characteristics for high sink and source capability.
A Distinct
B Different
C Asymmetrical
D Symmetrical
Hide !
Answer D
QUESTION
B Sign Flag
C Carry Flag
D None
Hide !
Answer C
QUESTION
A Negative flag
B Zero Flag
C Sign Flag
Hide !
Answer B
QUESTION
A 1’S Complement
B Two’s complement
C Three complement
D None
Hide !
Answer B
QUESTION
A bit from a register in the Register File can be copied into T by the _________instruction.
A SEI
B CLI
C BST
D None
Hide !
Answer C
QUESTION
A bit in T can be copied into a bit in a register in the Register File by the ___________ instruction.
A BLD
B BST
C CLI
D SEI
Hide !
Answer A
QUESTION
A Negative flag
B CLI
C T – bit
Answer D
QUESTION
A Personal computer
B Program counter
C Both
D None
Hide !
Answer B
QUESTION
The ATmega328/P Program Counter (PC) is 14 bits wide, thus addressing the _________ program memory locations.
A 32K
B 24K
C 16 K
D None
Hide !
Answer C
QUESTION
A 2
B 3
C 4
D 5
Hide !
Answer B
QUESTION
A 12 MHz
B 16 MHz
C 18 MHz
D None
Hide !
Answer B
QUESTION
A 8
B 5
C 7
D 3
Hide !
Answer A
QUESTION
A 5
B 6
C 7
D 8
Hide !
Answer C
QUESTION
A 5
B 6
C 7
D 8
Hide !
Answer D
QUESTION
A Port Pins
B Crystal Pins
D None
Hide !
Answer B
QUESTION
A 2
B 4
C 3
D 5
Hide !
Answer C
QUESTION
A 64
B 32
C 16
D 8
Hide !
Answer D
QUESTION
A 16
B 32
C 8
D 64
Hide !
Answer A
QUESTION
A AVCC
B VCC
C GND
D None
Hide !
Answer A
QUESTION
A 2
B 3
C 5
D 6
Hide !
Answer D
QUESTION
Atmega 328 P controller consist of _____ digital pins and _________ analog pins.
A 14 , 6
B 13,9
C 12,8
D None
Hide !
Answer A
QUESTION
B If and else
D None
Hide !
Answer C
QUESTION
when a sketch starts after power-up or reset _______ function is run once.
A VOID
B MAIN
C Void setup
D None
Hide !
Answer C
QUESTION
A void loop
B Main
C void setup
Hide !
Answer A
QUESTION
___________ function used to controls the arduino board until it is powered off or is reset.
A void setup
B void loop
C Main
D None
Hide !
Answer B
QUESTION
__________ Function used to initialize variables and pin modes, and to initialize any other libraries.
A void setup
B Main
C Void
D void loop
Hide !
Answer A
QUESTION
A _________ is an entity that does not change, where as a _________ is an entity that may change.
A Constants, Variable
B Keywords, Constant
C Variable, Keywords
D None
Hide !
Answer A
QUESTION
A .ino
B .c
C .cc
D .asm
Hide !
Answer A
QUESTION
B Baud Rate
D None
Hide !
Answer B
QUESTION
A semi-colon
B Full stop
C Question mark
D None
Hide !
Answer A
QUESTION
A Sketch
B Code
C Both
D None
Hide !
Answer A
QUESTION
In Atmega 328P microcontroller, writing --------- to PINxn toggles the value of PORTxn
A 1
B 0
C either
D none
Hide !
Answer A
QUESTION
In Atmega 328P microcontroller, master clock input is the alternate function of --------
A PB7
B PB6
C PB5
D PB4
Hide !
Answer C
QUESTION
In Atmega 328P microcontroller, internal clock oscillators are connected to ------ and -------- respectively
Answer A
QUESTION
A PC6
B PB5
C PD5
D none
Hide !
Answer A
QUESTION
A 2
B 4
C 5
D 1
Hide !
Answer D
QUESTION
A PD3
B PD4
C PD5
D none
Hide !
Answer B
QUESTION
D none
Hide !
Answer A
QUESTION
Hide !
Answer D
QUESTION
A Maintainability
B Ruggedness
C Speed
D All
Hide !
Answer D
QUESTION
A Variable to be measured
B Range of variables
C reliability
D All
Hide !
Answer D
QUESTION
A Optic sensors
B Photo sensors
C sensors
D none
Hide !
Answer B
QUESTION
A Photo diode
B Photo transistor
D All
Hide !
Answer D
QUESTION
A Photo diode
B Photo transistor
Hide !
Answer D
QUESTION
In proximity sensors, the object may or may not be in contact with sensor.
A TRUE
B FALSE
C Can't say
D None
Hide !
Answer A
QUESTION
A capacitive
B inductive
C optical
D all
Hide !
Answer D
QUESTION
A capacitive
B inductive
C optical
D none
Hide !
Answer D
QUESTION
For capacitive sensors, C is given by
A C=εA/d
B C=Ad/ ε
C C= εd/A
D none
Hide !
Answer A
QUESTION
A TRUE
B FALSE
C Can't say
D None
Hide !
Answer A
QUESTION
A Opto- electronic
B Optical
C Ultrasonic
D Hall effect
Hide !
Answer D
QUESTION
A Linear motion
B Rotary motion
C both
D none
Hide !
Answer C
QUESTION
A Linear
B Rotary
C both
D None
Hide !
Answer D
QUESTION
A Optical encoders
B Actuators
C Accumulators
D Sensors
Hide !
Answer B
QUESTION
A TRUE
B FALSE
C Can't say
D none
Hide !
Answer A
QUESTION
A TRUE
B FALSE
C Can't say
D none
Hide !
Answer B
QUESTION
B Solenoid valve
C Relay
D All
Hide !
Answer D
QUESTION
A DC motor
B Solenoid valve
C Relay
D LVDT
Hide !
Answer D
QUESTION
A LM35
B Thermometer
C Thermister
D All
Hide !
Answer D
QUESTION
A LM35
B MQ5
C MQ6
D LM25
Hide !
Answer A
QUESTION
A LVDT
B RTD
C Strain Guage
D Accelerometers
Hide !
Answer C
QUESTION
A LVDT
B RTD
C Strain Guage
D Accelerometers
Hide !
Answer A
QUESTION
A capacitive
B inductive
C optical
D none
Hide !
Answer B
QUESTION
A LVDT
B RTD
C Strain Guage
D Accelerometers
Hide !
Answer D
QUESTION
A Piezoelectric transducer
B LVDT
C RTD
D Capacitive sensor
Hide !
Answer C
QUESTION
A Acquiring data
D all
Hide !
Answer D
QUESTION
A ADC
B DAC
C Both
D None
Hide !
Answer C
QUESTION
A MUX
B ADC
C Micro-controller
D None
Hide !
Answer D
QUESTION
A MUX
B ADC
C Micro-controller
D All
Hide !
Answer D
QUESTION
........ is necessary when the distance between transducers and display device is large.
A Attenuator
B Prescalar
C Multiplexer
D None
Hide !
Answer D
QUESTION
A Attenuator
B Prescalar
C Multiplexer
D None
Hide !
Answer C
QUESTION
Strip – chart recorders, X-Y recorders, magnectic recorders are used to record data.
A TRUE
B FALSE
C Can't say.
D None
Hide !
Answer A
QUESTION
A 5 – 10
B 0-5
C 7 – 10
D 7 – 12
Hide !
Answer D
QUESTION
A 3
B 5
C 6
D 7
Hide !
Answer C
QUESTION
A 3
B 5
C 6
D 7
Hide !
Answer C
QUESTION
What is the resolution of ADC in Atmega 328P micro-controller?
A 8 bit
B 10 bit
C 6 bit
D 4 bit
Hide !
Answer B
QUESTION
A 10
B 14
C 12
D 16
Hide !
Answer B
QUESTION
A 8
B 16
C 32
D 64
Hide !
Answer C
QUESTION
A 1
B 2
C 4
D 8
Hide !
Answer B
QUESTION
A 2
B 3
C 4
D 5
Hide !
Answer B
QUESTION
A 12 MHz
B 16 MHz
C 18 MHz
D None
Hide !
Answer B
QUESTION
A 8
B 5
C 7
D 3
Hide !
Answer A
QUESTION
A 5
B 6
C 7
D 8
Hide !
Answer C
QUESTION
Hide !
Answer A
QUESTION
A Port Pins
B Crystal Pins
D None
Hide !
Answer B
QUESTION
A TRUE
B FALSE
C Can't say
D none
Hide !
Answer A
QUESTION
A Boot loader
B IDE
C Sketchbook
D Libraries
Hide !
Answer D
QUESTION
A CPU speed
B Baud rate
C both
D None of these
Hide !
Answer C
QUESTION
A Board selection
B Serial monitor
C Library
D Sketchbook
Hide !
Answer B
QUESTION
A Arduino Mega
B Arduino Fio
C Arduino Esplora
D Arduino Gemma
Hide !
Answer B
QUESTION
Arduino Uno consists of _____ digital pins and _________ analog pins.
A 14 , 6
B 13,9
C 12,8
D None
Hide !
Answer A
QUESTION
D None
Hide !
Answer C
QUESTION
when a sketch starts after power-up or reset _______ function is run once.
A VOID
B MAIN
C Void setup
D None
Hide !
Answer C
QUESTION
A void loop
B Main
C void setup
Hide !
Answer A
QUESTION
___________ function used to controls the arduino board until it is powered off or is reset.
A void setup
B void loop
C Main
D None
Hide !
Answer B
QUESTION
__________ Function used to initialize variables and pin modes, and to initialize any other libraries.
A void setup
B Main
C Void
D void loop
Hide !
Answer A
QUESTION
A 1 byte
B 4 bytes
C 2 bytes
D 1 bit
Hide !
Answer A
QUESTION
A 1 to 256
B 0 to 255
C both
D none
Hide !
Answer B
QUESTION
A 4 bit
B 8 bit
C 16 bit
D 32 bit
Hide !
Answer C
QUESTION
Int stores negative numbers by a technique called 1's complement. Say true or false.
A TRUE
B FALSE
C Can't say
D none
Hide !
Answer B
QUESTION
A 8 bit
B 16 bit
C 32 bit
D 64 bit
Hide !
Answer C
QUESTION
A 1
B 2
C 4
D 8
Hide !
Answer C
QUESTION
A group of instructions that perform a specific task is called as
A function
B subroutine
C procedure
D all
Hide !
Answer D
QUESTION
Hide !
Answer D
QUESTION
A tone()
B square()
C duty()
Hide !
Answer A
Edit
QUESTION
In AVR, which of the following registers are not used for programming timers?
A) TCNT
B) TCON
C) TIFR
Hide !
Answer: B
Explanation: In the timer programming of an AVR micro controller,mainly used registers are TCNTn that stores the values of the count. TCCRn
that is used to assign the mode of operation of a timer and TIFR that stores the status of various flags of the timers. Two more registers are
used they are OCRn and OCFn. They are used for comparison with the count register.
QUESTION
B) for increasing the time delay given by the timer by decreasing its frequency of operation
Hide !
Answer: B
Explanation: Prescalars are used in the operation of the timers because they generally increase the time delay generation by deceasing the
frequency of its operation.
QUESTION
A) normal mode
B) CTC mode
C) PWM mode
Hide !
Answer: D
Explanation: Modes of a timer are decided by the WGM00 and WGM01 bit of the TCCR0 register and for timer0 these modes are normal mode,
CTC mode, pwm mode and the fast pwm mode.
QUESTION
Hide !
Answer: A
Explanation: Timer0 can act as a counter if the CS02-CS00 bits are from 110-111.
QUESTION
A) timer0
B) timer1
C) timer2
Hide !
Answer: B
Explanation: Timer0 and Timer2 can operate in the 8 bit condition while only Timer 1 operates in the 16 bit condition.
QUESTION
A) f/2
B) f/4
C) f/16
D) f/32
Hide !
Answer: D
Explanation: f/32 has the lowest frequency as it is divided by the maximum value of the constant, so as time and frequency are inversely related
to each other so this will generate the maximum amount of machine cycle which will as a result generate the greatest delay.
QUESTION
C) her the contents are compared with the OCR register, if value becomes equal then only the timer is cleared
Hide !
Answer: C
Explanation: In CTC mode of a timer the contents of the counter register are compared with the OCR register to clear the flag for the roll over
condition to come.
QUESTION
We can count the pulses on the positive or the negative edge triggered pulse of the clock?
A) true
B) false
C) can’t be determined
Hide !
Answer: A
Explanation: A counter can count pulses on the positive or the negative edge of the clock. 9. Which pin is used for the input clock of the
counter0?
QUESTION
We can count the pulses on the positive or the negative edge triggered pulse of the clock?
A) true
B) false
C) can’t be determined
Answer: A
Explanation: A counter can count pulses on the positive or the negative edge of the clock.
QUESTION
A) PORTB.0
B) PORTB.1
C) PORTB.2
D) PORTB.3
Hide !
Answer: A
Explanation: PORTB.0 is used for the input clock of the counter0 in AVR micro controllers.
QUESTION
Hide !
Answer: B
Explanation: External clock is used for providing the pulse to the AVR timers if CS02-00=6.
QUESTION
Is the following instruction correct LDI R3,50?
A) Yes
B) No
C) Cant be said
Hide !
Answer: B
Explanation: If LDI Rd,k is written then the range of Rd varies from R16-R31, as R3 is less than R16 so this instruction will generate an error.
QUESTION
Hide !
Answer: A
Explanation: GPRs are used for implementing arithmetic and logic instructions in the
controller. They do the same work as the accumulator does in the other micro controllers and micro processors.
QUESTION
A) 11111111H
B) FH
C) FFH
D) 00H
Hide !
Answer: C
Explanation: The largest value that can be loaded in an 8 bit register is 11111111b or FFH.
QUESTION
The total space for the data memory available in the AVR based micro controller is?
A) FFH
B) FFFH
C) FFFFH
D) FFFFFH
Hide !
Answer: C
Explanation: The maximum value that can be loaded in the code memory of an AVR based micro controller is FFFFH.
QUESTION
Which out of the following instructions don’t affect the flags of the status register?
A) AND
B) INC
C) OR
D) ADD
Hide !
Answer: D
Explanation: ADD command does not affect the flags of the status register. It just adds the contents of the two registers together.
QUESTION
What is the difference between the two given instructions? LDI R16,0x34 and LDI R16,$34
A) One copies the hexadecimal value to R16 and the other copies the decimal value to the R16 register
Hide !
Answer: D
Explanation: Both the above commands are the same. They both are used for assigning the hexadecimal values to the registers.
QUESTION
A) .EQU
B) .DEVICE
C) .ORG
D) .LDI
Hide !
Answer: D
Explanation: .EQU, .DEVICE, .ORG all are the directives to the assembler whereas LDI is a command.
QUESTION
A) Yes
B) No
C) Cant be said
Hide !
Answer: B
Explanation: High Level Languages are the languages that are written in the common english, so that even a common man can understand it
easily like C,C++, whereas assembly language is a middle level language between the high level and the machine level.
QUESTION
A) 4K
B) 8K
C) 16K
D) 64K
Hide !
Answer: C
Explanation: A program counter of an AVR is 14 bit long which means it has 2^14 bytes of memory or 16K bytes of memory.
QUESTION
A) 00H
B) 000H
C) 0000H
D) 00000H
Hide !
Answer: D
Explanation: When an AVR wakes up, then the PC starts at the memory location 00000H
QUESTION
A) ffffH
B) fffH
C) 00h
Hide !
Answer: C
QUESTION
A) 1 Time
B) 2 Times
C) infinite times
D) 0 times
Hide !
Answer- A
QUESTION
A) 1 Time
B) 2 Times
C) infinite times
D) 0 times
Hide !
Answer- C
QUESTION
Hide !
Answer- B
QUESTION
A) 0 to 255
B) 0 to 5
C) 0 to 1023
D) 0 to 256
Hide !
Answer- A
QUESTION
A) Java
B) C
C) C++
D) PHP
Hide !
Answer- A
QUESTION
In delay(t); t is in :
A) microsec
B) millisec
C) nanosec
D) sec
Hide !
Answer- B
QUESTION
If Serial is begun with Serial.begin(9600); How much time will it take to send 2 ASCII characters?
A) 1.667 millisecond
B) 1.9220 millisecond
C) 4.800 millisecond
D) 1.9200 millisecond
Hide !
Answer- A
QUESTION
Hide !
Answer- B
QUESTION
An Arduino’s microcontroller is pre-programmed with a _______ that simplifies uploading of programs to the on-chip flash memory, compared
with other devices that typically need an external chip programmer
A) personal computer
B) bootloader
C) computer
D) operating system
Hide !
Answer- B
QUESTION
A) timer0
B) timer1
C) timer2
Hide !
Answer: B
Explanation: Timer0 and Timer2 can operate in the 8 bit condition while only Timer 1 operates in the 16 bit condition.
QUESTION
A) f/2
B) f/4
C) f/16
D) f/32
Hide !
Answer: d
Explanation: f/32 has the lowest frequency as it is divided by the maximum value of the constant, so as time and frequency are inversely related
to each other so this will generate the maximum amount of machine cycle which will as a result generate the greatest delay.
QUESTION
C) her the contents are compared with the OCR register, if value becomes equal then only the timer is cleared
Answer: C
Explanation: In CTC mode of a timer the contents of the counter register are compared with the OCR register to clear the flag for the roll over
condition to come.
QUESTION
We can count the pulses on the positive or the negative edge triggered pulse of the clock?
A) true
B) false
C) can’t be determined
Hide !
Answer: A
Explanation: A counter can count pulses on the positive or the negative edge of the clock.
QUESTION
8. We can count the pulses on the positive or the negative edge triggered pulse of the clock?
A) true
B) false
C) can’t be determined
Hide !
Answer: A
Explanation: A counter can count pulses on the positive or the negative edge of the clock.
QUESTION
A) PORTB.0
B) PORTB.1
C) PORTB.2
D) PORTB.3
Hide !
Answer: A
Explanation: PORTB.0 is used for the input clock of the counter0 in AVR micro controllers.
QUESTION
Hide !
Answer: B
Explanation: External clock is used for providing the pulse to the AVR timers if CS02-00=6.
QUESTION
A) Yes
B) No
C) Cant be said
D) none of the mentioned
Hide !
Answer: B
Explanation: If LDI Rd,k is written then the range of Rd varies from R16-R31, as R3 is less than R16 so this instruction will generate an error.
QUESTION
Hide !
Answer: a
Explanation: GPRs are used for implementing arithmetic and logic instructions in the
controller. They do the same work as the accumulator does in the other micro controllers and micro processors.
QUESTION
A) 11111111H
B) FH
C) FFH
D) 00H
Hide !
Answer: C
Explanation: The largest value that can be loaded in an 8 bit register is 11111111b or FFH.
QUESTION
The total space for the data memory available in the AVR based micro controller is?
A) FFH
B) FFFH
C) FFFFH
D) FFFFFH
Hide !
Answer: C
Explanation: The maximum value that can be loaded in the code memory of an AVR based micro controller is FFFFH.
QUESTION
Which out of the following instructions don’t affect the flags of the status register?
A) AND
B) INC
C) OR
D) ADD
Hide !
Answer: D
Explanation: ADD command does not affect the flags of the status register. It just adds the contents of the two registers together.
QUESTION
What is the difference between the two given instructions? LDI R16,0x34 and LDI R16,$34
A) One copies the hexadecimal value to R16 and the other copies the decimal value to the R16 register
B) One is for command, other is for data
Hide !
Answer: D
Explanation: Both the above commands are the same. They both are used for assigning the hexadecimal values to the registers.
QUESTION
A) .EQU
B) .DEVICE
C) .ORG
D) .LDI
Hide !
Answer: D
Explanation: .EQU, .DEVICE, .ORG all are the directives to the assembler whereas LDI is a command.
QUESTION
A) Yes
B) No
C) Cant be said
Hide !
Answer: B
Explanation: High Level Languages are the languages that are written in the common english, so that even a common man can understand it
easily like C,C++, whereas assembly language is a middle level language between the high level and the machine level.
A) 4K
B) 8K
C) 16K
D) 64K
Hide !
Answer: C
Explanation: A program counter of an AVR is 14 bit long which means it has 2^14 bytes of memory or 16K bytes of memory.
QUESTION
A) 00H
B) 000H
C) 0000H
D) 00000H
Hide !
Answer: D
Explanation: When an AVR wakes up, then the PC starts at the memory location 00000H
QUESTION
B) fffH
C) 00h
Hide !
Answer: C
QUESTION
A) 1 Time
B) 2 Times
C) infinite times
D) 0 times
Hide !
Answer- A
A) 1 Time
B) 2 Times
C) infinite times
D) 0 times
Hide !
Answer- C
QUESTION
Hide !
Answer- B
QUESTION
A) 0 to 255
B) 0 to 5
C) 0 to 1023
D) 0 to 256
Hide !
Answer- A
QUESTION
A) Java
B) C
C) C++
D) PHP
Hide !
Answer- A
QUESTION
In delay(t); t is in :
A) microsec
B) millisec
C) nanosec
D) sec
Hide !
Answer- B
QUESTION
If Serial is begun with Serial.begin(9600); How much time will it take to send 2 ASCII characters?
A) 1.667 millisecond
B) 1.9220 millisecond
C) 4.800 millisecond
D) 1.9200 millisecond
Hide !
Answer- A
Hide !
Answer- B
QUESTION
An Arduino’s microcontroller is pre-programmed with a _______ that simplifies uploading of programs to the on-chip flash memory, compared
with other devices that typically need an external chip programmer
A) personal computer
B) bootloader
C) computer
D) operating system
Hide !
Answer- B