BIT101 · TU past paper
Introduction to Information Technology 2081 question paper
The complete TU 2081 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 marksComputer components and architectureHideAnswer
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]
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:
Component Description Input Unit Accepts data and instructions from the user (keyboard, mouse, scanner) Output Unit Delivers processed results to the user (monitor, printer, speaker) Memory Unit Stores 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 Registers Small, high-speed temporary storage inside the CPU (PC, IR, AC, MAR, MBR, etc.) Bus System Communication 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
Register Full Name Primary Function PC Program Counter Holds address of the next instruction to fetch IR Instruction Register Holds the current instruction being decoded/executed AC Accumulator Holds 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.
- 210 marksDefinition and categories of softwareHideAnswer
What is Software? What are different categories of Software and explain their functions?[10]
Software: Definition, Categories, and Functions
What is Software?
Software is a collection of programs, data, and instructions that tell a computer how to perform specific tasks. It is the non-physical (intangible) component of a computer system that enables hardware to function and perform useful operations.
Software acts as an interface between the user and the hardware, making the computer usable and productive.
Categories of Software
Software is broadly classified into the following major categories:
1. System Software
System software is a collection of programs designed to operate, control, and extend the processing capabilities of the computer itself. It acts as a platform for running application software.
Sub-categories and Functions:
Sub-category Function Operating System (OS) Manages hardware resources, provides user interface, handles file management (e.g., Windows, Linux, macOS) Device Drivers Allow the OS to communicate with hardware devices like printers, keyboards, and graphics cards Utility Programs Perform maintenance tasks such as disk cleanup, antivirus scanning, file compression (e.g., WinRAR, CCleaner) Language Translators Convert high-level or assembly language into machine code (Compilers, Interpreters, Assemblers)
2. Application Software
Application software is designed to help users perform specific tasks directly. It runs on top of system software.
Sub-categories and Functions:
Sub-category Function General Purpose Software Used for a wide range of tasks; e.g., MS Word (word processing), MS Excel (spreadsheet), MS PowerPoint (presentations) Specific Purpose Software Designed for a particular task; e.g., payroll software, inventory management, billing systems Web-Based Software Runs through a web browser; e.g., Gmail, Google Docs, online banking portals Mobile Applications Designed for mobile devices; e.g., WhatsApp, Instagram, mobile banking apps
3. Programming Software (Development Tools)
Programming software provides tools that help developers write, test, and debug other programs.
Functions:
- Text Editors / IDEs: Provide an environment to write source code (e.g., VS Code, Eclipse, NetBeans)
- Compilers and Interpreters: Translate source code into executable machine code
- Debuggers: Help identify and fix errors (bugs) in programs
- Version Control Systems: Manage changes to source code over time (e.g., Git)
4. Embedded Software
Embedded software is programmed into hardware devices and controls specific functions of those devices.
Functions:
- Controls the operation of devices like washing machines, microwave ovens, digital cameras, and automobiles
- Runs on microcontrollers or microprocessors embedded within the device
- Usually stored in ROM (Read-Only Memory) and is not easily modified by the user
5. Middleware
Middleware is software that acts as a bridge between different software applications or between the operating system and applications, especially in networked or distributed environments.
Functions:
- Facilitates communication and data management between applications
- Used in web servers, application servers, and database communication
- Examples: Apache Tomcat, IBM WebSphere, message queuing services
Summary Diagram
SOFTWARE ├── System Software │ ├── Operating System │ ├── Device Drivers │ ├── Utilities │ └── Language Translators ├── Application Software │ ├── General Purpose │ ├── Specific Purpose │ └── Web/Mobile Apps ├── Programming Software │ ├── IDEs / Editors │ ├── Compilers / Debuggers │ └── Version Control ├── Embedded Software └── Middleware
Conclusion
Software is the soul of a computer system. Without software, hardware is merely a collection of electronic components with no purpose. The different categories of software work together to make computers powerful, flexible, and useful for a wide range of personal, professional, and industrial applications.
- 310 marksDatabase management system and importanceHideAnswer
Define Database management System. What are the advantages of database management system?[10]
Database Management System (DBMS)
Definition of DBMS
A Database Management System (DBMS) is a collection of interrelated data and a set of programs to access and manage that data. It is software that enables users to define, create, maintain, and control access to a database. The primary goal of a DBMS is to provide a way to store and retrieve database information that is both convenient and efficient.
In other words, a DBMS acts as an interface between the user and the database, allowing users to interact with data without needing to know how data is physically stored.
Examples: Oracle, MySQL, Microsoft SQL Server, PostgreSQL, MongoDB.
Advantages of Database Management System
1. Controlling Data Redundancy
In a traditional file system, the same data may be stored in multiple files, leading to duplication. A DBMS centralizes data storage, which minimizes or eliminates unnecessary duplication of data, saving storage space and maintaining consistency.
2. Data Consistency
By reducing redundancy, a DBMS ensures data consistency. When data is stored in one place and updated, the change is reflected throughout the entire system, avoiding inconsistent data across different files or applications.
3. Data Sharing
A DBMS allows multiple users and applications to access the same database simultaneously. Authorized users across different departments or locations can share data in a controlled manner, improving collaboration and productivity.
4. Data Security
A DBMS provides security mechanisms such as:
- User authentication (login credentials)
- Authorization (access control -- who can read, write, or modify data)
- Encryption of sensitive data
This ensures that only authorized users can access specific portions of the database.
5. Data Integrity
A DBMS enforces integrity constraints (rules) on the data to ensure accuracy and correctness. For example:
- A student's age cannot be negative.
- A foreign key must reference an existing primary key.
This prevents invalid data from being entered into the database.
6. Data Independence
DBMS provides two levels of data independence:
- Physical Data Independence: Changes in physical storage do not affect the logical structure.
- Logical Data Independence: Changes in the logical schema do not affect application programs.
This makes the system flexible and easier to maintain.
7. Efficient Data Access
A DBMS uses sophisticated query processing and optimization techniques (e.g., indexing, query optimization) to retrieve and store data efficiently, even from very large databases.
8. Backup and Recovery
A DBMS provides automatic backup and recovery mechanisms. In case of system failure, hardware crash, or accidental data loss, the DBMS can restore the database to a consistent state using transaction logs and backup copies.
9. Concurrent Access Control
A DBMS manages concurrent access by multiple users using techniques like locking and transaction management. This ensures that simultaneous operations do not lead to data inconsistency or conflicts.
10. Reduced Application Development Time
Since the DBMS handles data management tasks (storage, retrieval, security, integrity), developers can focus on application logic. This significantly reduces the time and cost of developing and maintaining applications.
Summary Table
Advantage Key Benefit Reduced Redundancy Less duplicate data Data Consistency Uniform data across the system Data Sharing Multiple users access same data Data Security Controlled access to data Data Integrity Accurate and valid data Data Independence Flexibility in changes Efficient Access Fast query processing Backup and Recovery Protection against data loss Concurrency Control Safe multi-user access Reduced Development Time Faster application building
Note: The above answer is based on standard DBMS concepts as taught in BSc CSIT curriculum (supplemented from standard references such as Silberschatz, Korth & Sudarshan -- Database System Concepts, since no specific note context was provided).
- 45 marksDefinition and characteristics of computerHideAnswer
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. Not...
- 55 marksNumericalTwo's complement method for signed numbersHideAnswer
Add number +7 and -17 using 2's complement method. [5]
- First number: $+7$ - Second number: $-17$ - Method: 2's complement addition - Using 8-bit representation (needed since $17$ requires 5 bits, plus sign bit). $+7$: $$+7 = 0000\ 0111$$ $+17$ (magnitude of the negative number): $$+17 = 00...
- 65 marksPacket definition and structureHideAnswer
Define a packet. Explain the working of the packet switching technique. [5]
Packet Switching
Definition of a Packet
A packet is a small, fixed or variable-sized unit of data that is formed by breaking a large message into smaller chunks before transmission over a network. Each packet contains:
- Header - source address, destination address, sequence number, and control information
- Payload (Data) - the actual portion of the message being carried
- Trailer - error-checking information (e.g., CRC)
Packet Switching Technique
Packet switching is a data transmission method in which a message is divided into packets, and each packet is transmitted independently through the network. Packets may travel via different routes and are reassembled at the destination.
Working of Packet Switching
Step-by-Step Process
Step 1: Message Division
- The sender breaks the original message into smaller packets.
- Each packet is numbered (e.g., P1, P2, P3) so they can be reassembled in order.
Step 2: Header Addition
- Each packet is given a header containing the destination address, source address, and sequence number.
Step 3: Routing Through the Network
-
Each packet is sent into the network independently.
-
At each intermediate node (router/switch), the packet is:
- Received and stored temporarily (store-and-forward)
- Examined - the router reads the destination address
- Forwarded - the router selects the best available path using a routing table
-
Different packets of the same message may take different paths to reach the destination.
Step 4: Reassembly at Destination
- All packets arrive at the destination (possibly out of order).
- The destination node uses the sequence numbers to reassemble the packets in the correct order to reconstruct 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 Network Receiver | | |-- P1 --> [Router A] --> [Router C] --> P1 --> | |-- P2 --> [Router B] --> [Router C] --> P2 --> | |-- P3 --> [Router A] --> [Router B] --> P3 --> | Reassemble P1+P2+P3
Advantages of Packet Switching
Feature Benefit Efficient bandwidth use Multiple packets share the same link Fault tolerance Packets can reroute around failed nodes Error recovery Only lost packets are retransmitted No dedicated path needed No circuit setup delay
Types of Packet Switching
- Datagram Packet Switching - Each packet is routed independently; no fixed path.
- Virtual Circuit Packet Switching - A logical path is established before transmission; all packets follow the same route (e.g., ATM).
Note: Packet switching is the foundation of modern networks including the Internet, where the TCP/IP protocol suite manages packet creation, routing, and reassembly.
- 75 marksTechnologies for security implementationHideAnswer
What is security mechanism? Explain in brief about the technologies used for implementing the security mechanisms. [5]
Security Mechanism
Definition
A security mechanism is a technical tool, technique, or procedure designed to detect, prevent, or recover from a security attack. Security mechanisms are used to implement security services such as confidentiality, integrity, authentication, non-repudiation, and access control in a communication system or network.
Technologies Used for Implementing Security Mechanisms
1. Cryptography
Cryptography is the science of transforming data into an unreadable form to protect it from unauthorized access.
- Symmetric Key Cryptography (e.g., AES, DES): Same key is used for encryption and decryption.
- Asymmetric Key Cryptography (e.g., RSA): A pair of public and private keys is used.
- It provides confidentiality and data integrity.
2. Digital Signature
A digital signature is a cryptographic technique that verifies the authenticity and integrity of a message or document.
- It uses the sender's private key to sign and the receiver uses the public key to verify.
- Provides authentication and non-repudiation.
3. Hash Functions
A hash function converts data of arbitrary size into a fixed-size digest (e.g., MD5, SHA-256).
- Used to verify data integrity.
- Even a small change in data produces a completely different hash value.
4. Digital Certificates and Public Key Infrastructure (PKI)
- A digital certificate binds a public key to an identity, issued by a trusted Certificate Authority (CA).
- PKI manages the creation, distribution, and revocation of certificates.
- Used for authentication in SSL/TLS protocols.
5. Firewall
A firewall is a network security device (hardware or software) that monitors and controls incoming and outgoing network traffic based on predefined security rules.
- Prevents unauthorized access to or from a private network.
6. Intrusion Detection System (IDS) / Intrusion Prevention System (IPS)
- IDS monitors network traffic and detects suspicious activities or policy violations.
- IPS not only detects but also takes action to block the threat automatically.
7. Secure Socket Layer / Transport Layer Security (SSL/TLS)
- SSL/TLS protocols provide a secure channel between two parties communicating over the internet.
- Used in HTTPS to ensure encrypted and authenticated communication.
8. Access Control Mechanisms
- Techniques such as passwords, biometrics, smart cards, and role-based access control (RBAC) restrict access to resources only to authorized users.
Summary Table
Technology Security Service Provided Cryptography Confidentiality, Integrity Digital Signature Authentication, Non-repudiation Hash Functions Integrity PKI / Certificates Authentication Firewall Access Control IDS/IPS Attack Detection/Prevention SSL/TLS Confidentiality, Authentication Access Control Authorization Note: The above answer is based on standard network security concepts, as no specific curriculum notes were provided for this topic.
- 85 marksIT in educationHideAnswer
What is IT? Explain the Applications of IT in education. [5]
What is IT? Applications of IT in Education
What is Information Technology (IT)?
Information Technology (IT) refers to the use of computers, software, networks, and other electronic systems to store, process, transmit, retrieve, and manage information. It encompasses all forms of technology used to create, exchange, and utilize information in its various forms.
IT includes hardware, software, the internet, telecommunications, and related services that help individuals and organizations handle information efficiently.
Applications of IT in Education
IT has revolutionized the education sector in numerous ways:
1. E-Learning and Online Education
- Students can access courses and learning materials online through platforms like Google Classroom, Moodle, and Coursera.
- Distance learning has become possible, allowing students to learn from anywhere in the world.
2. Digital Libraries and Resources
- IT enables access to vast digital libraries, e-books, journals, and research papers.
- Students and teachers can access updated information instantly without physical books.
3. Interactive Multimedia Learning
- Educational content can be delivered through videos, animations, simulations, and presentations.
- Tools like PowerPoint, YouTube, and educational software make learning more engaging and effective.
4. Computer-Based Testing and Assessment
- Online examinations and quizzes can be conducted and evaluated automatically.
- Immediate feedback helps students identify their strengths and weaknesses.
5. Communication and Collaboration
- IT tools such as email, video conferencing (Zoom, Google Meet), and discussion forums allow teachers and students to communicate easily.
- Group projects and collaborative work become easier through shared platforms.
6. Administrative Management
- IT helps educational institutions manage student records, attendance, fee collection, and scheduling efficiently.
- School management systems automate administrative tasks.
7. Smart Classrooms
- Projectors, interactive whiteboards, and tablets enhance classroom teaching.
- Teachers can present complex topics visually and interactively.
Summary
IT has transformed education by making it more accessible, interactive, flexible, and efficient. It bridges the gap between students and quality education regardless of geographical boundaries.
- 95 marksMemory hierarchy and access timeHideAnswer
Explain different memories available in the computer in order of their hierarchy based on access time and capacity. [5]
Computer systems use multiple types of memory organized in a hierarchy based on two key parameters: - Access Time (speed): How fast the CPU can read/write data - Capacity (size): How much data can be stored The general principle is: fast...
- 105 marksUtility software and purposesHideAnswer
Explain the purpose of utility software. [5]
Utility software (also called utility programs or utilities) refers to a category of system software designed to help manage, maintain, configure, and optimize a computer system. These programs support the infrastructure of the operating...
- 115 marksComputer network definition and importanceHideAnswer
What is computer network? Explain the importance of networking. [5]
Computer Network and Importance of Networking
What is a Computer Network?
A computer network is a collection of two or more interconnected computing devices (computers, printers, servers, etc.) that are linked together using communication channels (wired or wireless) to share data, resources, and information with each other.
In simple terms, a computer network allows devices to communicate and exchange information over a shared medium following a set of rules called protocols.
Example: The Internet is the largest example of a computer network connecting millions of devices worldwide.
Importance of Networking
1. Resource Sharing
Network allows sharing of hardware resources such as printers, scanners, and storage devices among multiple users, reducing cost and avoiding duplication of equipment.
2. Data and File Sharing
Users connected in a network can easily share files, documents, and data with each other without the need for physical transfer media (like USB drives).
3. Communication
Networking enables fast and efficient communication through emails, instant messaging, video conferencing, and Voice over IP (VoIP), connecting people across the globe.
4. Centralized Data Management
Data can be stored and managed centrally on servers, making it easier to maintain, back up, and secure important information.
5. Cost Effectiveness
Sharing resources and software licenses over a network reduces overall costs for organizations compared to providing individual resources to each user.
6. Internet Access
Networking provides access to the Internet, enabling users to access vast amounts of information, online services, e-commerce, and cloud computing.
7. Reliability and Redundancy
Networks can be designed with multiple paths so that if one connection fails, data can be rerouted through another path, ensuring continuous availability.
Summary Table
Feature Benefit Resource Sharing Reduces hardware costs File Sharing Easy data exchange Communication Fast and global connectivity Centralized Management Better data control Internet Access Access to global information
Note: The above answer is based on standard computer networking concepts as the reference notes were not available for this topic.
- 125 marksInternet of Things and smart citiesHideAnswer
Write short notes on: a) Smart city b) Big data [0+2.5+2.5]
Short Notes
a) Smart City
A smart city is an urban area that uses digital technology, information and communication technology (ICT), and data-driven solutions to improve the quality of life for its citizens, enhance sustainability, and optimize city operations and services.
Key Features:
- Smart Infrastructure: Intelligent transportation systems, smart grids, and connected utilities
- IoT Integration: Sensors and devices embedded throughout the city to collect real-time data
- Data Analytics: Use of big data and analytics to make informed decisions for city management
- E-Governance: Digital platforms for citizen services, reducing paperwork and improving transparency
- Smart Energy: Efficient energy management using renewable sources and smart meters
- Smart Healthcare & Education: Digital health monitoring and e-learning platforms
Examples of Smart City Applications:
- Traffic management and congestion control
- Waste management optimization
- Public safety through surveillance systems
- Smart water management
b) Big Data
Big data refers to extremely large and complex datasets that cannot be processed or analyzed using traditional data processing tools and techniques. It requires specialized technologies and methods to store, manage, and extract meaningful insights.
The 5 V's of Big Data:
V Description Volume Massive amounts of data generated every second Velocity Speed at which data is generated and processed Variety Different types of data (structured, unstructured, semi-structured) Veracity Accuracy and trustworthiness of data Value Usefulness of data after processing and analysis Sources of Big Data:
- Social media platforms (Facebook, Twitter)
- IoT devices and sensors
- E-commerce transactions
- Healthcare records
- Scientific research
Technologies Used:
- Hadoop - Distributed storage and processing framework
- Apache Spark - Fast data processing engine
- NoSQL Databases - MongoDB, Cassandra for unstructured data
Applications:
- Business intelligence and decision making
- Healthcare diagnosis and prediction
- Fraud detection in banking
- Personalized recommendations (Netflix, Amazon)