CS Notes FInal Term
CS Notes FInal Term
Computer Network
A Computer Network is a group of two or more interconnected computer systems that use common
connection protocols for sharing various resources and files. You can establish a computer network
connection using either cable or wireless media. Every network involveshardware and software that
connects computers and tools.
A computer network can be categorized by its size. A computer network is mainly of four types:
o LAN (Local Area Network)
o PAN (Personal Area Network)
o MAN (Metropolitan Area Network)
o WAN (Wide Area Network)
Characteristics of PAN
Below are the main characteristics of PAN:
WAN (Wide Area Network) is another important computer network that which is spread across alarge
geographical area. WAN network system could be a connection of a LAN which connects with other LAN’s
using telephone lines and radio waves. It is mostly limited to an enterprise or an organization.
• The software files will be shared among all the users; therefore, all can access to the latestfiles.
• Any organization can form its global integrated network using WAN.
The End
Chapter 1
Lecture Topics: Networking and Security Fundamentals
The End
Chapter 1
Lecture Topics: Data Transmission and Operating System
Echo Checks:
Echo checks are a simple method of error detection used in data transmission. In an echo check, the sender
transmits data to the receiver. The receiver then sends the data back to the sender, who compares the echoed data
with the original data.
• Process:
An operating system is the software that manages computer hardware and software resources and provides
services for computer programs.
Features of OS:
1. Process Management: Managing the execution of processes, including multitasking and process
synchronization.
2. Memory Management: Handling memory allocation for processes, ensuring efficient use of
memory.
3. File System Management: Managing files on storage devices, including file creation, deletion,
and access control.
4. Device Management: Controlling and monitoring peripheral devices, such as printers, disks, and
network interfaces.
5. User Interface: Providing a user interface, such as command-line or graphical user interface
(GUI), for interaction with the system.
Network Operating Systems (NOS)
A Network Operating System (NOS) is software that controls and manages network resources, allowing multiple
computers to communicate, share resources, and work together.
• Features of NOS:
1. User Management: Managing multiple users and their access rights.
2. Security: Implementing security protocols to protect data and resources.
3. Resource Sharing: Enabling the sharing of files, printers, and other resources across the network.
• Network OS:
o Designed to manage and coordinate multiple computers across a network.
o Focuses on resource sharing, security, and user management in a networked environment.
• Standard OS:
o Designed to manage resources on a single computer.
o Focuses on process management, memory management, and device management on a standalone
system.
1. Network Monitoring: Tools like network analyzers and monitoring software to track network
performance and detect issues.
2. Backup and Recovery: Software that automates data backup across the network and provides recovery
solutions.
3. Security Utilities: Antivirus, firewall, and encryption tools to protect network data and prevent
unauthorized access.
4. File Management: Utilities for managing files, such as archiving, compression, and secure deletion
across the network.
Augmented Reality (AR) overlays digital information on the real-world environment, enhancing the user’s
perception of reality.
Applications of AR:
1. Education:
The End
Chapter 3
Lecture Topics: Connections are made: Accessing the internetvhgvc
Operating Systems (OS): Manage hardware and software resources. Tasks include managing files, memory, and
processes.
Utility Programs: Special software to perform maintenance tasks like file management and disk cleanup.
2. Data Representation
ASCII (American Standard Code for Information Interchange): Represents text characters in binary.
Binary and Denary Conversions:
o Binary uses 0s and 1s to store data.
o Denary is the standard base-10 numbering system.
3. Compression Techniques
Purpose: Reduces file size for storage efficiency and faster internet transfer.
Common Techniques: Run-length encoding (replacing repeated values with symbols and counts).
Logic Gates:
o AND: Outputs TRUE only if all inputs are TRUE.
o OR: Outputs TRUE if at least one input is TRUE.
o NOT: Inverts the input.
Truth Tables: Represent the outputs of logic gates based on different inputs.
3. Robotics
Definition: Teaching computers to perform complex tasks by learning from data and past experiences instead of
relying solely on predefined programming.
Examples of Machine Learning:
o Home assistants recommending alarms based on past settings.
o TV subscriptions suggesting content based on viewing history.
o Google Maps verifying store timings using real-world traffic data.
Key Terms:
Autonomous Programming: Integration of hardware and AI to solve problems without human intervention.
Learning Systems: Devices adapt over time, improving user interaction efficiency (e.g., predictive text, voice
assistants).
2. Digital Compression
Purpose: Reduces file size to save storage space and accelerate transmission speeds.
Techniques:
o Run-Length Encoding (RLE): Replaces repeated patterns in data with a single count and pattern
representation.
o Example: A simple black-and-white bitmap is encoded into a string of counts for black and white
sections.
Integration Example: AR glasses combined with AI to guide emergency responders to accident sites.
Benefits: Enhanced decision-making and efficiency in real-time scenarios.
Advantages of AR:
Operations Overview:
o AND Gate: Output is TRUE if all inputs are TRUE.
o OR Gate: Output is TRUE if at least one input is TRUE.
o NOT Gate: Inverts the input.
Step Explanation
1. Define the Understand the process or algorithm you want to represent. Break it
Problem down into logical steps.
4. Follow Logical Arrange the symbols in the order the steps are performed, top to bottom
Sequence or left to right.
Step Explanation
5. Use Arrows for Use arrows to connect the symbols and show the direction of the
Flow process flow.
Label decision branches (e.g. “Yes” and “No”), inputs, and outputs
6. Use Clear Labels
clearly.
Avoid crossing lines and keep the chart easy to read. Break complex
7. Keep It Simple
processes into sub-processes if needed.
Every flowchart must have a Stop symbol to mark the end of the
8. End with “Stop”
process.
Topic Details
Converting Denary to - Use place value method and divide-by-2 method to convert.
Binary - E.g. 15₁₀ = 00001111₂.
Topic Details
- Define format of input (e.g. Tutor Surname must start with capital
Input Masks in MS
letter).
Access
- Use characters like >, <, L, ? in masks.