ITIPT01 Quiz No 1

Quiz
•
Computers
•
University
•
Hard
J.A.G. Visuals
Used 5+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a correct syntax to add the value 'Hello World', to 3 values in one statement?
x, y, z = 'Hello World'
x = y = z = 'Hello World'
x|y|z = 'Hello World'
x, y, z == 'Hello World'
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the following code:
fruits = ['apple', 'banana', 'cherry']
a, b, c = fruits
print(a)
grape
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
True or False: Indentation in Python is for readability only.
False
True
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following codes will not display the output
HELLO
WORLD
print("HELLO " + \n + "WORLD")
print("HELLO ");
print("WORLD");
print("HELLO " + "WORLD", end = " ")
x = str("HELLO")
print(x)
print(str("WORLD"))
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Complete the code block, print "YES" if 5 is larger than 2.
Which of the following codes will print sample output above?
if 5 > 2:
print("YES", end=" ")
if 5 < 2:
print("YES")
if 5>2:
print("Yes")
if 5<2:
print("YES");
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the result of the following code:
print(int(35.88))
35
35.88
36
35.0
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the result of the following code:
print(float(69))
69.00
69.0
69.
decima(69.0)
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Quiz4

Quiz
•
University
24 questions
Python

Quiz
•
University
15 questions
ASK F2 -KOD ARAHAN (PYTHON)

Quiz
•
1st Grade - University
17 questions
Python Loops

Quiz
•
University
15 questions
Python Programming

Quiz
•
5th Grade - University
20 questions
Quiz on Java

Quiz
•
University
15 questions
Python introduction

Quiz
•
University
15 questions
Python End of Topic Quiz

Quiz
•
8th Grade - University
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade