Programming Quiz Channel
784 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
What happens when this code runs?
Anonymous Quiz
64%
Prints 11
3%
Prints 10
21%
Raises an UnboundLocalError
12%
Prints 1
Which method creates a new array without modifying the original?
Anonymous Quiz
16%
push()
38%
splice()
32%
filter()
13%
pop()
Which data structure uses LIFO (Last In, First Out) order?
Anonymous Quiz
23%
Queue
66%
Stack
9%
Linked List
3%
Heap
Which statement removes a table entirely, including its structure?
Anonymous Quiz
17%
DELETE
17%
TRUNCATE
63%
DROP
3%
REMOVE
Which device typically connects multiple devices within the same local network?
Anonymous Quiz
47%
Router
38%
Switch
3%
Firewall
13%
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
35%
[3]
54%
[1, 2, 3]
12%
[1, 3]
0%
[2, 3]
Which SQL clause is used to filter groups after a GROUP BY?
Anonymous Quiz
17%
WHERE
50%
HAVING
15%
FILTER
18%
ORDER BY
Which HTTP method is generally considered idempotent, meaning multiple identical requests should have the same effect as one?
Anonymous Quiz
26%
POST
26%
PATCH
11%
DELETE
37%
GET
Which method converts a JSON string into a JavaScript object?
Anonymous Quiz
29%
JSON.stringify()
48%
JSON.parse()
6%
Object.assign()
16%
JSON.toObject()
What exception does Python raise when you divide by zero?
Anonymous Quiz
14%
ValueError
74%
ZeroDivisionError
10%
ArithmeticError
1%
TypeError
What HTTP status code indicates a resource was not found?
Anonymous Quiz
8%
200
6%
301
81%
404
5%
500
Topic: Debugging & Code Output

🔍 Quick look before the question:

def greet(name):
print("Hello " + name)

greet()