2024-2025 IGCSE Computer Science Topic 6 and Topic 10 Flashcards

(25 cards)

1
Q

What is the purpose of a flowchart in programming?

A

To visually represent the sequence of steps or decisions needed to perform a process.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

True or False: A variable in programming can hold multiple values at the same time.

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Fill in the blank: The __________ is the basic unit of data in a computer.

A

bit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Which of the following is a type of loop in programming? A) If statement B) For loop C) Function

A

B) For loop

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is an algorithm?

A

A step-by-step procedure for solving a problem or performing a task.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does ‘syntax’ refer to in programming?

A

The set of rules that defines the combinations of symbols that are considered to be correctly structured programs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

True or False: A compiler translates high-level code into machine code.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the main function of an operating system?

A

To manage computer hardware and software resources and provide common services for computer programs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Fill in the blank: In binary, the number 10 is represented as __________.

A

2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Which data structure uses a Last In First Out (LIFO) principle?

A

Stack

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is a syntax error?

A

An error in the code that violates the grammatical rules of the programming language.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

True or False: An array can store values of different data types.

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What does ‘debugging’ refer to in programming?

A

The process of finding and fixing errors in a program.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Fill in the blank: A __________ is a named storage location in memory that holds a value.

A

variable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Which of the following is not a programming language? A) Python B) HTML C) Java

A

B) HTML

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the purpose of conditional statements in programming?

A

To perform different actions based on whether a specified condition is true or false.

17
Q

True or False: A string is a data type that represents a sequence of characters.

18
Q

What is the difference between a function and a procedure?

A

A function returns a value, while a procedure does not.

19
Q

Fill in the blank: The __________ model is used to describe the behavior of a system in terms of inputs and outputs.

20
Q

Which of the following is an example of a high-level programming language? A) Assembly B) C++ C) Machine Code

21
Q

What is an event-driven program?

A

A program that responds to user inputs or events.

22
Q

True or False: The ‘while’ loop will execute at least once.

23
Q

Fill in the blank: A __________ is a collection of related data that can be treated as a single unit.

24
Q

What is the purpose of an IDE (Integrated Development Environment)?

A

To provide a comprehensive facility to programmers for software development.

25
Which of the following is a characteristic of object-oriented programming? A) Inheritance B) Sequencing C) Recursion
A) Inheritance