Python

Python

11th Grade

16 Qs

quiz-placeholder

Similar activities

Progamming - Java Syntax

Progamming - Java Syntax

11th - 12th Grade

15 Qs

POGIL: Python Activity 1

POGIL: Python Activity 1

9th - 12th Grade

12 Qs

Unit 3 Review

Unit 3 Review

9th - 12th Grade

11 Qs

Python Basics

Python Basics

9th - 12th Grade

20 Qs

Python Review

Python Review

9th - 12th Grade

20 Qs

Inputs and Variables

Inputs and Variables

9th - 11th Grade

12 Qs

PYTHON - SKILL#1.1 - JR

PYTHON - SKILL#1.1 - JR

11th Grade

13 Qs

XI_CS_24JUN2021

XI_CS_24JUN2021

11th Grade

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