Number Systems
Programming Languages
Abbreviations
Code Output
Time Complexity
100

The decimal equivalent of the binary number '1010'?

What is 10
100

This Python keyword is used to refer to an instance of the class itself. Other languages use words such as 'this'

What is 'self'?

100

The full name for 'CPU'

What is 'Central Processing Unit'?

100

The output of this code:

#include <iostream>using namespace std;

int function(int n) { 

   if (n <= 1)        

      return 1;

   return n * function(n - 1);

}

int main() {    

   int num = 5;

   int result = function(num);

   cout << result << endl;    return 0;

}

What is "120"?

100

The worst/slowest time complexity of the following options:

O(log n), O(2^n), O(n), O(n^2), O(n!), O(1), O(n log n)

What is 'O(n!)'?

200

The hexadecimal number '1A' in decimal

What is 26

200

The symbol used to denote a single-line comment in C++

What is '//'?

200

The full name for 'www' (as in website URLs)

What is 'World Wide Web'?

200

The output of this code:

function isEven($number) {

  return ($number % 2 == 0) ? "Odd" : "Even";

}


$value = 7;

$result = isEven($value);

echo $result;

What is 'Even'?

200

The time complexity which indicates that the algorithm's runtime does not depend on the input size?

What is 'O(1)'?
300

The decimal number 255 in its binary representation

What is '11111111'?

300

The programming language developed by Apple for macOS and iOS app development

What is 'Swift'?

300

The full name for 'IDE'

What is 'Integrated Development Environment'?

300

The output of this code:
public class ArrayExample {

    public static void main(String[] args) {

        int[] numbers = {1, 2, 3, 4, 5};

        for (int i = 0; i <= numbers.length; i++) {

            System.out.print(numbers[i] + " ");

        }

    }

}

What is 'Error: Index Out of Bound Exception'?

300

A sorting algorithm with a time complexity of O(nlogn)

What is 'Merge Sort, Quicksort, Heap Sort'?

400

The base for the Octal number system

What is 'Base 8'?

400

In OOP, the ability of a class to inherit properties and behaviors from more than one superclass

What is 'Multiple inheritance'?

400

The significance of the 's' in 'https' (as opposed to 'http')

What is 'Secure/Security - Indicates that the communication between the user's browser and the web server is encrypted and secure

400

The output of this code:

def mystery_function(n):

    if n <= 1:

        return n

    else:

        return mystery_function(n-1) + mystery_function(n-2)


result = mystery_function(5)

print(result)

What is '5'? (Recursive Fibonacci Sequence)

400

The time complexity of this function:

def function(arr, target):

    low = 0

    high = len(arr) - 1


    while low <= high:

        mid = (low + high) // 2

        if arr[mid] == target:

            return mid

        elif arr[mid] < target:

            low = mid + 1

        else:

            high = mid - 1

What is 'O(logn)'?

500

The value of the binary number '1101' when converted to octal

What is '15'?

500

The difference between a statically and dynamically typed language

What is 'the time at which variables are determined (compile time vs runtime respectively)'?

500

Full name of 'API'

What is 'Application Programming Interface'

500

The output of the following code:

function asyncFunction() {

    setTimeout(function() {

        console.log("Async function executed.");

    }, 1000);

}


console.log("Start");

asyncFunction();

console.log("End");

What is '"Start" "End" "Async function executed".'?

500

The time complexity of finding the shortest path between two nodes in a weighted, connected graph using Dijkstra's algorithm (In terms of the # of vertices)

What is 'O(V^2)' (Where V is the # of vertices)?