IP Addressing and Processes Lecture Review

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/15

flashcard set

Earn XP

Description and Tags

This set of flashcards covers IP addressing (CIDR, netmasks, broadcast addresses), process management (fork, wait, process trees), and I/O buffering concepts discussed in the lecture.

Last updated 12:40 AM on 6/18/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

16 Terms

1
New cards

When is Assignment 3 due according to the lecture administration notes?

3 p. M. Thursday, May 28 (Week 13)

2
New cards

In CIDR notation exercises, what does the constraint 'all networks are as small as possible' imply?

The networks should have the fewest number of host bits in the address, or the greatest number of network bits, pushing the divide as far to the right as possible.

3
New cards

What are the two binary patterns that the host part of an IP address cannot be?

The host part cannot be all zeros (network address) or all ones (broadcast address).

4
New cards

For Network A with addresses ranging from 10.254.1.710.254.1.7 to 10.254.1.3110.254.1.31, what is the CIDR notation identified in the lecture?

10.254.1.0/2610.254.1.0/26

5
New cards

For Network B with addresses ranging from 192.168.21.0192.168.21.0 to 192.168.21.255192.168.21.255, what is the calculated CIDR notation?

192.168.20.0/22192.168.20.0/22

6
New cards

How is a netmask defined in binary terms?

A netmask consists of all ones in the network part and all zeros in the host part.

7
New cards

How is a broadcast address calculated using the network part and host part?

It is the network part combined with all ones in the host part.

8
New cards

If a network has 15 computers connected to it, what is the minimum number of host bits required?

At least 55 bits (providing 25=322^5=32 combinations, or 3030 usable host addresses).

9
New cards

According to the transcript, which IP address ranges are considered private and not routable on the external internet?

The 192192 networks and the 1010 dot networks.

10
New cards

In a process tree diagram, what does a horizontal line represent?

A process, with time moving from left to right.

11
New cards

What values does the fork() command return to the child and the parent processes?

It returns 00 to the child process and the process ID (PID) of the child to the parent process.

12
New cards

What is the difference in buffering when output is sent to a terminal versus a pipe?

Output to a terminal is line buffered (flushed at new lines), while output to a pipe is block buffered.

13
New cards

Why does block buffering result in more output lines after a fork()?

The buffer is inherited by the child process, and if it hasn't been flushed before the fork, the buffered content is duplicated and eventually printed by both processes.

14
New cards

In the specific process tree example provided, how many total processes were created including the initial process?

77

15
New cards

In the lecture's process example, why can't the maximum number of running processes reach the total process count of seven?

Because of scheduling constraints like wait(), specifically that processes five and six could never be alive at the same time.

16
New cards

What was the minimum number of output lines for the process example when line buffering was used?

2222