Control Structures Online Exam Quiz

Control Structures GK Quiz. Question and Answers related to Control Structures. MCQ (Multiple Choice Questions with answers about Control Structures

Can the break statement be used to abort a program?

Options

A : Yes

B : Yes, but only if it is used within the global scope

C : No

D : Yes, but only for some Arduino Boards

View Answer

How many bits of memory does the bool datatype occupy?

Options

A : 2

B : 4

C : 6

D : 8

View Answer

How many bits of memory does the Short datatype take up?

Options

A : 17

B : 15

C : 16

D : 14

View Answer

What datatype should one use to represent 2147483610?

Options

A : Int

B : Byte

C : Short

D : Long

View Answer

Which one of the control structures is similar to the if-else statement?

Options

A : Switch-case

B : For loop

C : While loop

D : Continue

View Answer

Adafruit FONA 3G+GPS Breakout more Online Exam Quiz

ADXL335 Accelerometer Sensor

Analog Input Output

Board Hardware Specifications

Board Pinout Structure

Compilation

Datatypes

Digital Input Output

ESP8266 Wifi Module

Finding Out Program Outputs

GSR Sensor