← Back to 3rd Year

Section 1 Contents

Unit 1: Introduction to Computer

Definition, characteristics, evolution, generations, classification, organization and software

1.1 Introduction to Computer

A computer is an electronic programmable device that accepts data as input, processes the data according to a set of instructions, stores the information when required, and produces meaningful results as output. The instructions used by a computer to perform a particular task are collectively called a program or software.

The word computer is derived from the word compute, which means to calculate. However, modern computers are not limited to mathematical calculations. They can perform a very wide range of activities including data processing, communication, information storage, scientific analysis, multimedia processing, control of machines and biological data analysis.

Definition: A computer is an electronic device that accepts data as input, processes it according to programmed instructions, stores data and instructions, and produces useful information as output.

A computer works mainly through four fundamental operations: input, processing, output and storage. These operations form the basic working cycle of almost every computer system.

Input
→
Processing
→
Output
→
Storage

1.2 Data and Information

The terms data and information are closely related but they are not identical. Understanding this distinction is important because the main purpose of a computer is to transform raw data into useful information.

Data

Data refers to raw facts, figures, symbols, observations or measurements that have not yet been processed into a meaningful form. Data may consist of numbers, text, images, sounds, biological measurements or other forms of recorded facts.

For example, the values 72, 68, 81 and 75 may represent the marks obtained by four students. Before processing, these values are simply data.

Information

Information is processed, organized and interpreted data that has meaning and can be used for understanding or decision-making.

If the above marks are processed to calculate the average mark and determine the highest and lowest marks, the resulting information is more useful than the original raw data.

Data Information
Raw facts and figures Processed and meaningful data
May not have direct meaning Has useful meaning
Input to a processing system Result obtained after processing
Example: individual marks Example: average and result status

1.3 Characteristics of a Computer

Computers have several characteristics that make them powerful tools for scientific, educational, commercial and administrative activities. The major characteristics are described below.

1. Speed

A computer can perform a very large number of operations within a very short period of time. Tasks that would require humans many hours or days can often be completed by a computer within seconds or fractions of a second.

Computer speed is particularly important in scientific calculations, database processing, simulations, image processing and large-scale data analysis.

2. Accuracy

Computers can produce highly accurate results when the data and instructions supplied to them are correct. A computer does not normally make calculation errors by itself; incorrect results are often caused by incorrect data, faulty instructions or hardware problems.

This is sometimes expressed through the concept: Garbage In, Garbage Out (GIGO). If incorrect data or instructions are supplied, the computer may produce incorrect results even though it processes them accurately.

3. Diligence

Unlike humans, a computer does not normally become tired, bored or lose concentration because of repetitive work. It can perform the same operation repeatedly with consistent performance.

This characteristic is useful for repetitive data entry, calculations, record processing and automated monitoring systems.

4. Storage Capacity

Computers can store large quantities of data and retrieve stored information whenever required. Modern storage devices can hold documents, databases, photographs, videos, software and scientific data.

5. Versatility

A computer can perform many different types of tasks. The same computer may be used for word processing, calculations, internet communication, programming, database management, image processing and scientific analysis.

6. Automation

Once a suitable program and required data have been provided, a computer can perform many operations automatically with little or no human intervention.

7. Reliability

Computers can perform repeated operations consistently. Properly maintained computer systems can work for long periods and provide reliable results.

8. Multitasking

Modern operating systems allow computers to manage several programs or tasks during the same period. For example, a user may listen to audio while working on a document and downloading a file.

9. Communication Capability

Computers can communicate with other computers and devices through networks. This allows sharing of information, files, services and resources.

10. No Intelligence of Its Own

A computer does not possess human-like intelligence, judgement or common sense simply because it can process information rapidly. It works according to instructions and algorithms supplied by humans or software systems.

Exam point: For a question such as “Describe the characteristics of a computer,” do not write only the names of characteristics. Explain each characteristic in 2–4 meaningful sentences and give an example where appropriate.

1.4 Applications of Computers

