Python

Python

University

10 Qs

quiz-placeholder

Similar activities

Python_R

Python_R

2nd Grade - Professional Development

8 Qs

python String and comment

python String and comment

3rd Grade - University

13 Qs

Python Basics

Python Basics

University

10 Qs

Python2

Python2

8th Grade - University

15 Qs

CodeTigers Python 101

CodeTigers Python 101

KG - Professional Development

10 Qs

Python Basics

Python Basics

6th Grade - University

10 Qs

Python Programming 1: print, strings, variables, casting

Python Programming 1: print, strings, variables, casting

9th Grade - University

15 Qs

KODEKIDDO HACK #MLH3

KODEKIDDO HACK #MLH3

4th Grade - University

10 Qs

Python

Python

Assessment

Quiz

Computers

University

Medium

CCSS
L.2.2C

Standards-aligned

Created by

vijayanandh ece

Used 286+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is python named after
The snake
Television show called Monty Python

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the output be from the following code?
print(Hello world!)
Hello world!
SyntaxError
Hello world
print(Hello world!)

Tags

CCSS.L.2.2C

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Python identifies blocks of code by
BEGIN and END keywords
{ and }
aligning up the starts of lines (indentation)
guessing

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the output be from the following code?
print("Hello world!" * 2)
TypeError
Hello world world!
Hello world!Hello world!
Hello world! * 2

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

people = ["John", "Rob", "Bob"]

print (people[-1])

what would this result be?

John
Rob
Bob

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To create a newline at the end of prompt, you can use which of the following expressions?
\new
\n
\break
\return

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

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?