Font size
Worksheets8th grade CS exam
Total questions: 20
Worksheet time: 40mins
What will be the output?
a = 5
b = 6
print(a)
5
6
11
1
What will be displayed as a result:
a = 4
b = 6
print(a*b)
24
12
6
a*b
What is the value of "a" after the program is executed?
a = 2
if a<3:
print(a+1)
else:
print(a-1)
3
2
1
0
What will be b after running the program?
b = 2
if b > 4:
b = b + 2
4
2
0
нет правильного ответа
What will be c ?
x = 3
c = 0
while x > 1:
c = c +1
x = x -1
3
0
1
2
What will be displayed on the screen?
a = 5
b = 10/2
print(a == b)
True
Nothing
0
False
To display messages on the console screen, use the function:
input()
print()
int()
string()
Which function is used to convert data to a number:
string()
print()
input()
int()
To create condition we use:
if
while
for
def
find loop:
if
while
def
class
< – means:
more
less
more or equal
less or equal
What will be the result?
You are a Rodion! I don't know you!
You are a stranger! I don't know you!
Hello, Kyrylo!
Hello, Rodion!
What command we will use to move straight(прямо)?
circle()
backward()
begin_fill()
left()
What angle we used to draw star in turtle:
(a)
Which number we use in loop to draw hexagon in turtle:
(a)
Find out System Software:
Super Idol
Chrome
Windows
Paint
Which one is Hardware?
Photoshop
Driver
CPU
macOS
Which part of IDE catches ERRORS?
Console
Compiler
Code editor
Debugger
In which part of IDE we write code?
Console
Compiler
Code editor
Debugger
Find Software for programming:
Chrome
IDLE
Linux
Notepad
