Programming Quiz Channel
776 subscribers
81 photos
4 videos
1 file
Programming quizzes and knowledge tests

Short quizzes on programming, logic and computer science.

Test and improve your coding knowledge.
Join ๐Ÿ‘‰ https://rebrand.ly/bigdatachannels

DMCA: @disclosure_bds
Contact: @mldatascientist
Download Telegram
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
Please open Telegram to view this post
VIEW IN TELEGRAM
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:

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
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:

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]