wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Microprocessor & Microcontroller Basics

Total questions: 60

Worksheet time: 30mins

Name
Class
Date
1.

Memory size of 8086 microprocessor

a)

1MB

b)

4KB

c)

256 bytes

d)

128bytes

2.

The number of General Purpose Registers present in 8086 microprocessor

a)

4

b)

14

c)

10

d)

34

3.

The starting address of the segment is called

a)

base address

b)

offset address

c)

effective address

d)

none of the above

4.

CX is associated with which instruction

a)

add

b)

loop

c)

inc

d)

dec

5.

NMI stands for

a)

Not memory instruction

b)

not maskable interrupt

c)

non maskable instruction

d)

none of the above

6.

Address latch enable pin is used to

a)

multiplex address and data lines

b)

demultiplex address and data lines

7.

MOV AX,[1234H] Type of addressing mode used

a)

Immediate addressing mode

b)

direct addressing mode

c)

register relative mode

d)

base index mode

8.

NEG (Negate) instruction does the following instruction

a)

2s complement

b)

1s complement

9.

MOV CX,[BX+DI] type of addressing mode

a)

register relative addressing mode

b)

base plus index addressing mode

10.



(a)  

11.

CMP does

a)

internal subtraction and store the result in accumulator

b)

internal addition and store the result in accumulator

c)

internal subtraction and doesn't store any result

12.

An integrated circuit that contains all the functions of a central processing unit of a computer

a)

Arithmetic Logic Unit

b)

Control Unit

c)

Microprocessor

13.

Input device reads Analogue Signal

a)

Sensor

b)

Microprocessor

c)

Analogue - Digital

d)

Digital – Analogue

14.

Interface which converts Analogue Signal to Digital Signal

a)

DAC

b)

Microprocessor

c)

ADC

d)

Sensor

15.

Detect the noise of liquids dripping in a pipe

a)

Temperature Sensor

b)

Light Sensor

c)

Acoustic Sensor

d)

Moisture Sensor

16.

A 16-bits address bus can generate _____addresses.

a)

32767

b)

25652

c)

65536

d)

None of the mentioned

17.

Which of the following is a 16-bit register?

a)

AL

b)

AX

c)

AH

d)

All of the mentioned

18.

RISC is ...

a)

Random Instruction Set Computer

b)

Reduced Instruction Set Computer

c)

Reduced Instruction Super Computer

d)

Random Instruction Super Computer

19.

If microcontroller can execute 1 instruction for 1 cycle, how many instruction the microcontroller do if it has 100KHz?

a)

1 MIPS

b)

1 KIPS

c)

10 KIPS

d)

100 KIPS

20.



(a)  

21.

PWM is ...

a)

Pulse Width Modulation

b)

Pulse Wide Modulation

c)

Process Width Modulation

d)

Process Wide Modulation

22.

How many port IO in ATMega 8535?

a)

1

b)

2

c)

3

d)

4

23.

What port in ATMega 8535 which can convert Analog signal to Digital Representation

a)

Port A

b)

Port B

c)

Port C

d)

Port D

24.

To be fully functional, a microcontroller needs ...

a)

Power Supply

b)

Clock Generator

c)

Power Reset

d)

All Answers are correct

25.

What function which can stop the main program and do other subprograms?

a)

Interrupt

b)

Timer

c)

Counter

d)

SPI

26.

Which architecture is used to store program and data

a)

Vonnewmann

b)

Havard

c)

Reduced instruction set

d)

Complex instruction set

27.

UART ……

(a)  

28.

This is the one of the useful special function of a microcontroller.

a)

Parallel input/output ports

b)

Interrupt control

c)

Special functioning block

d)

Timers/counters

29.

_________ elements can make something happen in the world such as motion, light or sound.

a)

Input

b)

Output

c)

Sensor

d)

Microcontroller

30.

What are the highlighted components on Maker below ?

a)

LED Grid

b)

Push Button

c)

Pen Pad

d)

Power pad

31.

Syntax for LCD library is

a)

#include <lcd.h>

b)

#include <lcd>

c)

#include <adc>

d)

