fa
Feedback

فریب کلاهبرداران را نخورید! تل‌متریو این کانال‌ها را شناسایی و برچسب‌گذاری می‌کند 👉 برای مشاهده برچسب، اشتراک تهیه کنید

Programming Quiz Channel

Programming Quiz Channel

رفتن به کانال در Telegram

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

نمایش بیشتر
803
مشترکین
+124 ساعت
+27 روز
+1230 روز
آرشیو پست ها
Topic: Debugging & Code Output 🔍 Quick look before the question:

x = 5

def outer():
    x = 10
    def inner():
        print(x)
        x = 20
    inner()

outer()

What is the main purpose of CORS (Cross-Origin Resource Sharing) headers?
Anonymous voting

What happens when this code runs?
Anonymous voting

Topic: Debugging & Code Output 🔍 Quick look before the question:

def f(n):
    if n == 0:
        return 0
    return n + f(n - 1)

import sys
sys.setrecursionlimit(3)
print(f(5))

What is the purpose of a Content Security Policy (CSP) header?
Anonymous voting

Which traversal visits a binary tree's root before its left and right subtrees?
Anonymous voting

What does the first console.log actually print?
Anonymous voting

Topic: Web Development 🔍 Quick look before the question:

async function loadUser() {
  const res = await fetch('/api/user');
  const data = await res.json();
  return data;
}

console.log(loadUser());
console.log('after call');

Which of these is a self-balancing binary search tree?
Anonymous voting

In JavaScript, what is a Promise primarily used for?
Anonymous voting

What is the key idea behind union-find (disjoint set) with path compression and union by rank?
Anonymous voting

What does a composite primary key consist of?
Anonymous voting

What is the primary advantage of a hash map over a balanced binary search tree for key-value storage?
Anonymous voting

What does the 'volatile' keyword guarantee for a Java field?
Anonymous voting

What does this print, in order?
Anonymous voting

Topic: Python 🔍 Quick look before the question:

def outer():
    x = 10
    def inner():
        nonlocal x
        x += 5
        return x
    return inner

f = outer()
print(f())
print(f())

What is a primary key's main purpose in a relational table?
Anonymous voting

Which of these creates a shallow copy of a list in Python?
Anonymous voting

What is the practical difference between Object.is(NaN, NaN) and NaN === NaN?
Anonymous voting

Which isolation level allows a transaction to read data another concurrent transaction has written but not yet committed?
Anonymous voting