Python I/O

Python I/O

9th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

Python Basics Review (TSK)

Python Basics Review (TSK)

9th - 12th Grade

20 Qs

CFDA Coding and Program Design Unit Review

CFDA Coding and Program Design Unit Review

9th Grade - University

15 Qs

Python Basic 1

Python Basic 1

12th Grade

20 Qs

AI-9A-PA1-Practical

AI-9A-PA1-Practical

9th Grade

10 Qs

Python Programming Basics

Python Programming Basics

7th - 11th Grade

12 Qs

Python Quiz 1

Python Quiz 1

9th - 12th Grade

20 Qs

Intro to Python recap

Intro to Python recap

10th Grade - Professional Development

11 Qs

Python Review Quiz

Python Review Quiz

7th - 9th Grade

20 Qs

Python I/O

Python I/O

Assessment

Quiz

Computers

9th - 12th Grade

Easy

Created by

Carol Luce

Used 6+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a programming language?

A language used in pseudocode

Machine code

An artificial language used to create programs for a computer

Written English

2.

MATCH QUESTION

1 min • 5 pts

Match the commands to the explanation.

round ( )

tries to convert the arguments to an integer value

input ( )

quits a loop

print ( )

calculates the closest integer with one argument or decimal place with 2 arguments

int ( )

outputs a message on screen

break

used with a variable to get information from a user

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.

DRAG AND DROP QUESTION

30 sec • 1 pt

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

integer
float
string
boolean
list

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

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output?

name = "Dave"

print (name)

Dave

'Dave'

name

(name)

7.

FILL IN THE BLANK QUESTION

1 min • 1 pt

A ______ error is a type of error that a programmer makes in their code such that the program won't run.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?