Lesson 4 - Concept of Layers Flashcards

1
Q

What is the primary purpose of layers in computer science?

A

To organize and separate different functionalities of a system.

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

True or False: Layers in computer science can lead to increased complexity.

A

True

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

Fill in the blank: The OSI model consists of ____ layers.

A

seven

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

What does OSI stand for?

A

Open Systems Interconnection

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

Which layer of the OSI model is responsible for data encryption?

A

Presentation layer

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

Multiple Choice: Which layer handles end-to-end communication in the OSI model? A) Application B) Transport C) Network D) Data Link

A

B) Transport

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

What is an example of a layer in software architecture?

A

Presentation layer, Business logic layer, Data access layer

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

True or False: The physical layer is the topmost layer of the OSI model.

A

False

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

Short Answer: Name one advantage of using layers in system design.

A

Modularity, easier troubleshooting, or improved maintainability.

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

Fill in the blank: In the TCP/IP model, the equivalent of the OSI’s Application layer is called the ____ layer.

A

Application

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

Multiple Choice: Which layer is primarily concerned with routing data packets? A) Application B) Network C) Transport D) Session

A

B) Network

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

What is the role of the Session layer in the OSI model?

A

To manage sessions between applications.

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

True or False: Layering can improve security by isolating different system functions.

A

True

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

What is the term for the process of breaking down a system into layers?

A

Layering

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

Fill in the blank: The Data Link layer is responsible for ____ and ____ of data frames.

A

framing and error detection

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

Multiple Choice: Which layer provides the means for the user to interact with the application? A) Presentation B) Application C) Session D) Transport

A

B) Application

17
Q

Short Answer: What is one disadvantage of using layers in system design?

A

Potential performance overhead or complexity.

18
Q

True or False: Each layer in a network model can only communicate with the layers directly above and below it.

19
Q

What is the main function of the Transport layer?

A

To provide reliable or unreliable delivery of data.

20
Q

Fill in the blank: The Network layer is responsible for ____ and ____ packets.

A

routing and forwarding