Programming
Network
Acronyms
SQL
Guess the language
100

What is the difference between == and = in most languages?

== compares values; = assigns a value.

100

What is the default port for HTTP?

80

100

SSH

Secure Shell

100

What command is used to remove a table and all its data?

DROP TABLE

100

def factorial(n):

    if n == 0:

        return 1

    return n * factorial(n - 1)


print(factorial(5))

Python

200

What does “recursion” mean in programming?

A function calling itself to solve smaller instances of a problem.

200

What does DNS do?

Translates domain names to IP addresses

200

CSS

Cascading Style Sheets

200

What clause is used to filter groups created by GROUP BY?

HAVING

200

for file in *.txt; do

  echo "Found $file"

done

Bash

300

What’s the difference between mutable and immutable types?

Mutable can be changed after creation; immutable cannot.

300

What is a NAT used for?

Translating private IPs to public IPs

300

ACID

Atomicity, Consistency, Isolation, Durability

300

What’s the difference between DELETE and TRUNCATE

DELETE is row-by-row and can use WHERE; TRUNCATE removes all rows instantly, no WHERE, resets identity.

300

fn square(x: i32) -> i32 {

    x * x

}


fn main() {

    let result = square(6);

    println!("Result: {}", result);

}

Rust

400

What’s the difference between a thread and a process?

Threads share memory space; processes are isolated.

400

What is the difference between IPv4 and IPv6 addressing structure?

IPv4 uses 32-bit addresses; IPv6 uses 128-bit addresses

400
HTTPS

Hypertext Transfer Protocol Secure

400

What isolation level prevents dirty reads but allows non-repeatable reads

READ COMMITTED

400

section .data

    msg db 'Hi!', 0xA

    len equ $ - msg


section .text

    global _start


_start:

    mov eax, 4

    mov ebx, 1

    mov ecx, msg

    mov edx, len

    int 0x80


    mov eax, 1

    xor ebx, ebx

    int 0x80

Assembly

500

What is method overloading?

Multiple methods with the same name but different parameter lists in the same scope.

500

How does ARP work?

It maps an IP address to a MAC address within a local network.

500

CORS

Cross-Origin Resource Sharing

500

What is 2NF?

Table is in 1NF and all non-key attributes are fully functionally dependent on the entire primary key.

500

func fibonacci(_ n: Int) -> Int {

    if n <= 1 { return n }

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

}


print(fibonacci(6))


Swift