Basic Python and Console Interaction (Unit 3)

Basic Python and Console Interaction (Unit 3)

12th Grade

12 Qs

quiz-placeholder

Similar activities

Emotions? Related to mental health?

Emotions? Related to mental health?

1st Grade - Professional Development

15 Qs

TOPIC 8 (i) ACCOUNTING FOR INVENTORIES

TOPIC 8 (i) ACCOUNTING FOR INVENTORIES

12th Grade

10 Qs

Kuiz Kenali Ubat Anda (KUA) 2022

Kuiz Kenali Ubat Anda (KUA) 2022

KG - Professional Development

16 Qs

KIDS FOR UNSDG

KIDS FOR UNSDG

3rd - 12th Grade

15 Qs

Computer System Servicing: Occupational Health and Safety

Computer System Servicing: Occupational Health and Safety

10th Grade - University

15 Qs

Vet nursing so far...

Vet nursing so far...

12th Grade

14 Qs

Chayamana Quiz Competition

Chayamana Quiz Competition

1st Grade - University

15 Qs

regional cuisine

regional cuisine

12th Grade

15 Qs

Basic Python and Console Interaction (Unit 3)

Basic Python and Console Interaction (Unit 3)

Assessment

Quiz

Other

12th Grade

Practice Problem

Medium

Created by

Emilio Gasca

Used 14+ times

FREE Resource

AI

Enhance your content in a minute

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

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which Python code segment will display “Hello, world!” on the screen?

display Hello, world!

print("Hello, world!")

print("Hello, world!")

"Hello, world!"

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the following Python code display? print("Hello") print("World")

Hello World

HelloWorld

Hello World

Hello World

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type is the following variable? x = "Hi there"

Float

Integer

Boolean

String

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What does the following Python program print?

  1. I am 6 feet tall

I am6feet tall

  1. I am

6

feet tall


  1. x

y

Z


5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the type of the variable x in the following Python program? x = input("Enter something: ")

String

Integer

Float

The type cannot be determined.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Suppose you run the following Python program: x = input("Enter some text: ") print(x) While the program is running, after the prompt has been printed, the user types the following and presses Enter: Delaware ratified the U.S. Constitution in 1787. What does the program print?

Delaware ratified the U.S. Constitution in 1787.

Delaware ratified the U.S. Constitution in

Delaware

(The program does not print anything.)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the following Python program print? x = 9 + 6 / 3 * 2 - 1 print(x)

9

12

15

21

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?