Inputs and Variables

Inputs and Variables

9th - 11th Grade

12 Qs

quiz-placeholder

Similar activities

Numpy-1

Numpy-1

9th - 12th Grade

10 Qs

Test on Python Function

Test on Python Function

11th - 12th Grade

12 Qs

Common Protocols

Common Protocols

10th - 12th Grade

15 Qs

Basic computer

Basic computer

9th - 12th Grade

8 Qs

Administrasi Infrastruktur Jaringan

Administrasi Infrastruktur Jaringan

1st - 10th Grade

10 Qs

K10-BAI4-9

K10-BAI4-9

10th - 12th Grade

10 Qs

scratch

scratch

11th - 12th Grade

10 Qs

Diagnoses and Identification of Faulty Computer and Network

Diagnoses and Identification of Faulty Computer and Network

9th Grade

10 Qs

Inputs and Variables

Inputs and Variables

Assessment

Quiz

Computers

9th - 11th Grade

Medium

Created by

Patrick Bryar

Used 34+ 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 function is used to accept data as input at run time?

output()

print()

int()

input()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following functions display an output to the screen?

display()

output()

print()

post()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which code produces the following output? Hello

Media Image
Media Image
Media Image
Media Image

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a input?

A function that allows us to ask the user to enter some data.

To plug in something.

Data displayed on a screen.

A user-defined function

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Python3, Whatever you enter as input, the input() function converts it into a string

True

False

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following input commands would allow the user to receive and store an integer from the keyboard?

integer = input("Please enter an integer:")

integer = int(input("Please enter an integer:"))

integer = float(input("Please enter an integer:"))

integer = bool(input("Please enter an integer:"))

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement correctly assigns the string "Tanner" to the variable name?

name  = print( "Tanner")
input("Tanner")
name = "Tanner"
name = input("Tanner")

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

Already have an account?