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
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
ECO162- CHAPTER 6

Quiz
•
University
20 questions
Transistor as Amplifier

Quiz
•
University
20 questions
Python Coding Contest

Quiz
•
University
20 questions
BRAIN BUSTERS (ROUND2)

Quiz
•
University
25 questions
Data Analytics

Quiz
•
University
22 questions
Round 1: Hack The Quest

Quiz
•
8th Grade - University
20 questions
Introduction To Machine Learning

Quiz
•
University
20 questions
MTS D375-6

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade