Year 9 Python

Year 9 Python

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

E Wild

Used 31+ times

FREE Resource

Student preview

quiz-placeholder

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the IDLE mode where we can write and save code?
Interactive
Shell
Script
None of the above

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The input() function always returns which type of value?
int
string
user input
float

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is it called when you combine 2 strings into one?
Addition
Return value
Modular design
Concatenation

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following operations will perform integer division?
/
//
%
*

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following operations perform division and return the remainder?
/
//
%
*

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the following code display?
var = "Hello"
print(var*3)
HelloHelloHello
Hello Hello Hello
hello3
Syntax error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the following operation return in Python?
3/2
1
1.5

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?