a = 4.5
b = 2
print(a//b)
Round 4 - Harvest
Quiz
•
Computers
•
University
•
Hard
Aditya Singh
Used 5+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
a = 4.5
b = 2
print(a//b)
2.0
No such operator
Division Error
2
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
a = True
b = False
c = False
if a or b and c:
print("TECH NEW KAL")
else:
print("tech new kal")
TECH NEW KAL
tech new kal
Syntax Error
Compilation Error
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
for i in range(2):
print(i)
for i in range(4, 6):
print(i)
2
4
6
1
2
5
0
1
4
5
1
2
4
6
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
public class Test
{
public static void main(String args[])
{
int i=20+ +9- -12+ +4- -13+ +19;
System.out.println(i);
}
}
37
77
27
66
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
nameList = ["Harsh", "Prateek", "Bob"]
print(nameList[1][-1])
Bob
k
keetarp
Harsh, Prateek
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
class Test {
public static void main(String[] args) {
for(int i = 0; true; i++) {
System.out.println("Hello");
break;
}
}
}
Hello
HelloHelloHelloHelloHelloHelloHello
Hello
Hello
Hello
Hello
Infinite loop
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
for i in [1, 2, 3, 4][::-1]:
print(i)
1
2
3
1
2
3
4
4
3
2
1
4
3
2
10 questions
Chapter 2 Java Basic2
Quiz
•
University
20 questions
Web Development and Programming
Quiz
•
University
10 questions
Java Control Flow statements
Quiz
•
University
16 questions
Arithmetic Types Declare Initialize Relation Logical Ops
Quiz
•
9th Grade - University
20 questions
קלט פלט משתנים והוראות השמה
Quiz
•
7th Grade - University
20 questions
Fianal JAVA OOP
Quiz
•
University
10 questions
exception
Quiz
•
University
17 questions
Coding Titans
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