1 Fundamentals Of Computing

Introduction to Information Technology · Unit 1

Fundamentals of Computing

Exam-focused notes for Fundamentals of Computing (Introduction to Information Technology, BIT101): what the TU syllabus asks and how it has actually been tested, with 11 solved past questions from this unit.

Fundamentals of Computing in short

Computing is the base of all information technology. This unit explains what a computer is, how its parts work together, and how computers have grown over time.

Fundamentals of Computing: notes

Definition and characteristics of computers

A computer is an electronic machine that accepts data, processes it by following stored instructions, and gives results. It can also store the data and results for later use.

Data is raw facts such as numbers and names. Information is data that has been processed into a useful form.

Main characteristics of a computer:

  • Speed: it performs millions of operations in one second.
  • Accuracy: results are correct if the input and the program are correct.
  • Diligence: it does not get tired or lose focus, even after long work.
  • Storage: it keeps large amounts of data and gives it back quickly.
  • Versatility: the same machine can do accounting, drawing, games, and calculation.
  • Automation: once a program starts, it runs without human help.
  • No intelligence: it has no thinking power of its own. It only follows instructions.

Block diagram of digital computers

A digital computer has five main blocks. The user gives data through the input unit. The CPU processes it using memory. The output unit shows the result.

Input Unit --> [ Central Processing Unit ] --> Output Unit
                 |  Control Unit  |
                 |  ALU           |
                       ^
                       |
                  Memory Unit
                (Storage Unit)
  • Input unit: takes data and instructions from the user and converts them to binary. Examples are keyboard and mouse.
  • Memory unit: holds data, instructions, and results before and after processing.
  • Control unit (CU): directs and coordinates all other units.
  • Arithmetic Logic Unit (ALU): does calculations (add, subtract) and logical decisions (compare).
  • Output unit: converts binary results to a form people can understand. Examples are monitor and printer.

What this unit covers

  • Definition and characteristics of computers
  • Block diagram of digital computers
  • Main functions of digital computers
  • Computer components and architecture
  • Types of computers by generation
  • Classification by size and capability

Computer components and architecture

2081 · 10 marks

What are the components of general-purpose computer? Draw the block diagram of general-purpose computer? Explain function of PC, IR and AC registers.[10]

Show solved answer

Components of a General-Purpose Computer, Block Diagram, and Register Functions


1. Components of a General-Purpose Computer

A general-purpose computer is a digital computer capable of performing a wide variety of tasks by executing different stored programs. It consists of the following major components:

ComponentDescription
Input UnitAccepts data and instructions from the user (keyboard, mouse, scanner)
Output UnitDelivers processed results to the user (monitor, printer, speaker)
Memory UnitStores data and instructions; includes primary memory (RAM, ROM) and secondary memory (HDD, SSD)
Central Processing Unit (CPU)The brain of the computer; processes all instructions
ALU (Arithmetic Logic Unit)Performs arithmetic (+, -, *, /) and logical (AND, OR, NOT) operations
Control Unit (CU)Directs and coordinates all operations of the computer
RegistersSmall, high-speed temporary storage inside the CPU (PC, IR, AC, MAR, MBR, etc.)
Bus SystemCommunication pathways: Data Bus, Address Bus, Control Bus

2. Block Diagram of a General-Purpose Computer

+------------------+          +------------------+
|   INPUT UNIT     |          |   OUTPUT UNIT    |
| (Keyboard, Mouse)|          | (Monitor,Printer)|
+--------+---------+          +--------+---------+
         |                             ^
         |                             |
         v                             |
+--------+-----------------------------+--------+
|                   SYSTEM BUS                  |
|        (Data Bus / Address Bus / Control Bus) |
+---+------------------+------------------+-----+
    |                  |                  |
    v                  v                  v
+---+------+   +-------+--------+   +----+-----+
| MEMORY   |   |      CPU       |   | SECONDARY|
|  UNIT    |   |                |   | MEMORY   |
|          |   | +------------+ |   | (HDD/SSD)|
| RAM      |   | | Control    | |   +----------+
| ROM      |   | | Unit (CU)  | |
|          |   | +------------+ |
+----------+   | +------------+ |
               | |    ALU     | |
               | +------------+ |
               | +------------+ |
               | | Registers  | |
               | | PC, IR, AC | |
               | | MAR, MBR   | |
               | +------------+ |
               +----------------+

Note: All units communicate through the System Bus, which carries data (Data Bus), memory addresses (Address Bus), and control signals (Control Bus).


3. Functions of PC, IR, and AC Registers

a) PC -- Program Counter

  • The Program Counter (PC) is a special-purpose register inside the CPU.
  • It holds the memory address of the next instruction to be fetched from memory.
  • After each instruction is fetched, the PC is automatically incremented to point to the next sequential instruction.
  • In case of a branch or jump instruction, the PC is loaded with the branch address instead of being incremented.
  • It ensures that instructions are executed in the correct sequential order.