Computers have become essential in almost every field because of their ability to process, store and communicate information rapidly. Important applications include:

  • Education: online learning, digital libraries, presentation, examination systems and educational software.
  • Science and research: statistical analysis, simulation, modelling, data analysis and scientific computation.
  • Medicine: patient records, diagnostic systems, medical imaging, laboratory information systems and research.
  • Business: accounting, inventory management, banking, payroll and customer management.
  • Communication: email, messaging, videoconferencing and internet-based communication.
  • Engineering: computer-aided design, simulation, modelling and control systems.
  • Biology: sequence analysis, biological database management, computational biology and bioinformatics.
  • Government: record management, public services, data management and administrative systems.

1.5 Evolution of Computers

The development of computers was a gradual process. Early calculating devices were developed to help humans perform arithmetic operations. Over time, mechanical calculators were followed by electromechanical and electronic machines. Electronic computers eventually became smaller, faster, more reliable and more powerful.

Early Calculating Devices

Abacus

The abacus is one of the earliest known calculating devices. It consists of rods or wires containing movable beads. The position of the beads is used to represent numerical values. Although it is not an electronic computer, it played an important historical role in the development of calculation methods.

Napier's Bones

Napier's Bones were developed by John Napier and were used to facilitate multiplication and division. They used numbered rods to simplify arithmetic calculations.

Pascaline

Blaise Pascal developed the Pascaline in the seventeenth century. It was a mechanical calculating machine capable of performing addition and subtraction using a system of gears and wheels.

Difference Engine

Charles Babbage designed the Difference Engine to perform mathematical calculations automatically. The machine represented an important development in mechanical computation.

Analytical Engine

Charles Babbage later designed the Analytical Engine. Although it was not completed as a fully operational modern computer during his lifetime, its design contained several ideas similar to components of modern computers, including input, processing, memory and output.

For this reason, Charles Babbage is commonly known as the father of the computer.

Ada Lovelace

Ada Lovelace worked with Charles Babbage's Analytical Engine and is widely recognized for describing an algorithm intended for execution by the machine. She is therefore frequently regarded as an early pioneer of computer programming.

1.6 Generations of Computers

The development of electronic computers is commonly divided into generations according to major technological changes. The traditional classification consists of five generations.

First Generation Computers

First-generation computers used vacuum tubes as their main electronic components. These machines were very large, consumed large amounts of electricity and generated considerable heat.

They were comparatively expensive and required substantial physical space. Machine language was commonly used for programming.

Examples include ENIAC, EDVAC and UNIVAC I.

Second Generation Computers

The second generation replaced vacuum tubes with transistors. Transistors were smaller, more reliable, more energy efficient and generated less heat than vacuum tubes.

Assembly language and early high-level languages such as FORTRAN and COBOL became important during this period.

Third Generation Computers

Third-generation computers used integrated circuits (ICs). An integrated circuit allowed many electronic components to be placed on a small semiconductor chip.

This resulted in smaller, faster, more reliable and less expensive computers. Operating systems and high-level programming languages became increasingly important.

Fourth Generation Computers

Fourth-generation computers were based on microprocessors. A microprocessor integrates the major processing functions of a CPU onto a single chip.

The development of microprocessors led to personal computers, workstations, portable computers and many modern digital devices.

Fifth Generation Computers

The fifth generation is associated with advanced computing approaches such as artificial intelligence, knowledge-based systems, natural language processing, robotics and highly parallel processing.

The exact boundaries of the fifth generation are not universally defined, but the term is commonly used to describe computers and systems emphasizing intelligent and advanced computational capabilities.

Generation Main Technology Main Features
First Vacuum tubes Very large, expensive, high heat and high power consumption
Second Transistors Smaller, faster, more reliable and less heat
Third Integrated circuits Higher reliability, smaller size and improved processing
Fourth Microprocessors Personal computers, high speed and compact design
Fifth AI and advanced computing technologies Intelligent systems, robotics and advanced processing
Likely TU long question:
“Explain the different generations of computers with their major technologies and characteristics.”

1.7 Classification of Computers

Computers can be classified according to different criteria. The syllabus particularly includes classification according to size and capacity and according to the type of data processed.

A. Classification According to Size and Capacity

1. Supercomputer

A supercomputer is an extremely powerful computer designed to perform very large numbers of calculations at very high speed. Supercomputers are used when computational requirements are beyond the practical capacity of ordinary computer systems.

Major applications include weather modelling, climate research, scientific simulations, nuclear research, computational physics, astronomical calculations and large-scale scientific modelling.

