Font size
WorksheetsData Types
Total questions: 25
Worksheet time: 41mins
Which one is the correct way to spell for variable integer ?
int
Int
Which data type suitable to use for "My name is Alia"
float
char
double
String
Which one is the correct way to spell for the string data type?
String
string
Which data type suitable for variable which have an information of 'A'?
char
float
int
string
Which one is the correct way to spell double?
douBle
double
What data type suit for "1500"?
float
int
double
char
Which one is the correct way to spell for the float in the programming?
float
Float
Choose correct data type to use for 1.9879
float
char
double
int
Choose the correct way to write integer data types in Arduino Program
integer
int
What data type suitable to use for 4.7634855700085538913945795021947592?
(a)
Choose the correct way to initialized character data types
char
character
Choose the variables without any values
int number =3;
float shoes;
float pi=3.142;
douple pi;
char alphabets;
Choose variables with values
string class = "6 Newton";
double = 4.567901305;
int x;
char class = 'Z';
float mass;
What is the function of ( ) symbols ?
Like the container to hold information
Like a storage to keep data
As the opening and closing for complete instructions
To pause or separate instruction
"Top separate instructions or pause the program"
Which symbols has the function as stated in the above statement?
Bracket
Curly bracket
Semicolon
Dot
Which statement explain about the block-based coding?
create a program by writing using the respective command available in programming language
create a program by dragging and dropping blocks
What is the advantages of code-based programming ?
Prevents syntax errors
No need to memorize any syntax
Can create a complicated program with more functions
Can control sensors
Which are the two main structures in Arduino software?
void setup ()
void repeat ()
void loop ()
void main ()
What type of programming language does Arduino® use?
Python
C++
JavaScript
HTML
Which of these is NOT an Arduino® data type?
boolchar
int
string
double
Which variable stores a number with decimals?
myInt = 10
myFloat = 3.14
myString = "Hello"
myChar = 'A'
What is the purpose of declaring variables in an Arduino® program?
To avoid using functions
To store data that can be used in the program
To make the program run faster
To skip using loops
Which of the following is true about "constants" in Arduino®?
Constants can change their value during the program
Constants are not allowed in Arduino®
Constants are declared using the keyword "const"
Constants are not allowed in Arduino®
Which data type would you use to store the text "Arduino"?
(a)
Do these structure are compulsory to have in your program ?
True
False
