Search Header Logo

Python Input/Output

Authored by Carol Luce

Computers

9th - 12th Grade

CCSS covered

Used 258+ times

Python Input/Output
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a programming language?

Written English

An artificial language used to program a computer

A language used in pseudocode

Machine code

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the print command do?

Outputs a hard copy of a program to a printer

Outputs a message on screen

Print a hard copy of a flow chart to a printer

Prints out the the commands line by line on the screen

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do we get user input from the keyboard?

input = (What is your name?)

input = What is your name?

output = ("What is your name?")

name=input("What is your name? ")

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type would you use for the quantity of stock in a shop?

integer

float

string

boolean

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a variable?

A box(memory location) where you store values
a type of graphics
Data type
a type of memory

Tags

CCSS.6.EE.B.6

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output?

name = "Dave"

print (name)

Dave

'Dave'

name

(name)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the term for an error that a programmer makes in their code so the program won't run?

Program error

Syntax error

Run-time error

Logic error

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?