
LAB04
Quiz
•
Information Technology (IT)
•
University
•
Practice Problem
•
Hard
Salman Khwaja
Used 1+ times
FREE Resource
Enhance your content in a minute
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
5 questions
python
Quiz
•
9th Grade - University
10 questions
Quiz Meet 1 Mini SC Programing
Quiz
•
University
11 questions
Conceptos Básicos HTML5 y CSS3
Quiz
•
University
10 questions
1.2 Algoritma SK T4
Quiz
•
9th Grade - University
10 questions
QUIZ MY BCA
Quiz
•
1st Grade - University
12 questions
Roblox Studio Lesson 6
Quiz
•
6th Grade - University
10 questions
Quiz 4
Quiz
•
University
7 questions
Lekcja 2.3
Quiz
•
5th Grade - University
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
9 questions
Principles of the United States Constitution
Interactive video
•
University
18 questions
Realidades 2 2A reflexivos
Quiz
•
7th Grade - University
10 questions
Dichotomous Key
Quiz
•
KG - University
25 questions
Integer Operations
Quiz
•
KG - University
7 questions
What Is Narrative Writing?
Interactive video
•
4th Grade - University
20 questions
SER vs ESTAR
Quiz
•
7th Grade - University