2. Mainframe Computer

A mainframe computer is a large and powerful computer designed to process large volumes of data and support many users and applications simultaneously.

Mainframes are traditionally used in large organizations such as banks, government institutions, insurance companies and large enterprises where high-volume transaction processing and reliability are required.

3. Minicomputer

The term minicomputer was historically used for computers that were smaller and less powerful than mainframes but more capable than many early microcomputers. They were often used for departmental or organizational applications.

The distinction between minicomputers and other categories has become less clear with the development of modern servers and workstations.

4. Microcomputer

A microcomputer is a computer based on a microprocessor and generally intended for use by an individual or a small number of users. Personal computers, laptops and many similar systems fall into this broad category.

B. Classification According to Type of Data

1. Analog Computer

An analog computer processes data represented by continuously varying physical quantities such as temperature, pressure, voltage or speed. The values can vary continuously over a range.

Analog systems have historically been used in scientific and engineering applications involving measurement and simulation of continuous physical processes.

2. Digital Computer

A digital computer processes information using discrete values, usually represented internally in binary form using 0 and 1.

Most modern computers are digital computers. Desktop computers, laptops, smartphones and digital laboratory systems are examples of digital computing systems.

3. Hybrid Computer

A hybrid computer combines characteristics of analog and digital computing. It may receive continuously varying measurements through analog components and then use digital processing to analyse or control the information.

Hybrid systems can be useful in specialized scientific, industrial and medical applications.

Type Basis General Characteristic Example/Application
Supercomputer Size/capacity Extremely high computational power Scientific simulation
Mainframe Size/capacity Large-scale data and transaction processing Banking systems
Minicomputer Size/capacity Historically intermediate class Departmental computing
Microcomputer Size/capacity Microprocessor-based personal systems PC, laptop
Analog Data type Continuous data Physical measurement systems
Digital Data type Discrete/binary data Modern computers
Hybrid Data type Combination of analog and digital Specialized control systems

1.8 Basic Computer Organization

A computer system is made up of several functional units that work together to accept data, process it, store it and produce output. The major functional units are the input unit, output unit, memory or storage unit and central processing unit.

Input Unit
→
CPU
→
Output Unit

Memory and storage are associated with the processing system because instructions and data must be available to the CPU during processing and results may need to be stored for future use.

1. Input Unit

The input unit is responsible for accepting data and instructions from the outside world and converting them into a form that the computer can process.

Input may be provided through a keyboard, mouse, scanner, microphone, camera, touch screen or other input device.

The input unit performs three major functions:

  • Accepts data and instructions.
  • Converts input into a machine-readable form.
  • Sends the converted data to memory or processing components.

2. Output Unit

The output unit provides processed results to the user in a form that can be understood or used. Output may be presented as text, graphics, sound, video or printed information.

Examples include monitors, printers, speakers and projectors.

3. Memory Unit

The memory unit stores data, instructions and intermediate or final results required during computer operation.

Memory can broadly be divided into primary memory and secondary storage.

Primary Memory

Primary memory is directly accessible by the CPU and is used to hold data and instructions needed during processing. RAM and ROM are common types of primary memory.

RAM

Random Access Memory (RAM) is a read/write memory used to temporarily hold programs and data currently being used by the computer. RAM is generally volatile, meaning that its contents are lost when power is removed.

ROM

Read Only Memory (ROM) is non-volatile memory used to store instructions or data that should remain available even when power is removed. Different forms of ROM have been developed for different purposes.

Secondary Storage

Secondary storage provides long-term storage for programs, documents, multimedia files, databases and other information. Examples include hard disk drives, solid-state drives, optical disks and memory cards.

4. Central Processing Unit

The Central Processing Unit (CPU) is the principal processing component of a computer. It executes instructions, performs arithmetic and logical operations, and coordinates many activities of the computer system.

The CPU is commonly described through three major functional components:

  • Arithmetic Logic Unit (ALU)
  • Control Unit (CU)
  • Registers
Arithmetic Logic Unit

The Arithmetic Logic Unit performs arithmetic and logical operations. Arithmetic operations include addition, subtraction, multiplication and division. Logical operations include comparisons and logical decision operations.

Control Unit

The Control Unit directs and coordinates the activities of the computer. It controls the sequence in which instructions are fetched, interpreted and executed and coordinates the movement of data between different components.

