
LAB04

Quiz
•
Information Technology (IT)
•
University
•
Hard

Salman Khwaja
Used 1+ times
FREE Resource
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What will be the result of the following python expression?
( 9 - 3 > 5 and 3 <= 2 + 1 ) or not (True)
True
False
not True
Error: arithematic operators with logical operators
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
name1 = "NameA"
name2 = "NameB"
if name1 <= name2 :
print(name1[4] + "&" + name2[4])
else :
print(name2[4] + "&" + name1[4])
1&2
B&A
2&1
A&B
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
age = 25
if age >= 0 and age <= 16:
print("Age Group : Child")
elif AGE <= 30:
print("Age Group : Young Adults")
else:
print("Age Group : Middle-aged Adults")
Age Group : Child
Age Group : Young Adults
Error
Age Group : Middle-aged Adults
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
x = 0
a = 5
b = 5
if b < 0:
x = x + 5
elif a > 5:
x = x + 4
else:
x = x + 3
print(x)
9
8
5
3
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
num = 4
if num > 0:
print("A")
if num == 4:
print("B")
else:
print("C")
A
B
A
B
C
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
x = 5
if x > 2:
x = 1
if x > 2:
print("Hi")
else:
print("Bye")
Hi
Bye
1
Hi
1
Bye
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
x = 2
if x > 1:
print("A", end='')
elif x > 0:
print("B", end='')
print("C")
A
B
BC
AC
Similar Resources on Wayground
11 questions
IT01

Quiz
•
University
10 questions
CSA Africa Python Workshop

Quiz
•
University
10 questions
Depuração & Logging

Quiz
•
University
12 questions
CLC Lesson 7 Quiz

Quiz
•
University
10 questions
Python Basics Quiz

Quiz
•
8th Grade - University
10 questions
Refresh Python

Quiz
•
University
10 questions
Quiz 2

Quiz
•
University
12 questions
Uji Pemahaman Microsoft Word

Quiz
•
10th Grade - University
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
11 questions
NFL Football logos

Quiz
•
KG - Professional Dev...
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
38 questions
Unit 6 Key Terms

Quiz
•
11th Grade - University
20 questions
La Hora

Quiz
•
9th Grade - University
7 questions
Cell Transport

Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?

Interactive video
•
4th Grade - University