Computer Science P1 Flashcards

(32 cards)

1
Q

What does CPU stand for?

A

Central Processing Unit

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

True or False: RAM is a 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 main circuit board in a computer.

A

motherboard

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

What is the primary function 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
5
Q

Which of the following is an example of 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
6
Q

Define ‘algorithm’.

A

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

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

True or False: A variable in programming can store different types of data.

A

True

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

What does ‘HTML’ stand for?

A

Hypertext Markup Language

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

What is the difference between a virus and malware?

A

A virus is a type of malware that replicates itself and spreads to other systems.

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

What does ‘IP’ stand for in networking?

A

Internet Protocol

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

Fill in the blank: The __________ is used to uniquely identify devices on a network.

A

IP address

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

What is the main purpose of a database management system (DBMS)?

A

To store, retrieve, and manage data in databases.

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

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

A

Stack

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

What is the function of an API?

A

To allow different software applications to communicate with each other.

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

True or False: A ‘for’ loop is used for repeating a block of code a specific number of times.

17
Q

What is the output of the expression 5 + 3 * 2?

18
Q

What does ‘SQL’ stand for?

A

Structured Query Language

19
Q

What is a ‘boolean’ data type?

A

A data type that can hold one of two values: true or false.

20
Q

Fill in the blank: The __________ is the process of finding and fixing bugs in software.

21
Q

What is the purpose of version control systems like Git?

A

To track changes in source code and facilitate collaboration.

22
Q

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

23
Q

What is the function of a router in a network?

A

To forward data packets between computer networks.

24
Q

True or False: Encryption is used to secure data by converting it into a format that cannot be read without a key.

25
What is the main purpose of a firewall?
To monitor and control incoming and outgoing network traffic based on security rules.
26
What does 'UI' stand for in software development?
User Interface
27
Fill in the blank: __________ is the process of improving the performance and efficiency of a program.
Optimization
28
What is a 'loop' in programming?
A sequence of instructions that repeats until a certain condition is met.
29
Which of the following is an example of a cloud storage service? A) Google Drive B) Microsoft Office C) Adobe Photoshop
A) Google Drive
30
True or False: In object-oriented programming, a class is a blueprint for creating objects.
True
31
What is the purpose of a search algorithm?
To find specific data within a data structure.
32
What does 'HTTP' stand for?
Hypertext Transfer Protocol