Comp Systems Flashcards

(50 cards)

1
Q

What is the main function of the CPU?

A

To execute instructions and process data.

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

True or False: RAM is a type of non-volatile memory.

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 primary storage area for data in a computer system.

A

hard drive

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

What does ‘bit’ stand for?

A

Binary digit

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

What is the binary equivalent of the decimal number 10?

A

1010

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

Define ‘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
7
Q

What is the purpose of an operating system?

A

To manage computer hardware and software resources.

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

True or False: A ‘byte’ consists of 8 bits.

A

True

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

What is the hexadecimal representation of the decimal number 255?

A

FF

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

What type of data structure is a list?

A

A collection of ordered elements.

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

Fill in the blank: In programming, a _____ is a named storage location that holds a value.

A

variable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
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
13
Q

Which of the following is a high-level programming language? (A) Assembly (B) Python (C) Machine Code

A

B) Python

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

What is a loop in programming?

A

A sequence of instructions that repeats until a certain condition is met.

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

True or False: Data can be represented in a computer using only binary code.

A

True

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

What is the purpose of a compiler?

A

To translate high-level programming code into machine code.

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

Fill in the blank: The _____ operator is used to compare two values.

A

comparison

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

What is meant by ‘data validation’?

A

The process of ensuring that data is accurate and acceptable before processing.

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

What does ‘debugging’ refer to?

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
20
Q

Which of the following is NOT a type of software? (A) Operating System (B) Compiler (C) Hardware

A

C) Hardware

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

What is an array?

A

A collection of items stored at contiguous memory locations.

22
Q

True or False: A function can return multiple values.

23
Q

What is the purpose of a flowchart?

A

To visually represent the steps in a process or algorithm.

24
Q

Fill in the blank: The _____ is the part of the computer that performs arithmetic and logical operations.

A

ALU (Arithmetic Logic Unit)

25
What is the difference between 'hardware' and 'software'?
Hardware refers to the physical components of a computer, while software refers to the programs that run on the hardware.
26
What is a conditional statement?
A statement that executes a certain block of code based on whether a condition is true or false.
27
Which of the following is an example of an input device? (A) Monitor (B) Keyboard (C) Printer
B) Keyboard
28
What does 'ASCII' stand for?
American Standard Code for Information Interchange
29
True or False: A string is a type of data that can hold multiple characters.
True
30
What is the purpose of a database?
To store and manage data efficiently.
31
Fill in the blank: The _____ is the main circuit board in a computer that connects all components.
motherboard
32
What is a 'syntax error'?
An error that occurs when the code does not follow the correct syntax of the programming language.
33
What does 'iterative' mean in programming?
Referring to a process that repeats a set of instructions multiple times.
34
Which data type would you use to represent a true/false value?
Boolean
35
What is the role of a network interface card (NIC)?
To connect a computer to a network.
36
What is the purpose of encryption?
To protect data by converting it into a secure format.
37
Fill in the blank: The _____ is the temporary storage area for data that the CPU is currently processing.
cache
38
What is a 'class' in object-oriented programming?
A blueprint for creating objects that defines properties and methods.
39
True or False: An algorithm must always be written in a programming language.
False
40
What is the purpose of comments in code?
To provide explanations or notes for other programmers or for future reference.
41
What does 'API' stand for?
Application Programming Interface
42
Fill in the blank: The _____ is the part of the computer that stores data permanently.
hard drive
43
What is the difference between 'syntax' and 'runtime' errors?
Syntax errors occur during code writing, while runtime errors occur during program execution.
44
What is the role of an algorithm in programming?
To provide a clear set of steps to solve a problem.
45
Which of the following is a type of loop? (A) For loop (B) If statement (C) Variable
A) For loop
46
What does 'data type' refer to?
The classification of data based on the type of value it holds.
47
Fill in the blank: An _____ allows users to interact with the computer through graphical elements.
GUI (Graphical User Interface)
48
What is a 'debugger'?
A tool used to test and debug programs.
49
True or False: A variable must be declared before it can be used in a program.
True
50
What is the main purpose of a software update?
To improve functionality, fix bugs, or enhance security.