Python Ch. 1 & 2

Python Ch. 1 & 2

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

MEDIA AND INFORMATION LITERACY

MEDIA AND INFORMATION LITERACY

12th Grade

10 Qs

PWPB - 11 RPL

PWPB - 11 RPL

11th Grade

15 Qs

Review for Midterm Test ICT 3

Review for Midterm Test ICT 3

1st - 11th Grade

15 Qs

Threats to Data

Threats to Data

9th - 12th Grade

11 Qs

HEALTH AND SAFETY 9

HEALTH AND SAFETY 9

7th - 9th Grade

11 Qs

Chapter 7: System life cycle

Chapter 7: System life cycle

9th - 11th Grade

15 Qs

OCR GCSE CS - 2.1 ERL sorts and searches

OCR GCSE CS - 2.1 ERL sorts and searches

10th - 11th Grade

9 Qs

INTRODUCCION A LA PROGRAMACION

INTRODUCCION A LA PROGRAMACION

6th Grade - University

10 Qs

Python Ch. 1 & 2

Python Ch. 1 & 2

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Matthew Callaghan

Used 10+ 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

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 performs division and returns 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

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?