Font size
WorksheetsMicroprocessor & Microcontroller Basics
Total questions: 60
Worksheet time: 30mins
Memory size of 8086 microprocessor
1MB
4KB
256 bytes
128bytes
The number of General Purpose Registers present in 8086 microprocessor
4
14
10
34
The starting address of the segment is called
base address
offset address
effective address
none of the above
CX is associated with which instruction
add
loop
inc
dec
NMI stands for
Not memory instruction
not maskable interrupt
non maskable instruction
none of the above
Address latch enable pin is used to
multiplex address and data lines
demultiplex address and data lines
MOV AX,[1234H] Type of addressing mode used
Immediate addressing mode
direct addressing mode
register relative mode
base index mode
NEG (Negate) instruction does the following instruction
2s complement
1s complement
MOV CX,[BX+DI] type of addressing mode
register relative addressing mode
base plus index addressing mode
(a)
CMP does
internal subtraction and store the result in accumulator
internal addition and store the result in accumulator
internal subtraction and doesn't store any result
An integrated circuit that contains all the functions of a central processing unit of a computer
Arithmetic Logic Unit
Control Unit
Microprocessor
Input device reads Analogue Signal
Sensor
Microprocessor
Analogue - Digital
Digital – Analogue
Interface which converts Analogue Signal to Digital Signal
DAC
Microprocessor
ADC
Sensor
Detect the noise of liquids dripping in a pipe
Temperature Sensor
Light Sensor
Acoustic Sensor
Moisture Sensor
A 16-bits address bus can generate _____addresses.
32767
25652
65536
None of the mentioned
Which of the following is a 16-bit register?
AL
AX
AH
All of the mentioned
RISC is ...
Random Instruction Set Computer
Reduced Instruction Set Computer
Reduced Instruction Super Computer
Random Instruction Super Computer
If microcontroller can execute 1 instruction for 1 cycle, how many instruction the microcontroller do if it has 100KHz?
1 MIPS
1 KIPS
10 KIPS
100 KIPS
(a)
PWM is ...
Pulse Width Modulation
Pulse Wide Modulation
Process Width Modulation
Process Wide Modulation
How many port IO in ATMega 8535?
1
2
3
4
What port in ATMega 8535 which can convert Analog signal to Digital Representation
Port A
Port B
Port C
Port D
To be fully functional, a microcontroller needs ...
Power Supply
Clock Generator
Power Reset
All Answers are correct
What function which can stop the main program and do other subprograms?
Interrupt
Timer
Counter
SPI
Which architecture is used to store program and data
Vonnewmann
Havard
Reduced instruction set
Complex instruction set
UART ……
(a)
This is the one of the useful special function of a microcontroller.
Parallel input/output ports
Interrupt control
Special functioning block
Timers/counters
_________ elements can make something happen in the world such as motion, light or sound.
Input
Output
Sensor
Microcontroller
What are the highlighted components on Maker below ?
LED Grid
Push Button
Pen Pad
Power pad
Syntax for LCD library is
#include <lcd.h>
#include <lcd>
#include <adc>
#include <Lcd.c>
What is the syntax to set the cursor on LCD using Arduino?
lcd.print(val);
lcd.clear();
lcd.begin(16,2);
lcd.setCursor(0,0);
To declare a single bit in 8051, we use the following syntax
SBIS a, b
SBIC a, b
Sbit variable= pin
sbit variable=pin
Step by step of instruction to do something
Input
Output
Process
Algorithm
1. What does IDE stand for?
Integrated Development Environment
In Deep Environment
Internal Deep Escape
Intergrated develop environment
Which command is called repetitively over and over again as long as the Arduino has power.
loop ( )
(output)
setup ( )
(input)
What is Arduino?
A company for selling microcontrollers
A software used to program microcontrollers
An open-source electronics prototyping platform based on flexible, easy-to-use hardware and software
Arduino can interact with...
buttons, leds
smartphone
sensors
all of the above
A program written with the IDE for Arduino is called
Editor
Console
Sketch
IDE error
Identify this computer part.
Input devices
Output devices
Ram memory
CPU (Processing Unit)
Watchdog is....?
Timer used to detect a system problem
A converter to convert Analog to Digital
Random Access Memory
A timer case a microcontroller to respond to external and internal events
How many rows and columns are present in a 16*2 alphanumeric LCD?
rows=2, columns=32
rows=4, columns=16
rows=2, columns=64
rows=2, columns=16
Which pin of the LCD is used for adjusting its contrast?
VEE
VDD
EN
RS
1. List the pins available for serial communication
(a)
For writing commands on an LCD, RS bit is
Set
Reset
Both
None of the mentioned
The 8051 has __ 16 bit counter /timer
1
2
3
4
The TMOD register is __ bit register
2
4
8
16
TFO and TF1 are part of register ____
TCON
TMOD
SCON
SBUF
What steps are followed when we need to turn on any timer?
Load the count, start the timer, keep monitoring, stop the timer
Load TMOD, load the count, start the timer, keep monitoring, stop the timer
Start the timer, keep monitoring, stop the timer
Load TMOD, keep monitoring, stop the timer
GPIO stands for?
General Purpose Inner Outer Propeller
General Purpose Input Output Pins
General Purpose Interested Old People
General Purpose Input Output Processor
Which one is the 13 bit timer mode?
Mode 0
Mode 1
Mode 2
Mode 3
Both registers TLO & TL1 are needed to start Timer 0
True
False
TR1, TR0 bits are of which register?
TCON
TMOD
Internal Ram memory of 8051
64k
4k
128 byte
256 byte
The 8051 can handle ___ interrupt sources
2
3
4
5
Which pin of the external hardware is said to exhibit interrupt
INT0
RST7.5
RST6.5
TRAP
When we add 2 numbers the destination address must always be
Any register
Accumulator
Memory
Immediate data
Which of the ports act as 16 bit address line for transferring data through it?
Port 0 & port 1
Port 1 & port 2
Port 0 & port 2
Port 1 & port 3
Which is the microprocessor comprises?
Register section
One or more ALU
Control unit
All of the mentioned
Government holiday
(a)
