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
7 questions
CAESAR CIPHER TINGKATAN 5

Quiz
•
9th - 12th Grade
10 questions
1A: am/are

Quiz
•
KG - Professional Dev...
5 questions
HTML QUIZ

Quiz
•
9th - 12th Grade
11 questions
Palaro ni ai

Quiz
•
12th Grade
10 questions
String Formatting in Python

Quiz
•
12th Grade
10 questions
recuperacao 1 programação desenvolvimento de sistemas

Quiz
•
12th Grade
9 questions
quiz - 7(exceptions and file handling)

Quiz
•
12th Grade - University
10 questions
Tech Buzz R2

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

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Other
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
6 questions
Rule of Law

Quiz
•
6th - 12th Grade
15 questions
ACT Math Practice Test

Quiz
•
9th - 12th Grade
18 questions
Hispanic Heritage Month

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

Quiz
•
9th - 12th Grade
10 questions
Would you rather...

Quiz
•
KG - University
13 questions
BizInnovator Startup - Experience and Overview

Quiz
•
9th - 12th Grade