Python Test 1

Python Test 1

6th - 8th Grade

30 Qs

quiz-placeholder

Similar activities

Python Revisoin

Python Revisoin

8th Grade

25 Qs

Beginner Python KS3 Revision

Beginner Python KS3 Revision

8th - 10th Grade

26 Qs

TechSmart Unit 2 Test

TechSmart Unit 2 Test

6th - 8th Grade

25 Qs

Python Code 3- PLTW AC

Python Code 3- PLTW AC

6th - 8th Grade

25 Qs

python

python

KG - Professional Development

30 Qs

Python new

Python new

3rd Grade - University

26 Qs

Python Gaddis

Python Gaddis

8th Grade

25 Qs

Understanding Input, Selection and Loops in Python

Understanding Input, Selection and Loops in Python

7th Grade - University

25 Qs

Python Test 1

Python Test 1

Assessment

Quiz

Computers

6th - 8th Grade

Medium

Created by

Sudeep Joshi

Used 4+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the word (command) used to display numbers and text on the screen?
print
input
output
command

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What symbol is used in python to assign values to a variable?
equals =
plus + 
forward slash /
asterisk *

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output?

name = "Dave"

print (name)

Dave

'Dave'

name

(name)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement correctly assigns the string "Tanner" to the variable name?
name  = print( "Tanner")
input("Tanner")
name = "Tanner"
name = input("Tanner")

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What Python command lets the user enter an answer to a question?
answer()
open()
print()
input()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
In the following code, "city" is an example of a what?
List
Loop
Variable
Array

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What would print (10 + 16) produce?

10

16

24

26

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?