
TECHTRIX2025 BUGHUNT FINALS
Quiz
•
Other
•
University
•
Hard
Sarmistha Moharer
Used 1+ times
FREE Resource
35 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the error in the code? numbers = [1, 2, 3, 4, 5] for i in range(6): print(numbers[i])
Index out of range
Syntax error in loop
Incorrect list initialization
No error
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the error in the code? def add(a, b): return a + b result = add(5, "10") print(result)
Syntax error in function definition
Type error (adding int and string)
Missing return statement
No error
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the error in the code? def greet(name): print("Hello, " + name) greet("Alice") greet("Bob", "Charlie")
Missing return statement
Too many arguments in the second function call
Syntax error in print statement
No error
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the error in the code? x = [1, 2, 3] y = x.append(4) print(y)
Syntax error in list append
`append` returns `None`, so `y` is `None`
Incorrect list initialization
No error
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the error in the code? def multiply(a, b): result = a * b return result print(multiply(2))
Missing return statement
Missing argument in function call
Syntax error in function definition
No error
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the error in the code? x = 10 if x > 5: print("x is greater than 5")
Missing colon
Incorrect indentation
Syntax error in condition
No error
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the error in the code? def square(n): return n ** 2 print(square("5"))
Syntax error in function definition
Type error (string cannot be squared)
Missing return statement
No error
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple

Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
32 questions
Examen de Algoritmos y Programación
Quiz
•
University
30 questions
Айко
Quiz
•
University
30 questions
C Programming Quiz
Quiz
•
University
40 questions
CCTS
Quiz
•
University
32 questions
Quizz
Quiz
•
University
30 questions
UNIT 2 & 3
Quiz
•
University
30 questions
Code Carrer 1st Year
Quiz
•
University
32 questions
Python Fundamentals- 02
Quiz
•
5th 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 Other
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