Python

Python

11th Grade

16 Qs

quiz-placeholder

Similar activities

Python list, if

Python list, if

6th - 12th Grade

20 Qs

Python Test

Python Test

8th - 12th Grade

20 Qs

FD Theory 1

FD Theory 1

11th Grade - University

20 Qs

Test - Python básico II

Test - Python básico II

9th - 12th Grade

16 Qs

Hangman Game - Programming Questions

Hangman Game - Programming Questions

7th - 11th Grade

15 Qs

Python Part 1

Python Part 1

1st Grade - University

16 Qs

Python - The Basics

Python - The Basics

9th - 12th Grade

18 Qs

Programming Quiz 1

Programming Quiz 1

11th Grade

11 Qs

Python

Python

Assessment

Quiz

Computers

11th Grade

Medium

DOK Level 1: Recall

Standards-aligned

Created by

Ngoc Nguyen

Used 3+ times

FREE Resource

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

Look at the following code:

age = "23"

age = age + 1

print (age)


What is the result of this code?

23

24

23 + 1

an error message

2.

MULTIPLE CHOICE QUESTION

20 sec • 10 pts

What will be displayed by the following statement:

She said " I went to New York"

print("She said \"I went to New York"")

print("She said "\ I went to New York"\")

print("She said \" I went to New York\"")

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What is a variable?
A box(memory location) where you store values
a type of graphics
Data type
a type of memory

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

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

5.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

What will be the output?

name = "Dave"

print ("name")

Dave

'Dave'

name

(name)

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

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

7.

MULTIPLE CHOICE QUESTION

45 sec • 10 pts

The correct way to write a variable in Python?
my_variable = 10
my variable = 10
my_variable is 10
my_variable: 10

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?