Registers

Registers are very small and very fast storage locations associated with the processor. They temporarily hold data, instructions, addresses or intermediate results during processing.

Important: The ALU performs arithmetic and logical operations, while the Control Unit coordinates and controls the execution of instructions. Registers provide very fast temporary storage within the processor.

1.9 Instruction Processing

A computer executes instructions through a sequence commonly described as the fetch-decode-execute cycle.

Fetch

The processor obtains the next instruction from memory.

Decode

The instruction is interpreted so that the processor can determine what operation must be performed and what data or resources are required.

Execute

The required operation is performed. This may involve arithmetic, logical comparison, data movement or another operation.

Fetch
→
Decode
→
Execute
→
Store / Continue

1.10 Computer Software

Computer hardware alone cannot perform useful general-purpose tasks without appropriate instructions. Software is the collection of programs, procedures and related instructions used to control computer hardware and perform particular tasks.

Definition: Software is a collection of programs and instructions that tells a computer system what operations to perform.

Types of Software

The syllabus primarily divides computer software into system software and application software.

System Software

System software controls and manages computer hardware and provides a platform on which application software can operate.

Examples include operating systems, device drivers, language translators and utility programs.

Operating System

An operating system is system software that manages computer hardware and software resources and provides services to application programs and users.

Device Drivers

A device driver is software that enables the operating system to communicate with and control a particular hardware device.

Language Translators

Language translators convert programs written in programming languages into forms that can be executed or understood by the computer system. Common types include assemblers, compilers and interpreters.

Utility Software

Utility programs perform maintenance, management, security and optimization tasks. Examples include backup tools, disk utilities and security software.

Application Software

Application software is designed to help users perform particular tasks or solve particular problems.

Examples include word processors, spreadsheets, presentation software, database applications, web browsers and specialized scientific software.

System Software Application Software
Manages and controls computer resources Performs tasks for users
Provides a platform for applications Runs on top of system software
Usually essential for operating the system Installed according to user requirements
Examples: operating system, drivers Examples: word processor, spreadsheet
TU exam preparation:
A question such as “What is computer software? Explain system software and application software” should contain a definition of software, classification, explanation of both categories, examples, and a comparison table.

1.11 Unit 1 Important Long Questions

  1. Define a computer and explain its major characteristics.
  2. Explain the evolution and generations of computers.
  3. Describe the different generations of computers with their major technologies and characteristics.
  4. Classify computers according to size and data processing method.
  5. Differentiate between analog, digital and hybrid computers.
  6. Explain the basic organization of a computer system with a suitable diagram.
  7. Describe the functions of the input unit, output unit, memory unit and CPU.
  8. Explain the components of CPU: ALU, Control Unit and registers.
  9. What is software? Explain system software and application software.
  10. Differentiate between system software and application software.

Unit 2: Operating System

Operating system concept, functions and major examples

2.1 Introduction to Operating System

A computer system contains hardware resources such as the processor, memory, storage devices and input/output devices. Users and application programs need a convenient way to use these resources. The operating system provides this essential link between users, application programs and computer hardware.

Definition: An operating system is system software that manages computer hardware and software resources and provides an interface and services for users and application programs.

Without an operating system, the user would need to interact with computer hardware at a very low level. The operating system hides much of this complexity and provides a controlled environment in which programs can execute.

2.2 Objectives of an Operating System

The major objectives of an operating system are to make computer systems convenient to use, utilize hardware resources efficiently and provide a reliable environment for program execution.

  • Provide an interface between user and hardware.
  • Manage computer resources efficiently.
  • Provide an environment for program execution.
  • Manage files and storage.
  • Control input/output devices.
  • Provide security and access control.
  • Detect and handle certain system errors.
  • Improve overall system efficiency.

2.3 Functions of Operating System

The operating system performs many functions. According to the syllabus, the major functions are process management, memory management, file management, device management and security management.

1. Process Management

A process is a program in execution. Process management involves controlling and coordinating processes so that programs can execute efficiently.

The operating system keeps track of active processes, allocates processor time and manages the creation, execution and termination of processes.

When several programs need CPU time, the operating system determines how processor resources are allocated among them according to the scheduling mechanisms being used.

