Microcontroller module2

Quiz
•
Computers
•
University
•
Hard
Mary Murphy
Used 41+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
To work the DDRx register an output port set DDRx register 1.
True
False
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
After the execution of following commands
LDI R16, 0X00
OUT DDRB, R1
Then the PORTB act as a output register
Then the PORTB act as a input register
Then the PORTB act as a control register
Then the PORTB act as a status register
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
§ To read the data present at the pins, we should read the
PORT register
Control register
PIN register.
DDR register
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
To set HIGH a single bit of a given I/O register, we use the following syntax.
SBIS a, b
CBI ioReg, bit _ number
SBIC a, b
SBI ioReg, bit_num
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If we want to mask '4'in the number '45' we do the following command
LDI R20,0x45
ANDI R20,0xFF
LDI R20,0x45
ANDI R20,0x0F
LDI R20,0x45
ANDI R20,0xF0
LDI R20,0x45
ORI R20,0xFF
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Suppose the content of register R20 is 67, After execution of an instruction the content of register R20 became 76. What may be the instruction?
LSL R20
SWAP R20
ROR R20
ROL R20
7.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Major reasons for writing programs in C for AVR programing are
It is easier and less time consuming to write in C than in Assembly.
C is easier to modify and update.
You can use code available in function libraries.
C code is portable to other microcontrollers with little or no modification.
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
UNIDADES DE MEDIDA DE INFORMACIÓN

Quiz
•
University
11 questions
Quiz #02 |Digital Marketing

Quiz
•
University
10 questions
Raspberry Pi MCQ

Quiz
•
University
15 questions
ADMINISTRASI INFRASTRUKTUR JARINGAN

Quiz
•
12th Grade - University
11 questions
Ejercicio ensayo de sistemas binarios

Quiz
•
University
10 questions
Binary Quiz

Quiz
•
9th Grade - University
15 questions
Microcontroller

Quiz
•
University
10 questions
Asesmen Formatif Google Sheet - Part 1

Quiz
•
11th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University