Unit 2 - Programming (Python)

Unit 2 - Programming (Python)

9th Grade

45 Qs

quiz-placeholder

Similar activities

M2 Revision

M2 Revision

8th - 9th Grade

45 Qs

Python Coding Specialist Exam

Python Coding Specialist Exam

9th - 12th Grade

46 Qs

St Michael's - Year 9 - Visual Python

St Michael's - Year 9 - Visual Python

9th Grade

49 Qs

Code.org APCSP Assessment

Code.org APCSP Assessment

9th - 12th Grade

40 Qs

Python Assessment Year 8

Python Assessment Year 8

8th - 9th Grade

50 Qs

Python MCQ

Python MCQ

9th - 12th Grade

40 Qs

Programming Concepts Quiz Prt 2

Programming Concepts Quiz Prt 2

9th Grade

43 Qs

Python Coding Language

Python Coding Language

8th - 12th Grade

40 Qs

Unit 2 - Programming (Python)

Unit 2 - Programming (Python)

Assessment

Quiz

Computers

9th Grade

Easy

Created by

Zachary Jernigan

Used 1+ times

FREE Resource

45 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Who created Python and when was it first released?

James Gosling, 1995

Guido van Rossum, 1991

Dennis Ritchie, 1972

Bjarne Stroustrup, 1983

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is one reason Python is considered beginner-friendly?

Complex syntax

Requires extensive setup

Simple syntax

Limited resources

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a use for Python?

Web development

Data analysis

Machine learning

Operating system development

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the basic usage of the print function in Python?

To perform mathematical calculations

To display text or variables

To create loops

To define functions

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are formatted strings (f-strings) used for in Python?

To create arrays

To embed expressions inside string literals

To perform file operations

To handle exceptions

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of a variable in a program?

To store data for later use

To execute code

To display output

To create loops

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an example of assigning a value to a variable?

print("Hello, World!")

score = 100

if score > 50

for i in range(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?