Basic Python

Basic Python

10th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

Python I/O

Python I/O

9th - 12th Grade

15 Qs

Python Iteration

Python Iteration

10th Grade

17 Qs

Computer Science Python

Computer Science Python

9th - 12th Grade

25 Qs

Quiz1_7C

Quiz1_7C

3rd Grade - University

15 Qs

Python for Each

Python for Each

10th - 11th Grade

18 Qs

python - Launch Lesson

python - Launch Lesson

7th - 12th Grade

22 Qs

Python 14/12/16

Python 14/12/16

9th - 11th Grade

20 Qs

Grade 8 End of Unit Revision

Grade 8 End of Unit Revision

8th Grade - University

15 Qs

Basic Python

Basic Python

Assessment

Quiz

Computers

10th - 12th Grade

Hard

Used 2K+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To repeat a fixed number of times use a
while loop
for loop
if loop
indentation

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The second part of if, that is executed when the condition is false
if
else
for
input

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The character that must be at the end of the line for if, while, for etc.
:
;
.
,

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Converts a number to a string
str()
int()
parseInt()
convert

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Python identifies blocks of code by
BEGIN and END keywords
{ and }
aligning up the starts of lines (indentation)
guessing

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is a correctly-formatted comment?
#Comment
&Comment
""Comment""
!Comment

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

stores a piece of data, and gives it a specific name
variable
whitespace
interpreter
modulo

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?