Search Header Logo

Unit 2 - Programming (Python)

Authored by Zachary Jernigan

Computers

9th Grade

Used 1+ times

Unit 2 - Programming (Python)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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)

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?