2. Memory Management

Memory management deals with the allocation and deallocation of memory to programs and processes.

The operating system keeps track of which areas of memory are being used, which are available, and which process is using particular memory resources.

Effective memory management allows multiple programs to operate while reducing unnecessary conflicts and inefficient use of memory.

3. File Management

A computer stores information in files. The operating system provides a mechanism for creating, naming, organizing, accessing, modifying and deleting files.

Files are usually organized into directories or folders so that users can locate and manage information conveniently.

File management also includes controlling access permissions and maintaining information about stored files.

4. Device Management

A computer may have many hardware devices such as keyboards, printers, storage devices, displays and network interfaces. The operating system coordinates access to these devices.

Device drivers help the operating system communicate with particular hardware devices.

5. Security Management

Operating systems provide mechanisms to protect computer resources and information from unauthorized access. Security may involve user accounts, passwords, permissions, access controls and other security mechanisms.

2.4 User Interface

The operating system provides a means through which users interact with the computer. Two common forms are the command-line interface and graphical user interface.

Command-Line Interface

A command-line interface allows users to interact with a computer by entering textual commands.

It can be efficient for experienced users and is widely used in administration and technical environments.

Graphical User Interface

A graphical user interface allows users to interact with a computer through graphical elements such as windows, icons, menus, buttons and pointers.

It is generally easier for beginners because users can perform many operations visually.

2.5 UNIX

UNIX is a multiuser, multitasking operating system family that has played an important role in the development of operating systems and computer networking.

UNIX systems are known for features such as multitasking, multiuser operation, strong command-line environments, hierarchical file systems and portability.

2.6 Linux

Linux is an open-source operating system kernel and is commonly used as the core of many complete operating system distributions.

Linux distributions are widely used in servers, personal computers, cloud computing, scientific computing, embedded systems and many other environments.

Linux is particularly important in technical and scientific computing because of its flexibility, command-line tools and large ecosystem of open-source software.

2.7 Windows

Windows is a family of operating systems developed by Microsoft. Windows provides a graphical user interface and supports a wide range of applications, hardware devices and networking functions.

It is widely used in personal computers, educational institutions, offices and many organizations.

Feature UNIX Linux Windows
General nature UNIX operating system family Open-source kernel and operating system ecosystem Operating system family developed by Microsoft
User interface Strong command-line tradition; graphical environments also exist Command-line and graphical environments Strong graphical interface with command-line tools
Typical use Servers, workstations and technical systems Servers, scientific computing, desktops and embedded systems Personal computers and organizational environments
Major characteristic Multiuser and multitasking design Open-source and highly customizable User-friendly graphical environment and broad software support
Important TU question:
“What is an operating system? Explain its major functions.”

2.8 Full Long-Answer Structure: Operating System

For a 10-mark answer, begin with a clear definition of the operating system. Then explain why it is required and describe the major functions systematically. Process management, memory management, file management, device management and security management should be explained separately rather than simply listed.

Conclude by explaining that the operating system acts as a bridge between users, application software and computer hardware and provides efficient management of system resources.

2.9 Unit 2 Important Questions

  1. What is an operating system? Explain its functions.
  2. Discuss the role of an operating system in a computer system.
  3. Explain process management in an operating system.
  4. Explain memory management.
  5. Explain file management and device management.
  6. Discuss security management in an operating system.
  7. Write notes on UNIX, Linux and Windows.
  8. Compare UNIX, Linux and Windows.
  9. Explain the objectives of an operating system.

Unit 3: Data Communications and Computer Networks

Communication systems, transmission modes, media, networks, topologies, protocols and wireless networking

3.1 Introduction to Data Communication

Data communication refers to the exchange or transfer of data between two or more devices through a communication medium. The devices may be computers, servers, mobile devices, sensors or other digital systems.

Effective communication requires more than simply sending data. The data must reach the intended destination accurately, within an appropriate time and in a form that the receiving system can interpret.

Definition: Data communication is the process of transmitting data between two or more devices through a communication medium.

3.2 Basic Elements of a Communication System

A basic communication system consists of several components that work together to transfer information from one point to another.

1. Sender or Source

The sender is the device or system that originates the data. It may be a computer, mobile device, sensor or another communication device.

2. Message

The message is the actual information being communicated. It may be text, numbers, images, audio, video or another form of data.

3. Transmission Medium

The transmission medium is the physical or wireless path through which data travels from sender to receiver.

Examples include twisted-pair cable, coaxial cable, optical fiber, radio waves and microwaves.

4. Receiver

The receiver is the device or system that receives the transmitted message.

5. Protocol

A protocol is a set of rules that governs communication between devices. It defines how data should be formatted, transmitted, received and interpreted.

Sender
→
Message
→
Transmission Medium
→
Receiver

3.3 Data Transmission Modes

Transmission mode describes the direction in which data can travel between communicating devices.

1. Simplex Mode

In simplex communication, data travels in only one direction. One device acts as the sender and another as the receiver.

The receiving device cannot normally send information back through the same communication arrangement.

A traditional example is a keyboard sending input to a computer, although real modern systems can involve additional bidirectional communication.

2. Half-Duplex Mode

In half-duplex communication, data can travel in both directions, but not at the same time. Each device can transmit and receive, but the direction of communication changes.

A walkie-talkie is a common example of half-duplex communication.

3. Full-Duplex Mode

In full-duplex communication, data can travel in both directions simultaneously.

Telephone conversations are a familiar example because both parties can communicate in both directions at the same time.

Mode Direction Simultaneous? Example
Simplex One direction No reverse transmission Traditional one-way broadcast
Half-duplex Both directions No Walkie-talkie
Full-duplex Both directions Yes Telephone communication

3.4 Data Transmission Speed

Data transmission speed refers to the rate at which data is transmitted from one point to another. It is commonly expressed in bits per second.

Common units include:

  • bps – bits per second
  • Kbps – kilobits per second
  • Mbps – megabits per second
  • Gbps – gigabits per second

The term bit rate refers to the number of bits transmitted per second.

Remember: A bit is a binary digit, either 0 or 1. A byte consists of 8 bits. Therefore, bit rate and byte-based data rates should not be confused.

3.5 Data Transmission Media

Transmission media provide the path through which data travels from sender to receiver. They are broadly classified into guided media and unguided media.

A. Guided Transmission Media

Guided media use a physical path or cable to carry signals.

1. Twisted Pair Cable

Twisted pair cable consists of pairs of insulated copper wires twisted around each other. The twisting helps reduce electromagnetic interference and crosstalk.

Twisted pair cables are widely used in telephone systems and computer networks.

2. Coaxial Cable

Coaxial cable contains a central conductor surrounded by insulation, a metallic shielding layer and an outer protective covering.

It provides better shielding than ordinary twisted-pair cable and has been widely used for television and communication applications.

3. Optical Fiber

Optical fiber transmits information as pulses of light through thin fibers made from glass or other suitable materials.

Optical fiber provides high bandwidth, long-distance transmission and good resistance to electromagnetic interference.

B. Unguided Transmission Media

Unguided media transmit signals through space without a physical cable.

1. Radio Waves

Radio waves can travel through air and are used in radio communication, wireless networks and various communication systems.

2. Microwaves

Microwave communication uses high-frequency electromagnetic waves. It can be used for terrestrial links and satellite communication.

3. Infrared

Infrared communication uses infrared radiation over relatively short distances. It is commonly associated with short-range communication and control applications.

Medium Type Main Feature
Twisted pair Guided Low cost and widely used in networks
Coaxial cable Guided Shielded copper medium
Optical fiber Guided High bandwidth and light-based transmission
Radio waves Unguided Wireless communication
Microwave Unguided High-frequency wireless communication
Infrared Unguided Short-range wireless communication

3.6 Computer Network

Definition: A computer network is a collection of interconnected computers and other devices that communicate with one another and share data, resources and services.

Networking allows computers to communicate and share resources rather than operating as completely isolated systems.

3.7 Objectives and Advantages of Computer Networks

  • Resource sharing: hardware such as printers and storage systems can be shared.
  • Data sharing: users can exchange files and other information.
  • Communication: users can communicate through email, messaging and other services.
  • Centralized management: resources and data can sometimes be managed centrally.
  • Remote access: authorized users can access resources from different locations.
  • Cost efficiency: shared resources can reduce duplication.
  • Reliability: networked systems can support alternative resources and communication paths in suitable designs.

