What language is used mainly for making web pages?
HTML
What language, known for its use in web development alongside HTML and CSS, was developed by Netscape in the mid-1990s?
JavaScript
What term refers to a set of instructions that a computer can execute?
Program
Debug (Python):
print("Hello World)
Missing a closing quotation mark
What U.S. state is known as the "Sunshine State"?
Florida
What language is used to style websites and control things like fonts and colors?
CSS
What visual programming language is widely used for teaching programming to beginners and is known for its colorful blocks that represent code?
Scratch
What type of loop repeats a block of code as long as a specified condition remains true?
While loop
Debug (JavaScript):
let num = 10;
if (num == 10) {
console.log("Number is ten")
}
Missing a semicolon at the end of the console.log commmand
What is the only country in the world that is also a continent?
Australia
What language, designed by Bjarne Stroustrup, was an extension of C, adding things like object-oriented features?
C++
What programming language, the foundation for many modern programming languages, was created by Dennis Ritchie at Bell Labs in the 1970s? (Hint: A, B, ...)
C
What term refers to the part of a program where the user interacts with the application?
Debug (C++):
#include <iostream>
int main() {
int x = 5;
if x == 5 {
std::cout << "x is 5" << std::endl;
}
}
Missing parentheses around "x==5"
What is the most abundant gas on Earth?
Nitrogen gas
What programming language was named after a comedy group?
Python
What programming language, developed by Apple, is commonly used for iOS and macOS application development?
Swift
What term refers to a function that calls itself to solve smaller instances of a problem, often used in algorithms like sorting or searching?
Recursion
Debug (Python):
def divide_numbers(a, b):
if b = 0:
return "Cannot divide by zero"
return a / b
print(divide_numbers(10, 2))
print(divide_numbers(10, 0))
Should be "==" to compare b to 0
Who is the hero in Greek mythology who completed twelve labors, including slaying the Nemean Lion?
What language, developed by James Gosling at Sun Microsystems, is known for its portability and slogan “Write once, run anywhere”?
Java
What programming language, considered low-level and often used for system-level programming, uses syntax like mov, add, and jmp?
Assembly
What concept in object-oriented programming refers to the ability of different classes to be treated as instances of the same class through inheritance?
Debug (Python):
def calculate_area(radius):
area = 3.14 * radius * radius
return area
radius = 5
calculate_area(radius)
print("Area:", area)
Area is a local variable in the "calculate_area" function and therefore cannot be referenced
What is the phobia of height called?
Acrophobia