Python input/output

Python input/output

4th - 9th Grade

10 Qs

quiz-placeholder

Similar activities

Introduction to Operating System

Introduction to Operating System

5th Grade

10 Qs

CHIẾN BINH SỐ

CHIẾN BINH SỐ

4th Grade

12 Qs

QUIZ #4 Communicating Using the Internet

QUIZ #4 Communicating Using the Internet

6th Grade

15 Qs

Review for Midterm Test ICT 3

Review for Midterm Test ICT 3

1st - 11th Grade

15 Qs

DATA ANALYTICS USING EXCEL

DATA ANALYTICS USING EXCEL

7th Grade

15 Qs

latihan

latihan

9th Grade

10 Qs

Fundamentos PHP (Manejo de Fomularios y arreglos)

Fundamentos PHP (Manejo de Fomularios y arreglos)

9th Grade

10 Qs

Chapter 7: System life cycle

Chapter 7: System life cycle

9th - 11th Grade

15 Qs

Python input/output

Python input/output

Assessment

Quiz

Computers

4th - 9th Grade

Medium

Created by

CodeLQ Team

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...

10 questions

Show all answers

1.

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 function

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a output?

A piece of data that is shown on the screen.

Data that the user enters

An output

A orange

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What syntax would you use to create a name variable?

name=input()

input=name

name=input{}

name=INPUT

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What function is used to output a message in python?

print("")

input=name

print

name=input

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

One word is missing from the codes (see picture).

Choose the correct word to ensure the function works.

input

output

variable

print

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Two symbols are missing from the codes (see picture).

Choose the correct symbols to ensure the input function works.

1st blank: "

2nd blank: "

1st blank: #

2nd blank: #

1st blank: !

2nd blank: !

1st blank: (

2nd blank: )

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

why will the following script won't work?

user_input1 = input("Enter a number: ")

user_input2 = input("Enter a second number: ")


print(user_input1 + user_input2)

Because variables cannot be longer than 1 word

Because user_input1 and user_input2 is a string

Because input is an invalid function

Because python will always thing that it has to add 1+2

It will work

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?