3.8 Types of Computer Networks

1. LAN – Local Area Network

A Local Area Network connects computers and devices within a relatively limited geographical area such as a room, building, laboratory, school or office.

LANs generally provide relatively high-speed communication and are commonly used for sharing files, printers, applications and internet connections.

2. MAN – Metropolitan Area Network

A Metropolitan Area Network covers a larger geographical area than a LAN and may connect networks across a city or metropolitan region.

3. WAN – Wide Area Network

A Wide Area Network covers large geographical areas and can connect networks across cities, countries or continents.

The Internet can be considered the world's largest interconnected network of networks.

Network Coverage Typical Example
LAN Small area Office, laboratory, school
MAN City/metropolitan area City-wide network
WAN Large geographical area Interconnected national/international networks

3.9 Network Topologies

Network topology refers to the arrangement or layout of devices and communication links in a network. Different topologies have different advantages, disadvantages, costs and reliability characteristics.

1. Bus Topology

In a bus topology, multiple devices are connected to a common communication backbone or main cable.

Data transmitted onto the bus can travel along the shared medium. Appropriate termination is required at the ends of the backbone in traditional bus networks.

Advantages: simple design and relatively low cable requirement for small installations.

Disadvantages: failure of the main backbone can affect communication for the network, and troubleshooting can become difficult as the network grows.

2. Star Topology

In star topology, each device has a separate connection to a central device such as a switch.

Star topology is widely used in modern Ethernet LANs.

Advantages: easy management, easier fault isolation and failure of one individual cable generally affects only that device.

Disadvantage: failure of the central device can affect communication among connected devices.

3. Ring Topology

In a ring topology, devices are arranged in a closed loop in which each device is connected to neighboring devices.

The arrangement can provide an organized communication path, but a failure in part of a simple ring can disrupt communication unless redundancy or alternative mechanisms are provided.

4. Mesh Topology

In a mesh topology, devices have multiple interconnections. In a full mesh, every device is connected directly to every other device.

Mesh topology provides high redundancy and reliability but requires more cabling and configuration, especially in a full mesh.

5. Tree Topology

Tree topology combines hierarchical organization with characteristics of other topologies. Devices are arranged in levels or branches.

It is useful where a network needs hierarchical expansion.

6. Hybrid Topology

A hybrid topology combines two or more different topology types. Large networks may use hybrid arrangements to meet different organizational and technical requirements.

Topology Basic Arrangement Main Advantage Main Limitation
Bus Common backbone Simple and economical for small networks Backbone failure can affect network
Star Central device Easy management and fault isolation Central device is important
Ring Closed loop Organized path Simple ring can be affected by link failure
Mesh Multiple interconnections High redundancy Expensive and complex
Tree Hierarchical branches Scalable hierarchical structure Higher-level failures can affect branches
Hybrid Combination Flexible design More complex

3.10 Communication Protocol

Definition: A communication protocol is a set of rules and conventions that controls how data is formatted, transmitted, received and interpreted between communicating devices.

Without agreed communication rules, devices may not understand each other even if they are physically connected.

Protocols can specify issues such as addressing, data formatting, error handling, transmission procedures, synchronization and the interpretation of messages.

Examples of Communication Protocols

HTTP

Hypertext Transfer Protocol is used for communication between web clients and web servers.

HTTPS

HTTPS is the secure form of HTTP, using encryption mechanisms to protect communication between a client and server.

FTP

File Transfer Protocol is designed for transferring files between systems.

SMTP

Simple Mail Transfer Protocol is used primarily for sending email messages between mail systems.

TCP/IP

TCP/IP refers to the family of communication protocols used extensively for Internet and network communication. TCP provides reliable, ordered delivery mechanisms, while IP provides addressing and routing functions.

3.11 Wireless Networking

Wireless networking allows devices to communicate without a physical network cable, using electromagnetic waves.

Wireless networks provide mobility and flexibility and are widely used in homes, offices, educational institutions, laboratories and public spaces.

Wi-Fi

Wi-Fi is a widely used technology for wireless local area networking. It allows compatible devices to communicate through wireless access points and related networking equipment.

Bluetooth

Bluetooth is designed for short-range wireless communication between compatible devices. It is commonly used for peripherals and short-distance device-to-device communication.

