Python Basics Quiz

Python Basics Quiz

9th Grade

55 Qs

quiz-placeholder

Similar activities

ULANGAN HARIAN TEKNIK PENGOLAHAN AUDIO DAN VIDEO

ULANGAN HARIAN TEKNIK PENGOLAHAN AUDIO DAN VIDEO

1st - 12th Grade

50 Qs

CSS 9- 4th Examination

CSS 9- 4th Examination

9th Grade

50 Qs

WARNA DAN TIPOGRAFI DESAIN GRAFIS

WARNA DAN TIPOGRAFI DESAIN GRAFIS

1st Grade - University

50 Qs

US SMPN2KRSB 23

US SMPN2KRSB 23

9th Grade

50 Qs

PENILAIAN TENGAH SEMESTER 1 TIK KELAS 9 TAHUN 2020

PENILAIAN TENGAH SEMESTER 1 TIK KELAS 9 TAHUN 2020

9th Grade

50 Qs

Quarter 1 - LONG QUIZ

Quarter 1 - LONG QUIZ

7th - 9th Grade

55 Qs

Year 8 End of Year Assessment

Year 8 End of Year Assessment

7th - 9th Grade

60 Qs

IT Cert study guide

IT Cert study guide

9th - 11th Grade

60 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?