Python Certification: Objective 1&2

Python Certification: Objective 1&2

12th Grade

8 Qs

quiz-placeholder

Similar activities

Introductory Quiz

Introductory Quiz

9th - 12th Grade

10 Qs

python

python

3rd Grade - University

12 Qs

quiz - 7(exceptions and file handling)

quiz - 7(exceptions and file handling)

12th Grade - University

9 Qs

Python Level 1 - Quiz #3

Python Level 1 - Quiz #3

5th - 12th Grade

9 Qs

#Sg_Spaic Last season Quiz (ML and Python)

#Sg_Spaic Last season Quiz (ML and Python)

KG - Professional Development

10 Qs

The Ultimate C++ Quiz

The Ultimate C++ Quiz

5th Grade - Professional Development

7 Qs

May piscine 2nd quiz

May piscine 2nd quiz

12th Grade

12 Qs

Intro to Python Programming Quiz 9C

Intro to Python Programming Quiz 9C

10th Grade - University

12 Qs

Python Certification: Objective 1&2

Python Certification: Objective 1&2

Assessment

Quiz

Other

12th Grade

Medium

Created by

Brian Nanns

Used 3+ times

FREE Resource

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to print "Hello, World!" in Python?

echo("Hello, World!")

System.out.println("Hello, World!")

print("Hello, World!")

printf("Hello, World!")

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following file extensions is used for Python files?

.ppy

.python

.py

.pt

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of indentation in Python?

To align the code for better readability

To define code blocks

To make Python look different from other languages

It has no purpose

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of `print(10 // 3)`?

3.33

3

4

10

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does `print(2 ** 3)` output?

5

6

8

9

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used to compare two values?

a) `=`

b) `==`

c) `!=`

d) `<>`

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does `not True` evaluate to?

True

False

None

Error

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of `print(11 % 2)`?

0

1

2

None