Mobile and Cellular Networks

Cellular networks provide wireless communication over broad geographical areas through interconnected cells and base stations. They support mobile voice and data communication.

Advantages of Wireless Networking

  • Mobility of users and devices.
  • Reduced dependence on physical cables.
  • Easy expansion in suitable environments.
  • Convenient connection of mobile devices.
  • Useful in locations where cable installation is difficult.

Limitations of Wireless Networking

  • Signal interference may affect communication.
  • Range depends on technology and environmental conditions.
  • Security must be carefully managed.
  • Physical obstacles can affect wireless signals.
  • Performance can vary according to network conditions.

3.12 Guided and Unguided Media – Important Comparison

One frequently tested comparison is between guided and unguided transmission media.

Guided Media Unguided Media
Uses a physical transmission path Uses free space for signal propagation
Examples: twisted pair, coaxial cable, optical fiber Examples: radio, microwave, infrared
Physical installation is required No physical cable is required between communicating endpoints
Can provide controlled transmission paths Provides mobility and flexible deployment

3.13 Important TU Long Questions from Unit 3

  1. Define data communication and explain the basic elements of a communication system.
  2. Explain simplex, half-duplex and full-duplex transmission modes with examples.
  3. What is data transmission speed? Explain commonly used units.
  4. Explain guided and unguided transmission media.
  5. Describe twisted-pair cable, coaxial cable and optical fiber.
  6. What is a computer network? Explain its advantages.
  7. Explain LAN, MAN and WAN.
  8. What is network topology? Explain different types of network topologies.
  9. Differentiate between bus, star, ring and mesh topology.
  10. What is a communication protocol? Explain with examples.
  11. Explain wireless networking with its advantages and limitations.

Section 1: Important TU Examination Preparation

The following questions represent the major areas that should be prepared thoroughly from Section 1. Students should not prepare only definitions because many theory questions require explanation, comparison and discussion.

Very Short / 2-Mark Preparation

1. Define computer.
2. What is data?
3. Define information.
4. What is a microcomputer?
5. What is an operating system?
6. What is process management?
7. Define LAN.
8. Define WAN.
9. What is network topology?
10. What is a communication protocol?

Short / 5-Mark Preparation

1. Explain the characteristics of computers.
2. Explain the generations of computers briefly.
3. Differentiate between analog and digital computers.
4. Explain the basic organization of a computer.
5. Explain system software and application software.
6. Explain the major functions of an operating system.
7. Write short notes on UNIX, Linux and Windows.
8. Explain data transmission modes.
9. Explain guided and unguided transmission media.
10. Differentiate LAN, MAN and WAN.
11. Explain network topologies.
12. Explain wireless networking.

Long / 10-Mark Preparation

1. Define computer and discuss its characteristics, applications and limitations.
2. Describe the evolution and generations of computers in detail.
3. Explain the classification of computers according to size and type of data processed.
4. Explain the basic organization of a computer system with the functions of its major units.
5. What is software? Discuss system software and application software with suitable examples.
6. Define operating system and explain process management, memory management, file management, device management and security management.
7. Discuss UNIX, Linux and Windows as operating systems.
8. Define data communication and explain its basic elements and transmission modes.
9. Explain different transmission media used in data communication.
10. What is a computer network? Explain network types and different network topologies.
11. Explain communication protocols and wireless networking.

How to Write Section 1 Answers in TU Examination

For computational course theory questions, a good answer should not be limited to one-line definitions. Start with a clear definition, then explain the concept systematically under suitable headings. Where a question asks for classification, give the classification first and explain each category. Where comparison is asked, use a clear table. Where the question involves computer organization, communication or networking, a simple labelled diagram can make the answer easier to understand.

For a long question, use the structure: introduction → definition → main explanation → classification or components → examples → advantages/limitations where relevant → comparison or diagram where appropriate → conclusion.

Do not unnecessarily write unrelated information merely to increase the length of an answer. The best long answer is one that is complete, logically organized, technically correct and directly related to the question.

Final TU Tip: For a 10-mark question, prepare the topic well enough that you can explain it in your own words rather than memorizing isolated sentences. Remember the major headings and supporting points. A well-structured answer with definitions, explanations, examples, tables and a relevant diagram is generally much stronger than a long paragraph containing repeated information.