Datatypes Online Exam Quiz
Datatypes GK Quiz. Question and Answers related to Datatypes. MCQ (Multiple Choice Questions with answers about Datatypes
Can the digitalRead() function identify analog voltages?
Options
A : Yes, it can
B : No, it cannot
C : Yes, it can but only 2
D : Yes, it can but only 4
Can the digitalWrite() function be used from any analog pin?
Options
A : No, it cannot
B : Yes, it can, but only on certain Arduino Boards
C : Yes, it can
D : Yes, it can, but only through certain pins
How can you assign the binary number 101 to an integer variable?
Options
A : Var = B101
B : Var = 101
C : Var = bin(101)
D : Var = Bin(101)
How many arguments does the digitalRead() function have?
Options
A : 1
B : 2
C : 3
D : 4
How many voltage levels are present when a pin uses digitalWrite()?
Options
A : 1
B : 2
C : 3
D : 4
What method does the int datatype use for storing negative numbers?
Options
A : 1's Complement
B : 2's Complement
C : 3's Complement
D : 4's Complement