Search Header Logo

QUIZ#1 - PYTHON

Authored by Sharon Smith

Computers

11th Grade

Used 17+ times

QUIZ#1 - PYTHON
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To get the users input what function do we use?

input

input<>

input()

INPUT()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does int() represent?

internet

integer

intel

input

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Choose what / performs.

multiply

add

subtract

divide

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Why would I get a syntax error?

Line 1 doesn't make sense

Line 2 needs to be indented

No need for quotation marks on line 2

No such thing as an if statement

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The value of (100%10)*5 is

10

0

500

5

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the following code, what is happening?

foo = "bar"

A variable named foo is being created, with a value of "bar"

A variable named bar is being created, with a value of "foo"

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What output will the console show, if 15 and 30 are entered by the user?

Syntax error

The sum of the two numbers - 45

The concatenation of the two numbers - 1530

Complier error

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?