Leetcode
Number Systems
Cybersecurity
Data Structures and Algorithms
Miscellaneous
100

Write a syntax in your chosen language

;

100

This number system is used by most modern computers and consists only of 0s and 1s.

What is binary?

100

This is the practice of tricking people into giving up sensitive information, often through emails pretending to be from a legitimate source.

What is phishing?

100

This data structure operates on a 'last in, first out' (LIFO) principle, where elements are added and removed from the same end.

Stack


100

This company, founded in 1998, revolutionized online payments and is now one of the largest digital payment platforms globally.

What is PayPal?

200

Code a program that prints true or false for even numbers

public class EvenCheck {

    public static void main(String[] args) {

        int start = 1;  // Starting number

        int end = 20;   // Ending number


        for (int i = start; i <= end; i++) {

            System.out.println(i + " is even: " + (i % 2 == 0));

        }

    }

}

200

This base-16 number system is commonly used in computing and includes the digits 0-9 and letters A-F.

What is hexadecimal?

200

This type of software is designed to detect and remove malicious programs such as viruses.

What is antivirus software?

200

This data structure consists of nodes, where each node contains data and a reference to the next node in the sequence, forming a chain-like connection.

Linked List


200

This 2015 movies tells the story of three black female mathematicians who helped NASA launch astronauts into space

Who are Hidden Figures?


300

Code a program that can divide numbers

 public static void main(String[] args) {

        Scanner scanner = new Scanner(System.in);

        

        System.out.print("Enter numerator: ");

        double num1 = scanner.nextDouble();

        

        System.out.print("Enter denominator: ");

        double num2 = scanner.nextDouble();

        

        System.out.println(num2 != 0 ? "Result: " + num1 / num2 : "Error: Division by zero.");

        

        scanner.close();

    }

300

The decimal number 39 is represented as this in binary.

What is 100111?

300

A strong password should include a mix of these four types of characters.

What are uppercase letters, lowercase letters, numbers, and special characters?

300

In this simple sorting algorithm, adjacent elements are repeatedly swapped if they are in the wrong order, causing smaller elements to 'float' to the top of the list.

Bubble Sort


300

This Hollywood actress and inventor co-developed a frequency-hopping technology that became the foundation for modern Wi-Fi, Bluetooth, and GPS.

Who is Hedy Lamarr?


400

Create a program that compares two strings

public static void main(String[] args) {

        // Define two strings

        String str1 = "Hello";

        String str2 = "Hello";


        // Compare the strings

        if (str1.equals(str2)) {

            System.out.println("The strings are equal.");

        } else {

            System.out.println("The strings are not equal.");

        }

    }

400

The decimal number 111 is represented as this in hexadecimal. 

6F

400

This type of authentication requires something you know (password) and something you have (a code from your phone) to log in securely.

What is two-factor authentification?

400

This efficient, divide-and-conquer sorting algorithm splits an array into smaller subarrays, sorts them recursively, and then combines the sorted subarrays back together

Merge Sort


400

This 19th-century visionary wrote detailed notes on Charles Babbage's Analytical Engine, explaining how it could be programmed to perform tasks beyond arithmetic, laying the groundwork for modern computing.

Who is Ada Lovelace?

500

Create a program that iterates through an integer list and adds all the numbers

public static void main(String[] args) {

        // Initialize the array of integers

        int[] numbers = {5, 10, 15, 20};

        

        // Calculate the sum using a stream

        int sum = Arrays.stream(numbers).sum();

        

        // Print the result

        System.out.println("The sum of the numbers is: " + sum);

    }

500

The number 13F7B in hexadecimal is equal to this in binary. 

What is 10011111101111011?

500

This type of cybersecurity measure scrambles data so that only authorized users can read it.

What is encryption?

500

A classic puzzle involving three rods and a stack of disks, where the goal is to move the entire stack to another rod, one disk at a time, without placing a larger disk on top of a smaller one

Towers of Hanoi

500

Known for her work on COBOL, she became a leader in the push for business computing in the 1960s.

Who is Grace Hopper?

M
e
n
u