Courses / Application of ICT (GEN-103) – BS 1st Semester

Week 2 Theory – Types of Computers, CBIS and How a Computer Works

Week 2 – Types of Computers and Basic Operations · 60 min read · 33 MCQs to check yourself

Classification of computers by working principle

Type How it works Accuracy Examples
Analog computer Works on continuous physical quantities (voltage, pressure, temperature, speed) and measures them Less accurate; output read from a scale or dial Speedometer, analog thermometer, petrol-pump meter, voltmeter, seismograph
Digital computer Works on discrete values – digits 0 and 1 (binary); counts rather than measures Highly accurate Laptops, desktops, smartphones, calculators, ATMs
Hybrid computer Combines analog and digital: takes analog input, converts it (ADC) and processes it digitally Fast like analog, accurate like digital ICU patient monitor (ECG), petrol pump with digital display, aircraft flight systems, weather systems

Analog measures, digital counts, hybrid does both.

Types of digital computers by size and power

Type Size & users Speed / power Uses Examples
Supercomputer Largest, most expensive; one organisation / national lab Fastest; measured in FLOPS (petaflops, exaflops); thousands of processors working in parallel Weather forecasting, nuclear research, space science, climate modelling, scientific simulation Frontier, Fugaku, Summit
Mainframe Large, kept in special air-conditioned rooms; hundreds/thousands of users at the same time Very fast; huge storage; very reliable Banks, airlines reservation, NADRA, insurance, census, large universities IBM zSeries (IBM z16)
Minicomputer (mid-range) Medium size; tens to a few hundred users Less than mainframe Small/medium businesses, departments, factories PDP-11, IBM AS/400
Microcomputer (personal computer) Smallest; one user at a time; built around a microprocessor Enough for daily work Home, office, education Desktop, laptop, tablet, smartphone, workstation

Types of microcomputers: desktop, laptop/notebook, tablet, smartphone (handheld), workstation (powerful single-user machine for engineering/graphics), and servers that serve other computers on a network.

Computer Based Information System (CBIS)

A CBIS is an organised combination of hardware, software, data, procedures, people and networks that collects, processes, stores and distributes information to support operations and decision making in an organisation.

Components of a CBIS

  1. Hardware – computers, printers, servers, network devices.
  2. Software – operating systems and application programs.
  3. Data – facts stored in databases.
  4. Procedures – rules and instructions on how to use the system.
  5. People – users, operators, analysts, programmers.
  6. Network/telecommunications – connects users and computers.

Types of CBIS (common examples)

Methods of input and processing

Input methods

Processing methods

Method Description Example
Batch processing Transactions are collected over a period and processed together in a group (batch) Monthly payroll, electricity bills, exam results
Online / real-time processing Each transaction is processed immediately as it occurs; output available instantly ATM withdrawal, airline seat booking, online shopping
Interactive processing User and computer exchange input/output in a dialogue Using a word processor or browser
Distributed processing Processing is shared among several computers connected by a network Bank branches connected to a central server
Time-sharing CPU time is divided among many users so each feels they have the computer to themselves Mainframe terminals

Basic operations of a computer

Every computer performs five basic operations:

  1. Inputting – entering data and instructions.
  2. Storing – saving data and instructions so they are available when needed.
  3. Processing – performing arithmetic and logical operations on data.
  4. Outputting – producing useful results.
  5. Controlling – directing the order and manner in which all operations are performed (done by the Control Unit).

Elements (components) of a computer system

            ┌──────────── CPU ─────────────┐
 INPUT ───► │  Control Unit (CU)           │ ───► OUTPUT
 devices    │  Arithmetic Logic Unit (ALU) │      devices
            │  Registers                   │
            └──────────────┬───────────────┘
                           │
                   Primary memory (RAM/ROM)
                           │
                  Secondary storage (HDD, SSD)

Machine cycle (instruction cycle): Fetch → Decode → Execute → Store.

The Central Processing Unit (CPU) – Crash Course Computer Science #7

Summary

Short and long questions

1. What is a hybrid computer? Give an example.

Model answer

A hybrid computer combines features of analog and digital computers: it accepts analog signals, converts them to digital form and processes them digitally. Example: an ICU patient-monitoring system or a modern petrol pump.

