

MCQOPTIONS
Saved Bookmarks
This section includes 5 Mcqs, each offering curated multiple-choice questions to sharpen your Arduino knowledge and support exam preparation. Choose a topic below to get started.
1. |
How can you assign the binary number 101 to an integer variable? |
A. | Var = B101 |
B. | Var = 101 |
C. | Var = bin(101) |
D. | Var = Bin(101) |
Answer» B. Var = 101 | |
2. |
What method does the int datatype use for storing negative numbers? |
A. | 1 s Complement |
B. | 2 s Complement |
C. | 3 s Complement |
D. | 4 s Complement |
Answer» C. 3 s Complement | |
3. |
How many bits of memory does the Short datatype take up? |
A. | 17 |
B. | 15 |
C. | 16 |
D. | 14 |
Answer» D. 14 | |
4. |
What datatype should one use to represent 2147483610? |
A. | Int |
B. | Byte |
C. | Short |
D. | Long |
Answer» E. | |
5. |
How many bits of memory does the bool datatype occupy? |
A. | 2 |
B. | 4 |
C. | 6 |
D. | 8 |
Answer» E. | |