
Microcontroller-Chapter 2 (Part 1)
Quiz
•
Computers
•
University
•
Practice Problem
•
Medium
Wany Zamani
Used 3+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct symbol used for multiple-line comments in C?
// comment //
/* comment */
# comment #
-- comment --
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which statement best describes the use of multiple-line comments in C?
They are used only at the beginning of the program.
They provide a deeper explanation and can span several lines.
They must always appear after a return statement.
They are automatically converted into documentation files.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the function of the TRIS register in a PIC microcontroller?
To store data temporarily in memory
To set the clock frequency of the microcontroller
To enable or disable interrupts
To control whether each pin in a PORT is input or output
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following correctly describes the effect of setting TRISB = 0x00; in a PIC microcontroller?
All pins of PORTB are configured as input.
All pins of PORTA are configured as input.
All pins of PORTA are configured as output.
All pins of PORTB are configured as output.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main function of an ADC (Analogue-to-Digital Converter) in a PIC microcontroller?
To convert digital signals into analogue signals
To convert analogue signals into digital signals
To amplify analogue signals
To generate analogue signals from sensors
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the effect of the instruction ADCON0 = 0x00; in a PIC program?
It turns the ADC on.
It sets all PORTA pins as analogue.
It turns the ADC off.
It converts all bits to input mode.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which register controls the internal oscillator block in a PIC microcontroller?
T0CON
ADCON0
OSCCON
OPTION_REG
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
INTO Artificial Intelligence
Quiz
•
University - Professi...
14 questions
ITF Chapter 1 Computing Devices
Quiz
•
University
10 questions
Let's Play Together
Quiz
•
University - Professi...
10 questions
Chapter 11 Quizz
Quiz
•
University
10 questions
Machine Learning (Introduction)
Quiz
•
University
11 questions
Determining System Requirements
Quiz
•
University
15 questions
1.1.1 The structure and function of the processor
Quiz
•
11th Grade - University
10 questions
Planning and Implementation of Information Security
Quiz
•
University
Popular Resources on Wayground
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
15 questions
Solving Equations with Variables on Both Sides Review
Quiz
•
8th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
7 questions
Different Types of Energy
Interactive video
•
4th Grade - University
7 questions
Transition Words and Phrases
Interactive video
•
4th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Biomolecules (Updated)
Interactive video
•
11th Grade - University
34 questions
Unit 5 Review - The Middle Ages in Europe-B
Quiz
•
9th Grade - University
26 questions
Day2 classwork: Permutation and combination
Quiz
•
2nd Grade - University
5 questions
Using Context Clues
Interactive video
•
4th Grade - University
