BIT101 · TU past paper
Introduction to Information Technology 2079 question paper
The complete TU 2079 exam paper for Introduction to Information Technology (BIT101), all 12 questions with solved model answers written to the mark scheme.
Tap a question to open its answer.
- 110 marksSecurity mechanisms and approachesHideAnswer
What is security mechanism? List any two approaches.Discuss the different types of software with example.[5+5]
--- (a) Security Mechanism and Two Approaches A security mechanism is any method, tool, technique, or procedure that is designed to detect, prevent, or recover from a security attack. It is used to implement and enforce the security poli...
- 210 marksData warehousing and data miningHideAnswer
Define data warehousing and data mining.Explain about any two types of language translators.Describe the significance of IoT in smart city with examples.[2+3+5]
Model Answer
Part A: Define Data Warehousing and Data Mining [2 Marks]
Data Warehousing
A data warehouse is a large, centralized repository of integrated data collected from multiple heterogeneous sources within an organization. It stores historical and current data and is used primarily for reporting, analysis, and decision-making rather than day-to-day transaction processing.
Example: A retail company collecting sales data from all its branches into one central database for yearly analysis.
Data Mining
Data mining is the process of discovering useful patterns, correlations, anomalies, and insights from large datasets using statistical, mathematical, and computational techniques. It transforms raw data into meaningful information.
Example: A bank using data mining to detect fraudulent transactions by identifying unusual spending patterns.
Part B: Two Types of Language Translators [3 Marks]
A language translator is a system software that converts a program written in one programming language into machine-understandable code (binary/machine language).
1. Compiler
- A compiler translates the entire source program written in a high-level language (e.g., C, C++) into machine code all at once before execution.
- It scans the whole program, detects all errors, and generates an object file or executable.
- Advantages: Faster execution since translation is done beforehand; errors are shown all at once.
- Example: GCC compiler for C language.
Source Code (C) --> [Compiler] --> Object Code --> Execution2. Interpreter
- An interpreter translates and executes the source program line by line at runtime.
- It does not produce a separate object file; each line is translated and immediately executed.
- Advantages: Easier debugging since errors are reported line by line.
- Disadvantages: Slower execution compared to compiled programs.
- Example: Python interpreter, JavaScript engine.
Source Code (Python) --> [Interpreter] --> Line-by-line ExecutionFeature Compiler Interpreter Translation Whole program at once Line by line Speed Faster execution Slower execution Error Detection All errors at once One error at a time Output Object/Executable file No separate file
Part C: Significance of IoT in Smart City with Examples [5 Marks]
What is IoT?
The Internet of Things (IoT) refers to a network of physical devices, sensors, and objects embedded with software and connectivity that enables them to collect and exchange data over the internet without human intervention.
What is a Smart City?
A smart city uses digital technology and IoT infrastructure to enhance the quality of life of citizens, improve efficiency of services, and promote sustainable development.
Significance of IoT in Smart City
1. Smart Traffic Management
- IoT-enabled sensors and cameras monitor real-time traffic flow.
- Traffic signals are automatically adjusted to reduce congestion.
- Example: Adaptive traffic signal systems in cities like Barcelona and Singapore that change signal timing based on vehicle density.
2. Smart Waste Management
- Sensors placed in garbage bins detect fill levels and send alerts to waste collection vehicles.
- Collection routes are optimized, reducing fuel consumption and costs.
- Example: Bigbelly smart bins used in cities like Boston that compact waste and notify authorities when full.
3. Smart Energy Management
- IoT-based smart meters monitor electricity consumption in real time.
- Street lights automatically dim or brighten based on pedestrian/vehicle presence.
- Example: Smart street lighting systems that reduce energy usage by up to 50% in cities like Amsterdam.
4. Smart Water Management
- IoT sensors monitor water pipelines for leaks, pressure, and quality.
- Helps prevent water wastage and ensures safe drinking water supply.
- Example: Smart water grids in cities like Songdo (South Korea) that detect pipe leaks automatically.
5. Smart Healthcare and Public Safety
- IoT devices monitor patients remotely and send health data to hospitals.
- Surveillance cameras with AI detect suspicious activities and alert police.
- Example: Emergency response systems that automatically notify ambulances and hospitals during accidents.
Summary Table
Area IoT Application Benefit Traffic Adaptive signals, GPS tracking Reduced congestion Waste Smart bins with sensors Efficient collection Energy Smart meters, smart lighting Energy conservation Water Leak detection sensors Reduced water loss Healthcare Remote patient monitoring Better emergency response Conclusion
IoT plays a transformative role in building smart cities by enabling real-time data collection, automation, and intelligent decision-making. It improves the quality of urban life, reduces operational costs, and promotes sustainable and efficient use of resources.
- 310 marksBlock diagram of digital computersHideAnswer
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...
- 45 marksTypes of computers by generationHideAnswer
What are the key features of fourth Generation of computer? Explain. [5]
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
Computer Year Intel 4004 based systems 1971 Apple II 1977 IBM PC 1981 Modern laptops and desktops Present
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.
- 55 marksData bus, address bus, and control busHideAnswer
What is Computer Bus? Explain the functions of data bus, address bus and control bus. [5]
Computer Bus
Definition
A computer bus is a communication system that transfers data between components inside a computer or between computers. It consists of a set of physical wires (lines) along which electrical signals are transmitted. A bus connects the CPU, memory, and input/output devices, allowing them to communicate with each other.
Types of Buses and Their Functions
1. Data Bus
- The data bus carries the actual data (instructions and information) between the CPU, memory, and I/O devices.
- It is bidirectional, meaning data can flow in both directions (from CPU to memory or from memory to CPU).
- The width of the data bus (number of lines) determines how much data can be transferred at one time.
- Example: A 32-bit data bus can transfer 32 bits simultaneously.
- A wider data bus means faster data transfer and better system performance.
2. Address Bus
- The address bus carries memory addresses generated by the CPU to specify where in memory data should be read from or written to.
- It is unidirectional, meaning addresses flow only from the CPU to memory or I/O devices.
- The width of the address bus determines the maximum amount of memory the system can address.
- Example: A 32-bit address bus can address 2^32 = 4 GB of memory.
- It does not carry data itself, only the location (address) of the data.
3. Control Bus
- The control bus carries control signals from the CPU to coordinate and manage the activities of all components connected to the bus.
- It is bidirectional in nature (some signals go from CPU to devices, some come back).
- Common control signals include:
- Memory Read / Memory Write - indicates whether data is to be read from or written to memory
- I/O Read / I/O Write - controls input/output operations
- Clock signal - synchronizes operations
- Interrupt signals - allows devices to request CPU attention
- Bus Request / Bus Grant - manages which device controls the bus
Summary Table
Bus Direction Carries Data Bus Bidirectional Actual data/instructions Address Bus Unidirectional Memory/I/O addresses Control Bus Bidirectional Control and timing signals Together, these three buses form the system bus, which is the primary pathway for communication within a computer system.
- 65 marksGuided transmission media typesHideAnswer
What do you mean by transmission media? Explain the features of a twisted pair cable? [5]
Transmission media refers to the physical pathway or channel through which data signals travel from a sender to a receiver in a communication network. It is the actual physical environment through which signals are transmitted between de...
- 75 marksNumericalBinary arithmetic and operationsHideAnswer
Subtract 10010 from 10101. Verify answer with the help of decimal substraction. [5]
Binary Decimal Equivalent ---------------------------- $10101$ $16+0+4+0+1 = 21$ $10010$ $16+0+0+2+0 = 18$ We must compute $10101 - 10010$. --- Working right to left (bit 0 = LSB): Bit Minuend Subtrahend Operation Result ----------------...
- 85 marksTCP/IP protocol and functionsHideAnswer
What is TCP/IP? Explain the working of the packet switching technique. [5]
TCP/IP and Packet Switching Technique
TCP/IP
TCP/IP (Transmission Control Protocol / Internet Protocol) is a set of communication protocols used to interconnect network devices on the internet and other networks. It defines how data should be packaged, addressed, transmitted, routed, and received across networks.
TCP/IP is a layered protocol suite consisting of two main protocols:
-
TCP (Transmission Control Protocol): A connection-oriented protocol that ensures reliable, ordered, and error-checked delivery of data between applications. It breaks data into segments, numbers them, and reassembles them at the destination.
-
IP (Internet Protocol): A connectionless protocol responsible for addressing and routing packets from the source host to the destination host across networks.
TCP/IP Layer Model
Layer Function Application Layer Provides network services to applications (HTTP, FTP, SMTP) Transport Layer End-to-end communication, reliability (TCP/UDP) Internet Layer Logical addressing and routing (IP) Network Access Layer Physical transmission of data
Packet Switching Technique
Packet switching is a method of data transmission in which a message is broken into smaller units called packets, and each packet is transmitted independently through the network.
Working of Packet Switching
Step 1: Packetization
- The sender breaks the original message/data into smaller, fixed or variable-size units called packets.
- Each packet contains:
- Header: Source address, destination address, sequence number, and control information.
- Payload: The actual data being transmitted.
Step 2: Independent Routing
- Each packet is sent independently into the network.
- Routers/switches examine the destination address in each packet header and forward it toward the destination using the best available path.
- Different packets of the same message may travel through different routes.
Step 3: Store and Forward
- Each intermediate node (router) receives a packet completely, stores it temporarily, checks for errors, and then forwards it to the next node.
- This is known as the store-and-forward mechanism.
Step 4: Reassembly
- Since packets may arrive out of order (due to different paths), the destination node uses the sequence numbers in the headers to reorder and reassemble the original message.
Step 5: Error Handling
- If a packet is lost or corrupted, only that specific packet is retransmitted, not the entire message.
Diagram
Sender --> [P1][P2][P3] --> Network (different paths) --> [P1][P2][P3] --> Receiver Router A --> P1 Router B --> P2 Router C --> P3Advantages of Packet Switching
- Efficient use of network bandwidth (no dedicated path needed)
- More reliable -- if one route fails, packets take another route
- Multiple users can share the same network links
- Only lost packets need to be retransmitted
Disadvantage
- Packets may arrive out of order, causing reassembly delay
- Header overhead is added to every packet
- Not ideal for real-time applications (e.g., voice calls) without special handling
Note: TCP/IP uses packet switching as its underlying data transmission mechanism. IP handles the routing of individual packets, while TCP handles reassembly and reliability at the transport layer.
-
- 95 marksDatabase system definition and componentsHideAnswer
Define a database system. Briefly explain the components of database system. [5]
A database system (also called a Database Management System or DBMS) is a computerized system that allows users to store, manage, retrieve, and manipulate data in an organized and efficient manner. It provides a way to define, create, ma...
- 105 marksComputer bus types and functionsHideAnswer
Define Bus with its types. Why do we need memory hierarchy? [5]
Bus: Definition and Types + Memory Hierarchy
Definition of Bus
A bus is a shared communication pathway (set of parallel wires/lines) that connects multiple components of a computer system (CPU, memory, I/O devices) and allows transfer of data, addresses, and control signals between them.
Types of Bus
A system bus is typically composed of three functional types:
1. Data Bus
- Carries actual data between the processor, memory, and I/O devices.
- It is bidirectional (data can flow in both directions).
- Width (e.g., 8-bit, 16-bit, 32-bit, 64-bit) determines how much data can be transferred at once.
2. Address Bus
- Carries the memory address specifying where data should be read from or written to.
- It is unidirectional (flows from CPU to memory/I/O).
- Width determines the maximum addressable memory (e.g., 32-bit address bus can address 2³² locations).
3. Control Bus
- Carries control signals that coordinate and manage operations on the bus.
- Signals include: Read/Write, Memory Request, Interrupt, Clock, Bus Request, Bus Grant, etc.
- It is bidirectional.
Why Do We Need Memory Hierarchy?
Memory hierarchy is needed due to the following reasons:
1. Speed vs. Cost Trade-off
- Fast memory (e.g., registers, cache) is very expensive and cannot be used in large quantities.
- Slow memory (e.g., hard disk) is cheap but too slow for direct CPU use.
- Hierarchy allows a balance between speed and cost.
2. Bridging the Speed Gap (CPU-Memory Gap)
- Modern CPUs operate at very high speeds (GHz range), but main memory (RAM) is significantly slower.
- Cache memory is placed between CPU and RAM to reduce access time and prevent the CPU from waiting (avoiding bottleneck).
3. Principle of Locality
- Programs exhibit temporal locality (recently used data will be used again soon) and spatial locality (nearby memory locations will be accessed soon).
- Hierarchy exploits this by keeping frequently used data in faster, smaller memory.
4. Efficient Use of Resources
- By storing only the most needed data in expensive fast memory and the rest in cheaper slow memory, the system achieves near-fast-memory performance at near-slow-memory cost.
Memory Hierarchy Levels (Top to Bottom):
Level Memory Type Speed Cost Size 1 Registers Fastest Highest Smallest 2 Cache (L1, L2, L3) Very Fast High Small 3 Main Memory (RAM) Moderate Moderate Medium 4 Secondary Storage (HDD/SSD) Slow Low Large 5 Tertiary (Tape, Cloud) Slowest Lowest Largest Summary: Memory hierarchy is needed to provide the illusion of a large, fast, and affordable memory system by combining different levels of storage with varying speed, cost, and capacity.
- 115 marksDefinition and application areas of ITHideAnswer
What is IT? Briefly explain the various application areas of IT. [5]
Information Technology (IT) refers to the use of computers, software, networks, and other electronic systems to store, process, transmit, retrieve, and manage data and information. It encompasses all forms of technology used to create, e...
- 125 marksE-commerce and e-governanceHideAnswer
Write short notes on: a. Ecommerce and E-governance Write short notes on: b. Big data [2.5+2.5]
E-Commerce refers to the buying and selling of goods and services over the internet or other electronic networks. It involves online transactions between businesses, consumers, and governments. Types of E-Commerce: - B2B (Business to Bus...