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

نمایش بیشتر
735
مشترکین
-224 ساعت
+87 روز
+2530 روز
آرشیو پست ها
JavaScript's const keyword guarantees what?
Anonymous voting

Which operator accesses members through a pointer in C++?
Anonymous voting

Which HTTP status code means "Not Found" ?
Anonymous voting

Which sorting algorithm has the worst case O(n^2)?
Anonymous voting

Which keyword creates an object in Java?
Anonymous voting

Which Automata has a stack memory?
Anonymous voting

Starvation in operating system means:
Anonymous voting

Which SQL clause sorts results?
Anonymous voting

Which data structure uses LIFO behavior ?
Anonymous voting

In Java, what is the default value for uninitialized int variable inside a class?
Anonymous voting

Which HTTP status implies retry later?
Anonymous voting

Which OS algorithm may cause starvation?
Anonymous voting

In Python, what is the result of len("abc" * 3)?
Anonymous voting

Which SQL keyword removes duplicate rows?
Anonymous voting

What is the time complexity of binary search on a sorted array?
Anonymous voting

What will this code output? Spot the bug. Difficulty: Hard😤
for (var i = 0; i < 5; i++) {
    setTimeout(function() {
        console.log(i);
    }, 1000);
}

Which CSS property controls the text size?
Anonymous voting

#memes
#memes

3 rounding methods in JavaScript
3 rounding methods in JavaScript

Find the error in the code. Difficulty: Hard😤
function processArray(arr) {
    let result = [];
    
    arr.forEach(item => {
        if (item != '') { 
            result.push(item);
        } else if (typeof item === 'number') { 
            result.push(item * 2);
        }
    });

    return result;
}

let data = [1, '', 2, 3, '', 5, null, undefined, 'hello'];

console.log(processArray(data));