Python input/output

Python input/output

4th - 9th Grade

10 Qs

quiz-placeholder

Similar activities

Administrasi Sistem Jaringan

Administrasi Sistem Jaringan

1st - 10th Grade

10 Qs

End of term assessment

End of term assessment

9th Grade

15 Qs

สอบเก็บคะแนน ไพทอน ม.4

สอบเก็บคะแนน ไพทอน ม.4

9th - 12th Grade

10 Qs

Quiz Kelas 8

Quiz Kelas 8

8th Grade

15 Qs

ICT  - Know Your Computer Test

ICT - Know Your Computer Test

5th Grade

15 Qs

Quiz tentang Microsoft Word, Software dan Hardware

Quiz tentang Microsoft Word, Software dan Hardware

8th Grade

10 Qs

Основные понятия языка программирования PYTHON

Основные понятия языка программирования PYTHON

7th Grade

12 Qs

Micro:bit assessment 1

Micro:bit assessment 1

7th - 8th Grade

10 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

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?