
EXAM PREP ITS PYTHON DAY1
Quiz
•
Computers
•
Professional Development
•
Practice Problem
•
Hard
Rainusa Indo
Used 1+ times
FREE Resource
Enhance your content in a minute
23 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Memanggil fungsi gross_salary() akan menghasilkan error sintaks.
True
False
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Memanggil fungsi gross_salary(pieces=500, pieces_rate=4) akan mengembalikan nilai 2000.
True
False
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Review the following code segment
product = 2
n = 5
while (n != 0):
product *= n
print (product)
n = 1
if n == 3:
break
How many lines of output does the code print?
1
10
2
No Output
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You develop a Python application for your company.
You want to add notes to your code so other team members will understand it.
What should you do?
Place the notes after // on any line.
Place the notes within <!-- and --> in any code segment.
Place the notes within /* and */ in any code segment
Place the notes after # on any line.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which code segment should you use at line 03?
while (index <= 10):
while (index < 10):
while index < 10:
while index <= 10:
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which code segment should you use at line 06?
if numbers[index] = 6:
if numbers[index] == 6:
if numbers(index) == 6:
if numbers(index) = 6:
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Review the following code:
x = "apples"
y = "oranges"
z = "bananas"
data = "{1} and {0} and {2}"
print(data.format(z, y, x))
What is the output of the print statement?
Bananas and Oranges and Apples
Apples and Oranges and Bananas
Oranges and Apples and Bananas
Apples and Bananas and Oranges
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
SPARK FIDDLE
Quiz
•
Professional Development
20 questions
Basics of programming - Quiz - 01
Quiz
•
University - Professi...
20 questions
Asdm-midquiz
Quiz
•
Professional Development
20 questions
Kuis Pelatihan API Kutim By GIZ
Quiz
•
University - Professi...
20 questions
C-Quest
Quiz
•
Professional Development
20 questions
machineLearning Test
Quiz
•
Professional Development
20 questions
Best Of Quiz
Quiz
•
Professional Development
20 questions
Round-1 "Bhikaiji Rustom Cama – QuizTory Masters"
Quiz
•
Professional Development
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Computers
10 questions
How to Email your Teacher
Quiz
•
Professional Development
6 questions
3RD GRADE DECLARATION OF INDEPENDENCE EXIT TICKET
Quiz
•
Professional Development
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
22 questions
Multiplying Exponents with the Same Base
Quiz
•
9th Grade - Professio...
40 questions
Flags of the World
Quiz
•
KG - Professional Dev...
