Python Basics Quiz

Python Basics Quiz

10th Grade

30 Qs

quiz-placeholder

Similar activities

Kuis_1: Dasar Pemrograman Python

Kuis_1: Dasar Pemrograman Python

10th Grade

30 Qs

Python Basics Str's & Stmts 126

Python Basics Str's & Stmts 126

9th - 12th Grade

26 Qs

PAPASA BA?!

PAPASA BA?!

10th Grade

25 Qs

Program Development - Python: Loops

Program Development - Python: Loops

9th - 10th Grade

26 Qs

JavaScript Functions

JavaScript Functions

9th - 12th Grade

33 Qs

Algorithms - python (GCSE)

Algorithms - python (GCSE)

10th - 12th Grade

25 Qs

Program Development - Python: Strings

Program Development - Python: Strings

9th - 10th Grade

25 Qs

ทดสอบภาษาไพทอนเบื้องต้น

ทดสอบภาษาไพทอนเบื้องต้น

10th - 12th Grade

30 Qs

Python Basics Quiz

Python Basics Quiz

Assessment

Quiz

Computers

10th Grade

Medium

Created by

Carven Mark Viado

Used 6+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main role of the print() function in Python?

To create a new file

To check variable type

To display output

To define a loop

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid reason to use print()?

To delete data

To format output

To open images

To save memory

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the print() function send output to?

The memory drive

The input box

The computer’s RAM

The screen display

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does a variable store in a Python program?

A loop only

A condition

A single value

A random guess

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is a valid purpose for using variables?

To repeat loops

To create errors

To hold data

To end tasks

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a key rule when naming variables in Python?

Use capital symbols

Start with a number

Avoid special characters

End with commas

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is a legal Python variable name?

2value

value_1

value-1

value.1

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?