Computer Science P1 Flashcards
(32 cards)
What does CPU stand for?
Central Processing Unit
True or False: RAM is a non-volatile memory.
False
Fill in the blank: The __________ is the main circuit board in a computer.
motherboard
What is the primary function of an operating system?
To manage computer hardware and software resources.
Which of the following is an example of a high-level programming language? A) Assembly B) Python C) Machine Code
B) Python
Define ‘algorithm’.
A step-by-step procedure for solving a problem or accomplishing a task.
What is the purpose of a compiler?
To translate high-level programming code into machine code.
True or False: A variable in programming can store different types of data.
True
What does ‘HTML’ stand for?
Hypertext Markup Language
What is the difference between a virus and malware?
A virus is a type of malware that replicates itself and spreads to other systems.
What does ‘IP’ stand for in networking?
Internet Protocol
Fill in the blank: The __________ is used to uniquely identify devices on a network.
IP address
What is the main purpose of a database management system (DBMS)?
To store, retrieve, and manage data in databases.
Which data structure uses LIFO (Last In First Out)?
Stack
What is the function of an API?
To allow different software applications to communicate with each other.
True or False: A ‘for’ loop is used for repeating a block of code a specific number of times.
True
What is the output of the expression 5 + 3 * 2?
11
What does ‘SQL’ stand for?
Structured Query Language
What is a ‘boolean’ data type?
A data type that can hold one of two values: true or false.
Fill in the blank: The __________ is the process of finding and fixing bugs in software.
debugging
What is the purpose of version control systems like Git?
To track changes in source code and facilitate collaboration.
Which of the following is NOT a type of software? A) System software B) Application software C) Hardware
C) Hardware
What is the function of a router in a network?
To forward data packets between computer networks.
True or False: Encryption is used to secure data by converting it into a format that cannot be read without a key.
True