Comp Systems Flashcards

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.

A

False

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
Q

What is the difference between ‘hardware’ and ‘software’?

A

Hardware refers to the physical components of a computer, while software refers to the programs that run on the hardware.

26
Q

What is a conditional statement?

A

A statement that executes a certain block of code based on whether a condition is true or false.

27
Q

Which of the following is an example of an input device? (A) Monitor (B) Keyboard (C) Printer

A

B) Keyboard

28
Q

What does ‘ASCII’ stand for?

A

American Standard Code for Information Interchange

29
Q

True or False: A string is a type of data that can hold multiple characters.

A

True

30
Q

What is the purpose of a database?

A

To store and manage data efficiently.

31
Q

Fill in the blank: The _____ is the main circuit board in a computer that connects all components.

A

motherboard

32
Q

What is a ‘syntax error’?

A

An error that occurs when the code does not follow the correct syntax of the programming language.

33
Q

What does ‘iterative’ mean in programming?

A

Referring to a process that repeats a set of instructions multiple times.

34
Q

Which data type would you use to represent a true/false value?

A

Boolean

35
Q

What is the role of a network interface card (NIC)?

A

To connect a computer to a network.

36
Q

What is the purpose of encryption?

A

To protect data by converting it into a secure format.

37
Q

Fill in the blank: The _____ is the temporary storage area for data that the CPU is currently processing.

A

cache

38
Q

What is a ‘class’ in object-oriented programming?

A

A blueprint for creating objects that defines properties and methods.

39
Q

True or False: An algorithm must always be written in a programming language.

A

False

40
Q

What is the purpose of comments in code?

A

To provide explanations or notes for other programmers or for future reference.

41
Q

What does ‘API’ stand for?

A

Application Programming Interface

42
Q

Fill in the blank: The _____ is the part of the computer that stores data permanently.

A

hard drive

43
Q

What is the difference between ‘syntax’ and ‘runtime’ errors?

A

Syntax errors occur during code writing, while runtime errors occur during program execution.

44
Q

What is the role of an algorithm in programming?

A

To provide a clear set of steps to solve a problem.

45
Q

Which of the following is a type of loop? (A) For loop (B) If statement (C) Variable

A

A) For loop

46
Q

What does ‘data type’ refer to?

A

The classification of data based on the type of value it holds.

47
Q

Fill in the blank: An _____ allows users to interact with the computer through graphical elements.

A

GUI (Graphical User Interface)

48
Q

What is a ‘debugger’?

A

A tool used to test and debug programs.

49
Q

True or False: A variable must be declared before it can be used in a program.

A

True

50
Q

What is the main purpose of a software update?

A

To improve functionality, fix bugs, or enhance security.