Network Fundamentals Practice Quiz: Test Your Knowledge
Network Fundamentals Practice Quiz
Test Your Knowledge
1. UDP Protocols
Which of the following application layer protocols use UDP segments? (Choose two.)
- DNS
- TFTP
2. UTP Cable Advantages
What are the advantages of UTP cable installation? (Choose three.)
- Less expensive than fiber optic
- More flexible and easy to install
- Allows a simple upgrade of WAN hardware
3. Crossover Cable Use
When do you use a crossover cable on a network?
- When connecting a host to another host
4. Token Ring Topology
Which of the following
Read MorePython Tutorial: Loops, Operators, Data Structures, and More
Python Programming Basics
Control Flow: Pass, Continue, and Break
Let’s understand the pass, continue, and break statements in Python:
(i) Pass:
The pass
statement is a placeholder. It does nothing but is useful when a statement is syntactically required, but you don’t want any action to be taken.
Example:
if condition:
pass # Do nothing for now
(ii) Continue:
The continue
statement is used inside loops. It skips the rest of the current iteration and moves to the next one.
Example:
for i in range(5)
Read More
Linux Commands and System Administration Essentials
1. Viewing Directories
Use the following command to view directories:
find -type d
(finds all directories)ls -l
(lists files and directories in long format)
2. Folders Storing System Files
The following folders store system files:
/
(root directory)/dev
(device files)
3. Controlling Processes: Foreground (FG) and Background (BG)
In Linux, you can run multiple tasks simultaneously. To run a program in the background, add an ampersand (&) to the end of the command line.
Example:
# cp -r /usr/src/linux
Read More
Digital Logic Design: Counters, Flip-Flops, and FSMs
Designing a Mod-10 Asynchronous Counter
Designing a mod-10 asynchronous counter using T flip-flops involves creating a counter that counts from 0 to 9 (binary 0000 to 1001) and then resets to 0.
Counter States
The counter will have four T flip-flops (T0, T1, T2, T3) since 24 = 16, which covers the 10 states needed.
State Transitions
The counter will transition as follows:
Present State (Q3 Q2 Q1 Q0) | Next State (Q3 Q2 Q1 Q0) |
---|---|
0000 | 0001 |
0001 | 0010 |
0010 | 0011 |
0011 | 0100 |
0100 | 0101 |
0101 | 0110 |
0110 | 0111 |
0111 | 1000 |
1000 | 1001 |
1001 | 0000 |
T
Read MoreMemory Management and Virtualization in Operating Systems
Memory Management
Memory Management Concepts
Its primary function is the transfer of data between main memory (MP) and secondary storage (MS). Since access time is greater for MS, the OS tries to reduce the number of I/O operations for MS. It aims to keep the largest number of processes in MP, allow new processes to run without space limitations in MP, and run programs larger than the physical memory capacity using overlay techniques and virtual memory.
Overlay
Overlay involves splitting the program
Read MoreComputer Systems: Hardware, Software, and Data Processing
ITEM 1
Computer System Software and Hardware
A computer is a machine composed of hardware and software. Both require a set of instructions (a program) to operate. The program itself doesn’t work in isolation; it’s essential for the operating system to execute programs and process information.
Computer: A machine consisting of hardware and software.
Hardware: Physical components.
Software: Non-physical components that drive the hardware. A set of instructions or orders.
Computer Application: A set of various
Read More