Python Certification: Objective 1&2

Quiz
•
Other
•
12th Grade
•
Medium

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
Similar Resources on Wayground
10 questions
Hálózatok_13A_2024_11_13

Quiz
•
12th Grade
12 questions
Підсумковий тест за II семестр

Quiz
•
7th Grade - University
10 questions
Python - Conceptos teóricos

Quiz
•
12th Grade
10 questions
Name Me!

Quiz
•
12th Grade
10 questions
Greetings

Quiz
•
10th Grade - Professi...
12 questions
Vocabulario, vocabularies, vocabulaires

Quiz
•
5th - 12th Grade
10 questions
Russian 01

Quiz
•
1st Grade - University
10 questions
Quotation Marks Practice

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Other
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Video Games

Quiz
•
6th - 12th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
13 questions
BizInnovator Startup - Experience and Overview

Quiz
•
9th - 12th Grade
16 questions
AP Biology: Unit 1 Review (CED)

Quiz
•
9th - 12th Grade
20 questions
Parallel lines and transversals

Quiz
•
9th - 12th Grade
9 questions
Geometry and Trigonometry Concepts

Interactive video
•
9th - 12th Grade
10 questions
Angle Relationships with Parallel Lines and a Transversal

Quiz
•
9th - 12th Grade