Python Basics Quiz

Python Basics Quiz

9th Grade

16 Qs

quiz-placeholder

Similar activities

Amazon Quiz - Conhecimentos Gerais

Amazon Quiz - Conhecimentos Gerais

2nd - 9th Grade

20 Qs

Emotions? Related to mental health?

Emotions? Related to mental health?

1st Grade - Professional Development

15 Qs

Ava Shenouda Scout Quiz

Ava Shenouda Scout Quiz

KG - Professional Development

17 Qs

The Grand IPL Auction Round 1

The Grand IPL Auction Round 1

9th - 12th Grade

20 Qs

EXAMEN PARCIAL 2 ECOLOGÍA

EXAMEN PARCIAL 2 ECOLOGÍA

9th Grade

18 Qs

KIDS FOR UNSDG

KIDS FOR UNSDG

3rd - 12th Grade

15 Qs

Chayamana Quiz Competition

Chayamana Quiz Competition

1st Grade - University

15 Qs

 Treasure Island.

Treasure Island.

8th - 10th Grade

11 Qs

Python Basics Quiz

Python Basics Quiz

Assessment

Quiz

Other

9th Grade

Practice Problem

Medium

Created by

Hamza Motiyar

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct file extension for Python files?

.py

.python

.pt

.exe

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid variable name?

2name

my-name

name_2

my name

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the print() function do?

Takes input

Loops through values

Outputs text to the screen

Defines a variable

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a comment in Python?

/* This is a comment */

// This is a comment

# This is a comment

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you take input from the user in Python?

scan()

get()

input()

read()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of print("5" + "3")?

8

53

Error

None

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct syntax to assign a value to a variable?

let x = 5

x

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?