Font size
WorksheetsProgramming knowledge contest ( 1st level )
Total questions: 20
Worksheet time: 20mins
Which of the following statements assigns the value 100 to the variable x in Python:
x << 100
x = 100
x := 100
x ← 100
Which of the following are valid Python variable names:
route66
4square
return
home_address
Age
The type of the variable here is --------
char letter = 'a';
Integer
Float
Character
Boolean
The type of the variable here is --------
bool state = true;
Integer
Float
Character
Boolean
How would you define the variable y=5.3 in Arduino coding?
int y=5.3;
char y=5.3;
float y=5.3;
bool y=5.3;
Which of the following is correct to write your name as a comment in Arduino coding?
/ Myname
//Myname
/*Myname
<Myname>
For the following code, which statement (s) will be executed? (Multiple choice)
int x=3;
int y=4;
if(x>y)
{ statement A;}
else {Statement B;}
Statement C;
A
B
C
for the following code, What is the right output?
for(int i=1;i<3;i++)
{Serial.begin(9600);
Serial.print("Hello");
}
Hello
Hello
Hello
HelloHello
Hello Hello
Physical parts of a computer...such as the keyboard and monitor.
software
hardware
What does RAM stand for?
Random Accurate Maps
Really Awesome Memory
Read Only Memory
Random Access Memory
All memory is measured in what?
Meters (m)
Giga Bytes (GB)
Volume (v)
Inches (in)
Which of the following is an Input device?
Printer
Monitor
Speakers
Keyboard
hat does a computer, phone, or tablet HAVE to have for it to run.
Operating System
Available System
Operating Table
Sound System
How much is 1024 bytes?
gigabyte
kilobyte
megabyte
What does the term "bug" mean for technology?
problem
an insect
not enough memory
a device having a designed resistance to the passage of an electric current.
LED light
Resistor
USB cord
Raspbian
A letter or symbol to which a some value can be assigned.
Output
Variable
Bug
What do you call this electronic part?
Arduino Duo
Arduino Uno
Are do we know
Breadboard
Identify the electronic component shown.
Light emotion diode
Liquid emitting display
Light emotion display
Light emitting diode
Python is an example of a....
Text-based programming language
Object orientated programming language
language written in java script
Visual-based programming language
