Coding Problems
History of Computing
Programming Languages
Google
100

for (int i = 10; i > 0; i-=2) {
   cout << i << " ";
}

This is what this loop above prints.

What is "10 8 6 4 2 "?

100

A powerful AI model-based chatbot that was invented by OpenAI in 2022.

What is CHATGPT?

100

A high-level programming language that was founded in 1989 by Guido van Rossum. Widely used in data science.

What is PYTHON?

100

Fill in the blank.

This year is Google's __ anniversary. 

What is 25TH?

200

def countdown(n):
    if n <= 0:
        print("Done!")
    else:
        print(n)
        countdown(n/2)

This is the output when countdown(5) is called.

What is 

Done

1

2

5

200

A British mathematician who invented the Turing machine in 1936.

What is ALAN TURING?

200

A programming language that was founded in 1985 by Bjarne Stroustrup as an extension to the C language.

What is C++?

200

The year Google was founded.

What is 1998?
300

int mystery(int n) {
    if (n == 0) return 0;
    return n + mystery(n - 1);
}

This is the output when mystery(4) is called.

What is 10?

300

An American computer scientist and naval officer who coined the term "debugging"

What is GRACE HOPPER?

300

A programming language that was developed by Microsoft; often used for game development.

What is C#?

300

A conversational AI tool that was launched by Google this year

What is GOOGLE BARD?

400

00100111

Convert this binary number to its decimal equivalent.

What is 39?

400

In which year was the World Wide Web (WWW) invented, leading to the explosion of the internet as we know it today?

What is 1989?

400

A programming language that is similar to JavaScript expect that it has static typing; often used for building large-scale web applications.

What is TYPESCRIPT?
400

A special, temporary alteration to the Google's logo that is intended to commemorate holidays, events, achievements, and notable historical figures.

What is GOOGLE DOODLE?

500

int a = 20, b = 11, c = 3;   // global variables
void confuse1(int &b, int c) {
    b = 31;  
    c = 26;          
}
void confuseDriver() {
    int a = 9, b = 13;  
    confuse1( c, b);
    cout << a + b + c  << endl;
}

This is the output when confuseDriver() is called.

What is 53?

500

An English mathematician that wrote the world's first computer program in 1848.

What is ADA LOVELACE?

500

A type of programming that use mathematical functions, but the variables are immutable. Recursion and high-order functions are commonly used for this type of programming.

What is FUNCTIONAL PROGRAMMING?

500

Google created this programming language that have share similar syntax to C programing language and is statically typed.

Hint: There will be a series about this language later in this academic year.

What is GO LANG?

M
e
n
u