x = 5
y = 2
print(x * y + 3)
What will be the output of this code?
FIXIT FEST - LEO CLUB (DAY - 2)
Quiz
•
Education
•
University
•
Hard
KAVIN S
Used 2+ times
FREE Resource
24 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
x = 5
y = 2
print(x * y + 3)
What will be the output of this code?
10
13
15
16
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which line contains the error in this Python code?
for i in range(5)
print(i)
Line 1
Line 2
Line 1 & 2
No Error
3.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
what will be PRINTED ?
[3, 4]
[2, 3]
[1, 2]
[4, 5]
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
a = 10
b = 3
c = a % b+3
print(c)
What is the output of this code?
3
2
4
1
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which line contains the error in this Java code?
public static void main(String[] args) {
int num = 2;
System.out.println(num / 0);
}
Line 3
Line 2
Line 1
No Error
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
def multiply(a, b):
return a * b
result = multiply(4, 5)
print(result)
What will be printed?
9
N/A
error
20
7.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What will be the value of x after the following code executes?
x = 0
for i in range(1, 6):
x += i
print(x)
10
25
15
20
20 questions
PL SQL
Quiz
•
University - Professi...
20 questions
Python Assessment-2
Quiz
•
University
25 questions
Easy BreezeIII
Quiz
•
University
22 questions
Round 1: Hack The Quest
Quiz
•
8th Grade - University
20 questions
Introduction To Machine Learning
Quiz
•
University
20 questions
UT- 2 (Quiz on verilog)
Quiz
•
University
20 questions
Python_Test
Quiz
•
University
20 questions
Quiz
Quiz
•
University
25 questions
Equations of Circles
Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)
Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System
Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice
Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers
Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons
Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)
Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review
Quiz
•
10th Grade