Example:

If PC = 2000, the CPU fetches the instruction at address 2000.
After fetch, PC becomes 2001 (pointing to the next instruction).

b) IR -- Instruction Register

  • The Instruction Register (IR) holds the current instruction being executed.
  • Once an instruction is fetched from memory, it is transferred from memory to the IR.
  • The Control Unit decodes the instruction stored in the IR to determine:
    • What operation to perform (opcode part)
    • Which operand or address to use (address/operand part)
  • The IR holds the instruction throughout its execution cycle until the next instruction is fetched.

Instruction format in IR:

+------------------+------------------+
|     OPCODE       |     OPERAND      |
| (operation type) | (address / data) |
+------------------+------------------+

c) AC -- Accumulator

  • The Accumulator (AC) is a general-purpose register that stores intermediate results of arithmetic and logical operations performed by the ALU.
  • It acts as the primary working register of the CPU.
  • Most ALU operations use the AC as both the source and the destination of data.
  • After any computation, the result is stored back in the AC until it is transferred to memory or another register.

Example:

ADD X  -->  AC = AC + X
           (AC holds the running result)

Summary Table of Registers

RegisterFull NamePrimary Function
PCProgram CounterHolds address of the next instruction to fetch
IRInstruction RegisterHolds the current instruction being decoded/executed
ACAccumulatorHolds intermediate results of ALU operations

Conclusion

A general-purpose computer operates through the coordinated interaction of input, output, memory, and CPU units connected via the system bus. The registers PC, IR, and AC play a fundamental role in the fetch-decode-execute cycle, ensuring that instructions are retrieved, interpreted, and computed correctly and in the proper sequence.

Open this answer on its own page →

2081.2 · 5 marks

Describe the components of computer. [5]

A computer system is made up of several key components that work together to process, store, and communicate data. The main components are: --- - Accepts data and instructions from the user or external environment. - Converts input into a form the computer can understand (binary). - Examples: Key...

Open this answer on its own page →

Definition and characteristics of computers

2081 · 5 marks

What is computer? Explain the Characteristics of Computer. [5]

A computer is an electronic device that accepts data as input, processes it according to a set of instructions (called a program), and produces meaningful information as output. It can store, retrieve, and process data automatically. Note: No specific reference notes were found for this topic; th...

Open this answer on its own page →

2077 · 10 marks

List and describe the characteristics of the computer.Explain the significant limitations of the computer.[8+2]

--- A computer can perform millions of calculations and operations per second. It processes data at an extremely high speed, measured in terms of microseconds (10⁻⁶), nanoseconds (10⁻⁹), and even picoseconds (10⁻¹²). Tasks that would take humans hours or days can be completed by a computer in a f...

Open this answer on its own page →

Types of computers by generation

2080 · 5 marks

What are the key features of fourth Generation of computer? Explain. [5]

Show solved answer

Key Features of Fourth Generation of Computer

Fourth Generation (1971 - Present)

The fourth generation of computers is characterized by the use of Very Large Scale Integration (VLSI) technology, where millions of transistors are integrated onto a single microchip (microprocessor).


Key Features

1. Microprocessor Technology

  • The microprocessor (a single chip containing the entire CPU) was the defining feature of this generation.
  • Intel introduced the first microprocessor Intel 4004 in 1971.
  • Millions of transistors were integrated on a single silicon chip using VLSI and later ULSI (Ultra Large Scale Integration).

2. High Speed and Performance

  • These computers were extremely fast, capable of performing millions to billions of instructions per second (MIPS).
  • Processing speed improved dramatically compared to previous generations.

3. Small Size and Portability

  • Due to microprocessor technology, computers became very small in size.
  • This led to the development of Personal Computers (PCs), laptops, and handheld devices.

4. Large Storage Capacity

  • Introduction of hard disk drives, floppy disks, and later optical discs provided large secondary storage.
  • Primary memory (RAM) capacity also increased significantly.

5. Low Cost

  • Mass production of microprocessors made computers affordable for common people.
  • Computers moved from being only institutional tools to personal use.

6. Low Power Consumption and Less Heat

  • Compared to previous generations, fourth generation computers consumed much less power and generated significantly less heat.

7. High Reliability and Durability

  • No vacuum tubes or transistors to burn out; microchips were more reliable.
  • Maintenance requirements were greatly reduced.

8. User-Friendly Operating Systems and GUI

  • Development of Graphical User Interface (GUI) (e.g., Windows, Mac OS) made computers easy to use.
  • High-level programming languages like C, C++, Java became popular.

9. Networking and Internet

  • Fourth generation computers enabled the development of computer networks and the Internet, revolutionizing communication and information sharing.

