Questions and Answers Latest Version
Already Passed
What is the primary function of a compiler in programming?
✔✔ To translate high-level code into machine code that can be executed by a computer
What is an array in computer science?
✔✔ A collection of elements stored at contiguous memory locations, typically of the same data
type
What does “debugging” mean in software development?
✔✔ Finding and fixing errors or bugs in the code
What is the purpose of a loop in programming?
✔✔ To repeat a block of code multiple times based on a condition
What is the main advantage of using functions in code?
✔✔ To break down complex problems into reusable and manageable parts
1
,What is an algorithm?
✔✔ A step-by-step procedure for solving a problem or performing a task
What is a variable in computer programming?
✔✔ A storage location that holds a value which can change during program execution
What is object-oriented programming?
✔✔ A programming paradigm based on the concept of objects that contain both data and
methods
What is the role of RAM in a computer system?
✔✔ It temporarily stores data and programs that are currently in use by the CPU
What does IP address stand for?
✔✔ Internet Protocol address
What is recursion in programming?
2
,✔✔ A function that calls itself to solve smaller instances of a problem
What is a database?
✔✔ An organized collection of data that can be accessed and managed electronically
What is a syntax error?
✔✔ A mistake in the code that violates the programming language’s grammar rules
What is the primary function of an operating system?
✔✔ To manage hardware resources and provide services for computer programs
What is the difference between a while loop and a for loop?
✔✔ A while loop continues as long as a condition is true; a for loop repeats a fixed number of
times or over a range
What is binary code?
✔✔ A system of representing data using only two symbols: 0 and 1
3
, What is meant by “open-source software”?
✔✔ Software whose source code is freely available for anyone to view, modify, and distribute
What is a logic gate?
✔✔ A digital circuit that follows Boolean logic to produce an output based on inputs
What is the purpose of a firewall in networking?
✔✔ To protect a network by filtering incoming and outgoing traffic based on security rules
What is encryption?
✔✔ The process of converting information into a code to prevent unauthorized access
What is the main advantage of a linked list over an array?
✔✔ It allows efficient insertion and deletion of elements without shifting other elements
What does the acronym HTML stand for?
✔✔ HyperText Markup Language
4