Unit 2 - Programming (Python)

Unit 2 - Programming (Python)

9th Grade

45 Qs

quiz-placeholder

Similar activities

Comp Sci. Examination  March 13th

Comp Sci. Examination March 13th

9th - 12th Grade

50 Qs

Codehs Concepts of Programming

Codehs Concepts of Programming

9th - 10th Grade

40 Qs

OCR Computer Science Paper 2 Revision Quiz #2

OCR Computer Science Paper 2 Revision Quiz #2

9th - 10th Grade

50 Qs

Programming with Sphero (End-of-Year Review)

Programming with Sphero (End-of-Year Review)

KG - 12th Grade

40 Qs

Python Assessment Year 8

Python Assessment Year 8

8th - 9th Grade

50 Qs

SC FOC Final Exam - Dorman Freshman Campus

SC FOC Final Exam - Dorman Freshman Campus

9th Grade

50 Qs

Unit 2 review

Unit 2 review

9th - 12th Grade

42 Qs

Python MCQ

Python MCQ

9th - 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?