Int to Comp Sci Python Quiz 1

Int to Comp Sci Python Quiz 1

9th - 12th Grade

23 Qs

quiz-placeholder

Similar activities

Python 2 DTP09

Python 2 DTP09

9th Grade

19 Qs

Post-Break Python Refresher

Post-Break Python Refresher

9th - 12th Grade

20 Qs

Python year 9

Python year 9

8th - 11th Grade

20 Qs

Programming 8.1

Programming 8.1

9th Grade

20 Qs

Postest Informatika Kelas X 2 SMATA

Postest Informatika Kelas X 2 SMATA

11th Grade

20 Qs

PEMROGRAMAN

PEMROGRAMAN

12th Grade

20 Qs

Python 1.0

Python 1.0

10th Grade - University

20 Qs

Int to Comp Sci Python Quiz 1

Int to Comp Sci Python Quiz 1

Assessment

Quiz

Computers

9th - 12th Grade

Medium

CCSS
6.EE.B.6, L.2.2C

Standards-aligned

Created by

Nicole Sledge

Used 5+ times

FREE Resource

AI

Enhance your content

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

23 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What output would be returned when the following code is run?


print(6 x 3)

6 x 3

syntax error

18

concatenation error

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the word (command) used to display numbers and text on the screen?

print

input

output

conversion

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

Tags

CCSS.6.EE.B.6

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A syntax error means your code has a 'text-based' mistake or you used symbols/operations incorrectly

True

False

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output?

name = "Dave"

print (name)

Dave

"Dave"

name

(name)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output?

name = "Dave"

greeting = "Good morning " + name

print (greeting)

"Good morning Dave"

Good morning Dave

Good morning name

Good morning "Dave"

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the output be from the following code?
print("Hello" + str(2) + "world!")
Hello world! Hello world!
Hello2world!
Hello Hello world! world!
SyntaxError

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?