Input & Variables Practice

Input & Variables Practice

9th Grade

9 Qs

quiz-placeholder

Similar activities

Printers

Printers

9th - 12th Grade

10 Qs

The Dark Side

The Dark Side

KG - University

13 Qs

Computer Security

Computer Security

8th - 10th Grade

10 Qs

SISTEM KOMPUTER KLS 9

SISTEM KOMPUTER KLS 9

9th Grade

10 Qs

Computer Basics 2 - CESA

Computer Basics 2 - CESA

7th Grade - University

10 Qs

Chapter 8 Week 1

Chapter 8 Week 1

9th - 12th Grade

11 Qs

QUIZ 2 KLS 9

QUIZ 2 KLS 9

9th Grade

10 Qs

Input & Variables Practice

Input & Variables Practice

Assessment

Quiz

Computers

9th Grade

Medium

Created by

Elise Laio

Used 6+ times

FREE Resource

AI

Enhance your content in a minute

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

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What function is used in Python to get users input?

input

input<>

input()

INPUT()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is wrong with the code?

the user put their answer inside the input instead of a prompt

a tree is not a noun

there is nothing wrong

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

The correct way to write a variable in Python?

favnum = 10

fav num = 10

fav num is 10

favnum == 10

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

:

*

=

==

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What will be printed?

animal = ("frog")

place = ("pond")

print("The", animal, "jumped into the", place)

Nothing will print

The animal jumped into the place

The "frog" jumped into the "pond"

The frog jumped into the pond

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the difference between an input statement and a print statement?

input() takes input from the user. print() displays output.

there is no difference

input() displays output. print() takes input from the user.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is the best way to ask the user for a number so you can use it later?

num = input(“Enter a number: ” )

num = input (“4” )

num = input (4)

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?

Discover more resources for Computers