#include <Lcd.c>

32.

What is the syntax to set the cursor on LCD using Arduino?

a)

lcd.print(val);

b)

lcd.clear();

c)

lcd.begin(16,2);

d)

lcd.setCursor(0,0);

33.

To declare a single bit in 8051, we use the following syntax

a)

SBIS a, b

b)

SBIC a, b

c)

Sbit variable= pin

d)

sbit variable=pin

34.

Step by step of instruction to do something

a)

Input

b)

Output

c)

Process

d)

Algorithm

35.

1. What does IDE stand for?

a)

Integrated Development Environment

b)

In Deep Environment

c)

Internal Deep Escape

d)

Intergrated develop environment

36.

Which command is called repetitively over and over again as long as the Arduino has power.

a)

loop ( )

b)

(output)

c)

setup ( )

d)

(input)

37.

What is Arduino?

a)

A company for selling microcontrollers

b)

A software used to program microcontrollers

c)

An open-source electronics prototyping platform based on flexible, easy-to-use hardware and software

38.

Arduino can interact with...

a)

buttons, leds

b)

smartphone

c)

sensors

d)

all of the above

39.

A program written with the IDE for Arduino is called

a)

Editor

b)

Console

c)

Sketch

d)

IDE error

40.

Identify this computer part.

a)

Input devices

b)

Output devices

c)

Ram memory

d)

CPU (Processing Unit)

41.

Watchdog is....?

a)

Timer used to detect a system problem

b)

A converter to convert Analog to Digital

c)

Random Access Memory

d)

A timer case a microcontroller to respond to external and internal events

42.

How many rows and columns are present in a 16*2 alphanumeric LCD?

a)

rows=2, columns=32

b)

rows=4, columns=16

c)

rows=2, columns=64

d)

rows=2, columns=16

43.

Which pin of the LCD is used for adjusting its contrast?

a)

VEE

b)

VDD

c)

EN

d)

RS

44.

1. List the pins available for serial communication

(a)  

45.

For writing commands on an LCD, RS bit is

a)

Set

b)

Reset

c)

Both

d)

None of the mentioned

46.

The 8051 has __ 16 bit counter /timer

a)

1

b)

2

c)

3

d)

4

47.

The TMOD register is __ bit register

a)

2

b)

4

c)

8

d)

16

48.

TFO and TF1 are part of register ____

a)

TCON

b)

TMOD

c)

SCON

d)

SBUF

49.

What steps are followed when we need to turn on any timer?

a)

Load the count, start the timer, keep monitoring, stop the timer

b)

Load TMOD, load the count, start the timer, keep monitoring, stop the timer

c)

Start the timer, keep monitoring, stop the timer

d)

Load TMOD, keep monitoring, stop the timer

50.

GPIO stands for?

a)

General Purpose Inner Outer Propeller

b)

General Purpose Input Output Pins

c)

General Purpose Interested Old People

d)

General Purpose Input Output Processor

51.

Which one is the 13 bit timer mode?

a)

Mode 0

b)

Mode 1

c)

Mode 2

d)

Mode 3

52.

Both registers TLO & TL1 are needed to start Timer 0

a)

True

b)

False

53.

TR1, TR0 bits are of which register?

a)

TCON

b)

TMOD

54.

Internal Ram memory of 8051

a)

64k

b)

4k

c)

128 byte

d)

256 byte

55.

The 8051 can handle ___ interrupt sources

a)

2

b)

3

c)

4

d)

5

56.

Which pin of the external hardware is said to exhibit interrupt

a)

INT0

b)

RST7.5

c)

RST6.5

d)

TRAP

57.

When we add 2 numbers the destination address must always be

a)

Any register

b)

Accumulator

c)

Memory

d)

Immediate data

58.

Which of the ports act as 16 bit address line for transferring data through it?

a)

Port 0 & port 1

b)

Port 1 & port 2

c)

Port 0 & port 2

d)

Port 1 & port 3

59.

Which is the microprocessor comprises?

a)

Register section

b)

One or more ALU

c)

Control unit

d)

All of the mentioned

60.

Government holiday

(a)