What is a program?
A set of instructions that a computer follows to perform a task.
Name a popular coding language.
Python, Java, JavaScript, etc.
What is a list?
A collection of items stored in a specific order.
Who invented the first computer?
Charles Babbage is credited with designing the first mechanical computer.
What is a website?
A collection of web pages hosted on a server and accessible via the internet.
What does print() do in most languages?
It displays output on the screen.
What does HTML stand for?
HyperText Markup Language.
What is a for loop?
A loop that runs a block of code a set number of times.
Who is Alan Turing?
A British mathematician and computer scientist, known for his work in breaking the Enigma code and founding theoretical computer science.
How does Netflix use computer science?
Netflix uses algorithms and data science to recommend shows and movies based on users' viewing habits.
What is a loop used for?
To repeat a block of code multiple times.
What is the main use of Python?
Python is used for web development, automation, data analysis, and AI.
What is a sorting algorithm?
An algorithm used to arrange data in a specific order, such as ascending or descending.
Who is Grace Hopper?
A pioneering computer scientist who created the first compiler and popularized the idea of machine-independent programming languages.
What is an API?
An Application Programming Interface, which allows different software applications to communicate with each other.
What is the difference between if and else?
If runs code when a condition is true; else runs code when the condition is false.
What's the difference between Java and JavaScript?
Java is mainly used for back-end programming; JavaScript is for front-end web development.
How does binary search work?
It repeatedly divides a sorted list in half, checking the middle element to find a target value.
What is the ENIAC?
The ENIAC was one of the first general-purpose electronic digital computers, built in the 1940s.
What does a "full-stack developer" do?
A full-stack developer works on both the front-end (user-facing) and back-end (server-side) parts of a website or application.
What is recursion?
When a function calls itself to solve smaller instances of the same problem.
What is a compiled language?
A language that is converted directly into machine code, like C++ or Java, before execution.
Explain how quicksort works.
It picks a pivot, partitions the list into elements smaller or larger than the pivot, and recursively sorts the sublists.
When was the World Wide Web created?
It was created by Tim Berners-Lee in 1989.
How is AI used in healthcare?
AI is used to analyze medical data, assist in diagnostics, predict patient outcomes, and even aid in the development of personalized treatments.