Comp Systems Flashcards
What is the main function of the CPU?
To execute instructions and process data.
True or False: RAM is a type of non-volatile memory.
False
Fill in the blank: The _____ is the primary storage area for data in a computer system.
hard drive
What does ‘bit’ stand for?
Binary digit
What is the binary equivalent of the decimal number 10?
1010
Define ‘algorithm’.
A step-by-step procedure for solving a problem or performing a task.
What is the purpose of an operating system?
To manage computer hardware and software resources.
True or False: A ‘byte’ consists of 8 bits.
True
What is the hexadecimal representation of the decimal number 255?
FF
What type of data structure is a list?
A collection of ordered elements.
Fill in the blank: In programming, a _____ is a named storage location that holds a value.
variable
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.
Which of the following is a high-level programming language? (A) Assembly (B) Python (C) Machine Code
B) Python
What is a loop in programming?
A sequence of instructions that repeats until a certain condition is met.
True or False: Data can be represented in a computer using only binary code.
True
What is the purpose of a compiler?
To translate high-level programming code into machine code.
Fill in the blank: The _____ operator is used to compare two values.
comparison
What is meant by ‘data validation’?
The process of ensuring that data is accurate and acceptable before processing.
What does ‘debugging’ refer to?
The process of finding and fixing errors in a program.
Which of the following is NOT a type of software? (A) Operating System (B) Compiler (C) Hardware
C) Hardware