Quiz 1: Basic Python and Arithmetic (Codehs)

Quiz 1: Basic Python and Arithmetic (Codehs)

10th Grade

40 Qs

quiz-placeholder

Similar activities

CSP 1.1.5-1.1.6 Variable Roles

CSP 1.1.5-1.1.6 Variable Roles

10th - 12th Grade

35 Qs

ULANGAN DASAR-DASAR PPLG 2024

ULANGAN DASAR-DASAR PPLG 2024

10th Grade

36 Qs

Kisi-kisi Office

Kisi-kisi Office

10th Grade

40 Qs

Cyber 1 Module 1 Review

Cyber 1 Module 1 Review

10th Grade

38 Qs

Movies

Movies

2nd Grade - Professional Development

44 Qs

Remidi DKV1

Remidi DKV1

10th Grade

40 Qs

Pemrograman1

Pemrograman1

10th Grade

40 Qs

Administras Infrastrktur Jaringan - Kelas XII TKJ - SMK Peristek

Administras Infrastrktur Jaringan - Kelas XII TKJ - SMK Peristek

9th - 12th Grade

40 Qs

Quiz 1: Basic Python and Arithmetic (Codehs)

Quiz 1: Basic Python and Arithmetic (Codehs)

Assessment

Quiz

Computers

10th Grade

Hard

Created by

Bryan Campbell

Used 10+ times

FREE Resource

AI

Enhance your content in a minute

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

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

On which line will this program call an error in the console?

Line 1

Line 2

Line 3

Line 4

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will be printed to the screen when the following code snippet is run?

<class str>

120

1210

<class int>

An error will occur

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In Python, what is the data type of the literal value 'Hello'?

int

float

string

None

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What symbol is used in python to assign values to a variable?

=

/

*

==

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

On which line will this program call an error in the console?

Line 1

Line 2

Line 3

Line 4

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What Python function lets the user enter an response to a question via the keyboard?

answer()

open()

print()

input()

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

On which line will this program call an error in the console?

Line 1

Line 2

Line 3

Line 4

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

Already have an account?

Discover more resources for Computers