Search Header Logo

Python Basics Quiz

Authored by jax teller

Information Technology (IT)

12th Grade

Used 3+ times

Python Basics Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

51 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

What is Python?

A video game

A programming language

A type of snake

A browser

2.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Which of the following is used to write a comment in Python?

//

#

/* */

3.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Which of these is used to display output?

write()

print()

show()

echo()

4.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

What does print("Hello") do?

Saves a file

Displays "Hello"

Gets input

Runs a loop

5.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

What is the correct way to start a Python file?

using begin

main()

No need, just write code

function start()

6.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

What symbol is used to assign a value to a variable?

==

:=

=

=>

7.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

What is the result of: x = 5; print(x)

5

x

Error

None

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?