Font size
WorksheetsQ3 Quiz Review
Total questions: 35
Worksheet time: 22mins
What is a string in C++?
A sqeuence of numbers
a keyword used to define a function
a type of look used for iteration
We can use sleep() to create
a delay for out output
a delay for our input
What is the purpose of using cin in C++?
To output data to the console
To input data from the console
What is the purpose of using 'break' in a loop in C++?
To skip the current iteration and move to the next one
To terminate the loop and exit its execution
What does the 'endl' manipulator do in C++?
Ends the program execution
Ends the line and flushes the output buffer
What does the '>>' operator do in C++?
Performs bitwise AND operation
Extracts input from the stream
How many sides does a 7 Segment Display have?
8
6
5
7
A seven-segment display can be used to display numbers only.
True
False
Which electronic component is needed for the 7 segment display to work?
resistors
LEDs
AND gates
NOT gates
Which component is used to restrict the flow of Current in the Circuit?
LED
Battery
Resistor
Jumper Wires
Which of the following is a function?
Sign in TinkerCAD account.
What are the segments that we need to code as HIGH to display number 2?
A,C,B,G,F
B,C,G,F,G
A,B, D,E,G
A,B,C,D,E
What is the correct function to display number 3 to the 7 Segment display?
Debug the program. Explain what is wrong to the code.
Which of the following is the correct alphabet setup in 7 segment display
What is seven Segment display
Seven segment display is an electronic device which consists of 7 Light Emitting Diodes
Seven segment display is an electronic device which consists of 14 LED that can be used to display infinite number of patterns
(a) is a sensor used to sense motion?
PIR Sensor
PIR sensors cannot sense motion.
True
False
Look at the image. The sensor depicted is:
An ultrasonic sensor
A passive infrared sensor
A LDR sensor
A temperature sensor
Look at the image. The output is:
Ultrasonic sensor
Passive infrared sensor
LDR
LED
Arduino
Look at the image. The input is:
Ultrasonic sensor
Passive infrared sensor
LDR
LED
Arduino
1 second equals to _____________.
1000 millisecond
1000 microsecond
Identify the component name in the picture shown above
Buzzer
Sensor
Servo Motor
Photo Resistor
Identify the component name in the picture shown above
LCD Display
Bread Board
Potentiometer
Remote
Identify the component name in the picture shown above
Photoresistor
Diode
Resistor
Capacitor
Identify the component name in the picture shown above
Potentiometer
Push Button Switch
Stepper Motor
Tilt Ball Switch
The following piece of code tells me that...
I have introduced a 2 in the variable led
I have connected the LED component in the analog pin 2
I have connected the LED component in the digital pin 2
None is correct
In which function do we indicate the initial instructions and if the components are INPUTS or OUTPUTS?
Variables section
void setup() function
void loop (function)
Comments
In this project we have built a...
Digital flute
Traffic light
Solar alarm
Digital piano
This piece of code...
Moves a servo 90º
Turn on a LED 90º
indicates that the servo is in the digital pin 90
None is correct
delay(2000) means...
wait 2000 seconds
wait 2 seconds
wait 2000 years
turn on the Arduino 2000 seconds
The buzzer is going to sound if...
The distance detected by the ultrasonic sensor is equal 10cm
The distance detected by the ultrasonic sensor is 9 cm
The distance detected by the ultrasonic sensor is 11cm
None is correct
