Introduction to Python

Quiz 1: Python Introduction

Lesson 1: Python Introduction

Quiz 1: Python Introduction

Time limit: 10 minutes

1. Python is named after the snake.

1 pt
  • True
  • False

2. Which function is used to display a message in the Python console?

1 pt
  • say()
  • display()
  • print()
  • show()

3. In Python, indentation is important and affects how the code runs.

1 pt
  • True
  • False

4. Which of the following is the correct way to write a comment in Python?

1 pt
  • // This is a comment
  • /* This is a comment */
  • # This is a comment
  • -- This is a comment

5. Who created the Python programming language?

1 pt
  • Bill Gates
  • Guido van Rossum
  • Linus Torvalds
  • James Gosling

6. Arrange these steps in the correct order to run a Python program in PictoBlox:

2 pts
  • Click the Run button
  • Open PictoBlox and create a New File
  • Select Python as the coding environment
  • Type your Python code in the editor

Subscribe to our newsletter.

Get updates to news and events.