Python Quiz

Python Quiz

3rd Grade - Professional Development

11 Qs

quiz-placeholder

Similar activities

Year 7 Python

Year 7 Python

7th Grade

12 Qs

SLR 9 - Advanced Programming Techniques - Part Two

SLR 9 - Advanced Programming Techniques - Part Two

10th Grade

10 Qs

Python Programming

Python Programming

5th Grade - University

15 Qs

Big Idea 3

Big Idea 3

9th - 12th Grade

15 Qs

Functions in Python

Functions in Python

9th - 12th Grade

15 Qs

Pascal Assessment

Pascal Assessment

3rd - 4th Grade

10 Qs

Input and Output Operations in Python

Input and Output Operations in Python

6th - 10th Grade

11 Qs

Python basics

Python basics

9th - 12th Grade

16 Qs

Python Quiz

Python Quiz

Assessment

Quiz

Computers, Fun

3rd Grade - Professional Development

Medium

Created by

Ridit Agarwal

Used 10+ times

FREE Resource

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command is used to write a string or integer in the shell?

print(" ")

write( )

" "

(" ")

2.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

A variable "num" has been created. If the value of num is 21 and I use print(num), what will the result be

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What symbol do you type in to add a short comment?

"""

#

@

/

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

True or False:

"phone number" is a good name for a variable.

True

False

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does this function do?

input()

Opens the CD tray.

Asks the user to type something in.

Displays the word 'input'.

Exits the program.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a variable?

A number such as 25.

Plus, minus, multiply, divide or equals.

An array of text.

A storage location in the program which stores a value.

7.

MULTIPLE SELECT QUESTION

1 min • 1 pt

What is the code for adding 1 + 1

print(1 + 1)

num1 = 1

num2 = 1

print(num1 + num2)

for i in range(0, 2):

print(i)

All will raise error

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?