Search Header Logo

Int to Comp Sci Python Quiz 1

Authored by Nicole Sledge

Computers

9th - 12th Grade

CCSS covered

Used 5+ times

Int to Comp Sci Python Quiz 1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

Access all questions and much more by creating a free account

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

Already have an account?