10. Examples

  • IBM PC, Apple Macintosh, Intel-based personal computers, laptops, tablets, smartphones.

Summary Table

FeatureDetail
TechnologyVLSI / ULSI Microprocessor
Period1971 - Present
SizeVery small (desktop to handheld)
SpeedMillions to billions of operations/sec
CostVery low
StorageLarge (HDD, SSD, optical)
ExamplesIBM PC, Apple Mac, Laptops

Note: The fourth generation marked the beginning of the personal computer era, making computing accessible to everyone and laying the foundation for the modern digital world.

Open this answer on its own page →

2079 · 5 marks

What are the key features of fourth Generation of computer? Explain. [5]

Show solved answer

Key Features of Fourth Generation of Computers

Period: 1971 - Present

The fourth generation of computers is characterized by the use of Very Large Scale Integration (VLSI) technology, where millions of transistors are integrated onto a single microchip (microprocessor).


Key Features

1. Microprocessor Technology

  • The microprocessor (a single chip containing the entire CPU) was the defining innovation.
  • Intel introduced the first microprocessor Intel 4004 in 1971.
  • Millions of transistors were packed onto a single silicon chip using VLSI technology.

2. Very Large Scale Integration (VLSI)

  • VLSI allowed millions of transistors to be placed on a single chip.
  • This drastically reduced the size and cost of computers while increasing speed and efficiency.

3. Small Size and Portability

  • Computers became desktop-sized and eventually laptop-sized.
  • Personal computers (PCs) became available to the general public.
  • Examples: Apple II, IBM PC, etc.

4. High Speed and Performance

  • Processing speed increased enormously, measured in MIPS (Millions of Instructions Per Second).
  • Clock speeds reached from MHz to GHz range.

5. Large Storage Capacity

  • Introduction of hard disks, floppy disks, and optical storage devices.
  • Both primary and secondary storage capacities increased significantly.

6. Low Cost and Wide Availability

  • Mass production of microprocessors made computers affordable for individuals and small businesses.
  • This led to the era of Personal Computers (PCs).

7. High-Level Programming Languages and GUI

  • Development of high-level languages such as C, C++, and later Java.
  • Introduction of Graphical User Interface (GUI) made computers user-friendly (e.g., Windows, macOS).

8. Networking and Internet

  • Development of computer networks and eventually the Internet.
  • Enabled communication, data sharing, and distributed computing on a global scale.

9. Low Power Consumption and Less Heat

  • Compared to previous generations, fourth generation computers consumed much less electricity and generated less heat.

10. Multitasking and Time-Sharing

  • Operating systems supported multitasking, allowing multiple programs to run simultaneously.

Examples of Fourth Generation Computers

ComputerYear
Intel 4004 based systems1971
Apple II1977
IBM PC1981
Modern laptops and desktopsPresent

Summary

The fourth generation revolutionized computing by making it personal, affordable, fast, and widely accessible through the use of microprocessors and VLSI technology. It laid the foundation for the modern digital world including the Internet and mobile computing.

Open this answer on its own page →

2078 · 5 marks

What are the key features of Fifth Generation of computer? Explain [5]

Note: No specific reference notes were found for this topic. The following answer is based on standard Computer Science curriculum as taught in BSc CSIT programs. --- The Fifth Generation of computers (1980s to present and beyond) is based on Artificial Intelligence (AI) and is designed to respon...

Open this answer on its own page →

Block diagram of digital computers

2079 · 10 marks

What is computer? Draw and explain the block diagram of Digital computer.[10]

--- A computer is an electronic device that accepts data as input, processes it according to a set of instructions (called a program), and produces meaningful results as output. It can store, retrieve, and process data automatically. Key characteristics of a computer: - Speed - Accuracy - Storage...

Open this answer on its own page →

0 · 5 marks

What are the components of general-purpose computer? Draw the block diagram of General-purpose computer. [5]

A general-purpose computer is a computer system designed to perform a wide variety of tasks by executing different programs stored in its memory. --- A general-purpose computer consists of the following major components: - Accepts data and instructions from the outside world - Converts them into ...

Open this answer on its own page →

Main functions of digital computers

2078 · 10 marks

What are the main functions of Digital computer?Draw and explain the block diagram of Digital computer.[5+5]

(a) Main Functions of a Digital Computer A digital computer is an electronic device that accepts data in digital form, processes it according to a set of stored instructions (program), and produces meaningful output. Its main functions are: --- - Accepts raw data and instructions from the outside...

Open this answer on its own page →

Classification by size and capability

2081.2 · 5 marks

Differentiate between mainframe and super computers. [5]

--- Basis Mainframe Computer Supercomputer --------- Purpose Designed for large-scale data processing, transaction handling, and multiple user access simultaneously Designed for extremely complex scientific and mathematical calculations requiring maximum processing speed Speed Very fast but slowe...

Open this answer on its own page →