Which loop is guaranteed to execute its body at least once?
Anonymous Quiz
12%
for loop
14%
while loop
61%
do...while loop
12%
foreach loop
Which practice helps developers detect integration issues before deploying to production?
Anonymous Quiz
49%
Continuous Integration
26%
Manual Testing only
10%
Code Formatting
15%
Version Tagging
What does an IP address identify?
Anonymous Quiz
18%
A browser
67%
A device
5%
A browser
10%
A database
What is the biggest advantage of using a set instead of a list when checking whether an item exists?
Anonymous Quiz
19%
Sets preserve insertion order better
8%
Sets allow duplicate values
40%
Membership checks are typically much faster
33%
Sets use less memory in every situation
Why does an SSD generally make a computer feel faster than a traditional HDD?
Anonymous Quiz
9%
It has more CPU cores
76%
It accesses data much more quickly
15%
It increases RAM automatically
0%
It executes programs directly
๐1
Topic: Debugging & Code Output
๐ Quick look before the question:
๐ Quick look before the question:
x = 10
def change():
x = x + 1
print(x)
change()
What happens when this code runs?
Anonymous Quiz
62%
Prints 11
3%
Prints 10
24%
Raises an UnboundLocalError
10%
Prints 1
Which method creates a new array without modifying the original?
Anonymous Quiz
8%
push()
44%
splice()
37%
filter()
12%
pop()
Which data structure uses LIFO (Last In, First Out) order?
Anonymous Quiz
21%
Queue
66%
Stack
10%
Linked List
3%
Heap
Which statement removes a table entirely, including its structure?
Anonymous Quiz
18%
DELETE
18%
TRUNCATE
61%
DROP
4%
REMOVE
What is an API primarily used for?
Anonymous Quiz
6%
Styling a webpage
94%
Allowing different software systems to communicate with each other
0%
Compressing image files
0%
Managing hardware drivers
Which device typically connects multiple devices within the same local network?
Anonymous Quiz
53%
Router
35%
Switch
6%
Firewall
6%
Modem
Topic: Debugging & Code Output
๐ Quick look before the question:
๐ Quick look before the question:
def append_item(item, my_list=[]):
my_list.append(item)
return my_list
print(append_item(1))
print(append_item(2))
print(append_item(3))
What is printed on the third call, append_item(3)?
Anonymous Quiz
33%
[3]
53%
[1, 2, 3]
13%
[1, 3]
0%
[2, 3]
What is encapsulation in object-oriented programming?
Anonymous Quiz
0%
Writing code in fewer lines
93%
Bundling data and methods together while hiding internal details
0%
Running code in parallel
7%
Converting code between languages
What does the acronym DOM stand for?
Anonymous Quiz
94%
Document Object Model
0%
Data Object Management
6%
Display Output Module
0%
Document Order Mapping