Tech Flashcards

1
Q

What is the main purpose of an operating system?

A

To manage computer hardware and software resources and provide common services for computer programs.

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

True or False: A compiler translates high-level programming code into machine code.

A

True

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

Fill in the blank: The ____ is the brain of the computer.

A

CPU (Central Processing Unit)

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

What does RAM stand for?

A

Random Access Memory

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

Which of the following is a programming language? A) HTML B) CSS C) Python D) SQL

A

C) Python

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

What is an 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

True or False: A database is used to store data in an organized manner.

A

True

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

What is the purpose 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
9
Q

What does the acronym ‘HTML’ stand for?

A

HyperText Markup Language

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

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

A

Stack

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

What is the primary function of a web browser?

A

To retrieve, present, and navigate information on the World Wide Web.

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

Fill in the blank: The ____ is a collection of interconnected networks that spans the globe.

A

Internet

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

What is the purpose of version control systems?

A

To manage changes to source code over time.

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

True or False: Machine learning is a subset of artificial intelligence.

A

True

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

What does ‘SQL’ stand for?

A

Structured Query Language

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

Which sorting algorithm has the best average-case time complexity?

A

Merge sort

17
Q

What is the difference between a class and an object in object-oriented programming?

A

A class is a blueprint for creating objects, while an object is an instance of a class.

18
Q

What is the purpose of a firewall?

A

To protect a network by controlling incoming and outgoing traffic based on predetermined security rules.

19
Q

Fill in the blank: In networking, ____ is the process of converting data into a coded form.

A

Encryption

20
Q

What is the function of the operating system’s scheduler?

A

To allocate CPU time to various processes.

21
Q

Which of the following is a type of NoSQL database? A) MySQL B) MongoDB C) PostgreSQL D) SQLite

A

B) MongoDB

22
Q

What does ‘URL’ stand for?

A

Uniform Resource Locator

23
Q

True or False: A byte consists of 8 bits.

A

True

24
Q

What is the role of a network protocol?

A

To define rules and conventions for communication between network devices.

25
Q

Fill in the blank: The ____ is used to manage memory allocation in a computer.

A

Memory Manager

26
Q

What is polymorphism in object-oriented programming?

A

The ability for different classes to be treated as instances of the same class through a common interface.

27
Q

What is the primary function of a router?

A

To forward data packets between computer networks.