Python Test 1

Python Test 1

6th - 8th Grade

30 Qs

quiz-placeholder

Similar activities

EduBlocks NCCE Lesson 1-2

EduBlocks NCCE Lesson 1-2

7th - 8th Grade

25 Qs

Python

Python

8th - 9th Grade

26 Qs

Python Gaddis

Python Gaddis

8th Grade

25 Qs

Wrap Up in CS

Wrap Up in CS

7th - 8th Grade

35 Qs

Artificial Intelligence Quiz1

Artificial Intelligence Quiz1

4th - 8th Grade

26 Qs

Computer Science Unit 3 Quiz

Computer Science Unit 3 Quiz

8th - 10th Grade

27 Qs

PCEP QUIZ 4

PCEP QUIZ 4

6th - 8th Grade

32 Qs

Introduction to Python Programming

Introduction to Python Programming

8th Grade

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?