Font size
Worksheets7th grade CS exam
Total questions: 20
Worksheet time: 43mins
What will be the output?
a = 3
b = 4
print(a)
4
3
7
1
What will be displayed as a result:
a = 9
b = 2
print(a//b)
3
18
4
11
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 = 7
if b > 9:
b = b - 3
4
7
0
6
What will be c ?
x = 4
c = 0
while x > 1:
c = c + 1
x = x - 1
7
0
1
3
What will be displayed on the screen?
b = 10%3
print(b)
4
3
0
1
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
for
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()
forward()
begin_fill()
left()
What angle we used to draw star in turtle:
(a)
Which number we use in loop to draw Square in turtle:
(a)
Which one is User Interface?
Driver
MIUI
Linux
IDLE
Which one is Operating System?
Linux
Java
One UI
Tynker
Driver is a:
developing of computer softwares
operating system
programming language
code that allows you to cowork with Hardware
Find High-level programming language:
Rust
Assembler
Python
Driver
Fill the blank:
(a) -level programming language is easy for computers, but hard to study for humans
