Python Certification: Objective 1&2

Python Certification: Objective 1&2

12th Grade

8 Qs

quiz-placeholder

Similar activities

Lesson 1: Introduction to Python

Lesson 1: Introduction to Python

5th - 12th Grade

8 Qs

Pythton

Pythton

5th - 12th Grade

10 Qs

Python Fundamentals and Programming

Python Fundamentals and Programming

11th - 12th Grade

13 Qs

quiz - 7(exceptions and file handling)

quiz - 7(exceptions and file handling)

12th Grade - University

9 Qs

Data Type Review

Data Type Review

KG - Professional Development

12 Qs

Arduino Basics

Arduino Basics

12th Grade

10 Qs

recuperacao 1 programação desenvolvimento de sistemas

recuperacao 1 programação desenvolvimento de sistemas

12th Grade

10 Qs

Mathematical Operators Python Assessment

Mathematical Operators Python Assessment

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