2. Differentiate between analog and digital computers.

Model answer

Analog: works on continuous data (voltage, temperature), measures quantities, less accurate, output shown on dials; e.g. speedometer. Digital: works on discrete data (0/1), counts, highly accurate, output as digits/text; e.g. laptop, calculator.

3. Classify digital computers according to size and power. Explain each with examples.

Model answer

Supercomputers: largest, fastest and most expensive; thousands of processors working in parallel; speed in petaflops; used for weather forecasting, nuclear and space research; e.g. Frontier, Fugaku. Mainframe computers: large, very reliable machines kept in special rooms; support thousands of users simultaneously; huge storage; used by banks, airlines, NADRA, insurance companies; e.g. IBM z16. Minicomputers (mid-range): smaller and cheaper than mainframes; support tens to hundreds of users; used in departments and medium businesses; e.g. PDP-11, IBM AS/400. Microcomputers (personal computers): smallest and cheapest; built around a single microprocessor; one user at a time; types include desktop, laptop, tablet, smartphone and workstation; used at home, office and school.

4. Differentiate between mainframe and microcomputer.

Model answer

A mainframe is large, expensive, supports hundreds or thousands of users at once and is used by banks, airlines and governments. A microcomputer is small, cheap, built around a microprocessor and used by a single user, e.g. desktop, laptop, smartphone.

5. Write the uses of supercomputers.

Model answer

Weather forecasting, climate research, nuclear and space research, molecular modelling, oil and gas exploration and other huge scientific simulations.

6. What is CBIS? Name its components.

Model answer

A Computer Based Information System is an organised combination of hardware, software, data, procedures, people and networks that collects, processes, stores and distributes information to support an organisation's operations and decisions.

7. Describe different methods of processing data with examples.

Model answer

Batch processing: data collected over time and processed in one group; economical but results are delayed; e.g. payroll, utility bills, exam results. Online/real-time processing: each transaction processed instantly and files updated immediately; e.g. ATMs, airline reservations, online shopping. Interactive processing: user and computer exchange data in a dialogue; e.g. word processing, web browsing. Distributed processing: processing divided among several networked computers; e.g. bank branches linked to a central server. Time-sharing: CPU time divided among many users in small time slices so each user feels they have the full computer; e.g. mainframe terminals.

8. Differentiate between batch processing and real-time processing.

Model answer

Batch: transactions are collected and processed together after some time; output is delayed; e.g. payroll, bills. Real-time/online: each transaction is processed immediately; output is instant; e.g. ATM, airline reservation.

9. Explain the basic operations of a computer and the elements of a computer system with a block diagram.

Model answer

Basic operations: (1) Input – data and instructions are entered through input devices. (2) Storage – data/instructions are kept in primary memory for immediate use and in secondary storage permanently. (3) Processing – the ALU performs arithmetic and logic operations. (4) Output – results are produced through output devices. (5) Control – the Control Unit coordinates all operations. Elements: Input unit → CPU (Control Unit + ALU + registers) ↔ primary memory ↔ secondary storage → output unit. Hardware is the physical part; software is the set of programs; memory holds data and programs; processor executes instructions; people (users) and data complete the system. Block diagram: Input → [CPU: CU, ALU, Registers] → Output, with arrows between the CPU and Memory, and memory connected to secondary storage.

10. List the five basic operations of a computer.

Model answer

Inputting, storing, processing, outputting and controlling.

11. What are the functions of the ALU and the Control Unit?

Model answer

The ALU performs arithmetic (add, subtract, multiply, divide) and logical operations (comparisons such as =, <, >). The Control Unit fetches instructions from memory, decodes them and directs the ALU, memory and I/O devices to carry them out.

This lesson ends with a quiz of 33 MCQs. Open the lesson on PrepOasis to take it and save your progress.

Previous: Week 1 Lab 1 – Email: Create, Send, Reply, Attach and Sign Out · Next: Week 2 Lab 2 – Windows: Files, Shortcuts, Task Manager, Control Panel and Command Prompt

All lessons in Application of ICT (GEN-103) – BS 1st Semester