Python Certification: Objective 1&2

Python Certification: Objective 1&2

12th Grade

8 Qs

quiz-placeholder

Similar activities

Arhaan's quiz

Arhaan's quiz

KG - Professional Development

7 Qs

Types of Media Quiz

Types of Media Quiz

11th - 12th Grade

10 Qs

Untitled Quiz

Untitled Quiz

9th - 12th Grade

3 Qs

Python armenia

Python armenia

1st Grade - University

10 Qs

Lesson 1 Recap

Lesson 1 Recap

7th - 12th Grade

5 Qs

Javascript Básico

Javascript Básico

9th - 12th Grade

10 Qs

Mathematical Operators Python Assessment

Mathematical Operators Python Assessment

9th - 12th Grade

10 Qs

Basic Python 4 Data Analysis

Basic Python 4 Data Analysis

12th Grade

8 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