2024-2025 IGCSE Computer Science Topic 6 and Topic 10 Flashcards
(25 cards)
What is the purpose of a flowchart in programming?
To visually represent the sequence of steps or decisions needed to perform a process.
True or False: A variable in programming can hold multiple values at the same time.
False
Fill in the blank: The __________ is the basic unit of data in a computer.
bit
Which of the following is a type of loop in programming? A) If statement B) For loop C) Function
B) For loop
What is an algorithm?
A step-by-step procedure for solving a problem or performing a task.
What does ‘syntax’ refer to in programming?
The set of rules that defines the combinations of symbols that are considered to be correctly structured programs.
True or False: A compiler translates high-level code into machine code.
True
What is the main function of an operating system?
To manage computer hardware and software resources and provide common services for computer programs.
Fill in the blank: In binary, the number 10 is represented as __________.
2
Which data structure uses a Last In First Out (LIFO) principle?
Stack
What is a syntax error?
An error in the code that violates the grammatical rules of the programming language.
True or False: An array can store values of different data types.
False
What does ‘debugging’ refer to in programming?
The process of finding and fixing errors in a program.
Fill in the blank: A __________ is a named storage location in memory that holds a value.
variable
Which of the following is not a programming language? A) Python B) HTML C) Java
B) HTML
What is the purpose of conditional statements in programming?
To perform different actions based on whether a specified condition is true or false.
True or False: A string is a data type that represents a sequence of characters.
True
What is the difference between a function and a procedure?
A function returns a value, while a procedure does not.
Fill in the blank: The __________ model is used to describe the behavior of a system in terms of inputs and outputs.
input-output
Which of the following is an example of a high-level programming language? A) Assembly B) C++ C) Machine Code
B) C++
What is an event-driven program?
A program that responds to user inputs or events.
True or False: The ‘while’ loop will execute at least once.
False
Fill in the blank: A __________ is a collection of related data that can be treated as a single unit.
record
What is the purpose of an IDE (Integrated Development Environment)?
To provide a comprehensive facility to programmers for software development.