Python Basics Quiz

Python Basics Quiz

9th Grade

55 Qs

quiz-placeholder

Similar activities

On tap Tin 7 GHK1_2526

On tap Tin 7 GHK1_2526

9th Grade - University

50 Qs

Quiz Latihan Soal-Soal UTS Keamanan Jaringan

Quiz Latihan Soal-Soal UTS Keamanan Jaringan

KG - University

50 Qs

ICT KS3 ERC End of Year Quiz

ICT KS3 ERC End of Year Quiz

4th - 10th Grade

50 Qs

#2 CIW Data Analyst - Certification Prep

#2 CIW Data Analyst - Certification Prep

9th Grade - University

54 Qs

Yr 8 (IT3) - Hardware & Software

Yr 8 (IT3) - Hardware & Software

5th - 9th Grade

51 Qs

Solon Microsoft Excel Quiz

Solon Microsoft Excel Quiz

9th - 12th Grade

50 Qs

2022 J3 Test 2

2022 J3 Test 2

9th Grade

50 Qs

2425_ÔN TẬP TIN HỌC 9

2425_ÔN TẬP TIN HỌC 9

9th Grade - University

54 Qs

Python Basics Quiz

Python Basics Quiz

Assessment

Quiz

Computers

9th Grade

Practice Problem

Medium

Created by

Zubaida Al-Soudi

Used 4+ times

FREE Resource

AI

Enhance your content in a minute

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

55 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which line of code prints Hello world! as one line of output?

print(Hello world!)

print("Hello", "world", "!")

print("Hello world!")

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which line of code correctly obtains and stores user input?

input()

today_is = input

today_is = input()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is displayed by print("You entered:", name) if Sophia enters her name?

You entered:

You entered: Sophia

You entered: Sophia!

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which can be used as a variable name?

median

class

import

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why is 2nd_input not a valid variable name?

it is a keyword

it starts with a digit

it is too long

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which would be a good name for a variable storing a zip code?

z

var_2

zip_code

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a string?

Hello!

29

"7 days"

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?