Python Basics Quiz: Test Your Coding Knowledge!

Python Basics Quiz: Test Your Coding Knowledge!

9th Grade

6 Qs

quiz-placeholder

Similar activities

CodeHS Python

CodeHS Python

7th - 12th Grade

10 Qs

Python Data Types & Input/Output

Python Data Types & Input/Output

9th Grade

11 Qs

Python Workshop Week 1 Review

Python Workshop Week 1 Review

9th - 12th Grade

10 Qs

Unit 1 Post Test: Basic Python

Unit 1 Post Test: Basic Python

9th - 12th Grade

10 Qs

Printing in Python

Printing in Python

7th - 9th Grade

10 Qs

INTRODUCTION TO PYTHON GRADE 9

INTRODUCTION TO PYTHON GRADE 9

9th Grade

10 Qs

Python Variables

Python Variables

7th - 12th Grade

10 Qs

Exploring Python: Input and Output Essentials

Exploring Python: Input and Output Essentials

9th Grade - University

10 Qs

Python Basics Quiz: Test Your Coding Knowledge!

Python Basics Quiz: Test Your Coding Knowledge!

Assessment

Quiz

Computers

9th Grade

Hard

Created by

Garfield Graham

FREE Resource

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is Python?

A type of snake

A powerful coding language

A video game

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. What can you NOT do with Python?

  1. Create websites and apps

  1. Control robots and drones

  1. Build a time machine

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a data type in Python?

Integer

String

Function

List

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the following code do? age = 18

Prints the number 18

Stores the number 18 as an integer variable named "age"

Defines a function named "age"

creates a loop that runs 18 times

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you print the text "Hello, world!" to the screen in Python?

print("Hello") + print("world!")

display("Hello, world!")

echo("Hello, world!")

print("Hello, world!")

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. Which of the following correctly calculates the area of a rectangle with width 5 and height 3?

  1. width + height

  1. width * height

  1. width / height

  1. (width + height) / 2