Define algorithm.
A step-by-step procedure for solving a problem or performing a task.
True or false: Binary search is faster than linear search for sorted data.
TRUE
Binary search has a time complexity of O(log n).
Fill in the blank: RAM stands for _______.
Random Access Memory
What is a variable in programming?
A storage location identified by a name that holds data.
Define syntax error.
An error in the code that violates the rules of the programming language.
What does CPU stand for?
Central Processing Unit
True or false: HTML is a programming language.
FALSE
HTML is a markup language used for structuring web content.
What is the purpose of a loop in programming?
To repeat a block of code multiple times.
Fill in the blank: IP stands for _______.
Internet Protocol
Define debugging.
The process of identifying and fixing errors in software.
What is a function?
A reusable block of code that performs a specific task.
True or false: Data types determine the kind of data a variable can hold.
TRUE
Common data types include integers, strings, and booleans.
Define encryption.
The process of converting data into a coded format to prevent unauthorized access.
What is the role of an operating system?
To manage computer hardware and software resources.
True or false: Cloud computing allows data storage on remote servers.
TRUE
It enables access to data over the internet.
What is a database?
An organized collection of structured information or data.
Define open-source software.
Software with source code that anyone can inspect, modify, and enhance.
What is machine learning?
A subset of AI that enables systems to learn from data and improve over time.
True or false: Phishing is a method to secure data.
FALSE
Phishing is a fraudulent attempt to obtain sensitive information.
What is a network?
A collection of computers and devices connected to share resources.
True or false: Malware is software designed to harm or exploit devices.
TRUE
Types of malware include viruses, worms, and trojans.