(Old version) Python L1 Quiz 1: Introduction

(Old version) Python L1 Quiz 1: Introduction

1st - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Year 7 - Bohunt E-Mail

Year 7 - Bohunt E-Mail

7th Grade

10 Qs

ICT as Platform for Change

ICT as Platform for Change

11th - 12th Grade

10 Qs

Understanding Computers #2 the CPU

Understanding Computers #2 the CPU

8th Grade

10 Qs

Numpy-1

Numpy-1

9th - 12th Grade

10 Qs

10 câu kiểu xâu tiết 1

10 câu kiểu xâu tiết 1

11th Grade

10 Qs

Quiz 8 (01.09.2021)

Quiz 8 (01.09.2021)

1st - 12th Grade

10 Qs

Kturtle

Kturtle

3rd Grade

7 Qs

Digcit 5-6

Digcit 5-6

5th - 6th Grade

10 Qs

(Old version) Python L1 Quiz 1: Introduction

(Old version) Python L1 Quiz 1: Introduction

Assessment

Quiz

Computers

1st - 12th Grade

Medium

Created by

Jerry Xiao

Used 49+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

What is the Python built-in function used to display numbers and text on the screen?

print()

input()

output()

command()

2.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

True or False: The result of the following code is "150":


print(“100” + “50”)

True

False

3.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

True or False: The result of the following code is an error:


print(“100” + 50)

True

False

4.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

True or False: The result of the following code is “4.0”:


print(8 / 2)

True

False

5.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Which of the following is a valid variable name?

my var 1

1var

my_var_1

my-var

6.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

The ______ function reads a piece of data that has been entered on the keyboard and returns that piece of data, as a string, back to the program.

input()

eval_input()

str_input()

output()

7.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

What is the output of the following code?


x = 10

# x = 2 * x

print(x)

20

10 10

210

10

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?