Python Test 1

Python Test 1

6th - 8th Grade

30 Qs

quiz-placeholder

Similar activities

Computer Pretest1(Arduino Grade8_t1)

Computer Pretest1(Arduino Grade8_t1)

3rd Grade - University

25 Qs

Code.org

Code.org

5th - 7th Grade

29 Qs

Python Revisoin

Python Revisoin

8th Grade

25 Qs

Python

Python

KG - Professional Development

35 Qs

python

python

KG - Professional Development

30 Qs

Coding Pre Test

Coding Pre Test

5th - 8th Grade

25 Qs

Python Midterm Review

Python Midterm Review

KG - Professional Development

33 Qs

CG Module2 List, Tuples, Sets and Dictionaries

CG Module2 List, Tuples, Sets and Dictionaries

6th Grade - University

29 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?