Python Certification: Objective 1&2

Python Certification: Objective 1&2

12th Grade

8 Qs

quiz-placeholder

Similar activities

Los Saludos

Los Saludos

1st - 12th Grade

10 Qs

Anime

Anime

KG - Professional Development

10 Qs

Animals

Animals

4th - 12th Grade

10 Qs

Data Types in Python Quiz

Data Types in Python Quiz

12th Grade

10 Qs

Regular Course 2021 Full Stack_M1 L1

Regular Course 2021 Full Stack_M1 L1

7th - 12th Grade

8 Qs

Game Dev

Game Dev

4th Grade - University

5 Qs

PythonFun

PythonFun

6th - 12th Grade

8 Qs

Big Idea 3 L5 - Loops in Python

Big Idea 3 L5 - Loops in Python

9th - 12th Grade

10 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