2075

CSC114 · TU past paper

Introduction to Information Technology 2075 question paper

The complete TU 2075 exam paper for Introduction to Information Technology (CSC114), all 12 questions with solved model answers written to the mark scheme.

Tap a question to open its answer.

  1. 110 marksNumericalSigned and Unsigned NumbersAnswer

    Discuss the concept behind the fixed point number representation. What can be the fixed point representation of a signed number 8? Convert (14.14) decimal into binary and octal.[10]

    • Concept required: fixed point number representation - Signed number to represent: 8 - Number to convert: $(14.14){10}$ into binary and octal --- Fixed point representation is a scheme for storing real numbers in which the position of t...
  2. 210 marksData Transmission and Data NetworkingAnswer

    What is switching? How can you differentiate packet switching from circuit switching? What are the advantages of using optical fibers?[10]

    Switching is the mechanism by which data or signals are routed from a source to a destination through a network. In a network with multiple nodes and links, switching determines the path that data takes from the sender to the receiver. I...

  3. 310 marksOperating SystemAnswer

    Why software system is needed in computers? Discuss various type of operating system.[10]

    Why Software System is Needed in Computers? Types of Operating Systems


    Part 1: Why Software System is Needed in Computers

    A computer is made up of both hardware and software. Hardware alone cannot perform any useful task without software to direct and control it. This is why software systems are essential for computers.

    Definition of System Software

    As per the notes:

    "System software provides basic functionality to the computer. System software is required for the working of computer itself. It controls computer hardware and it acts as an interface between user, application software and computer hardware."

    Reasons Why Software System is Needed

    ReasonExplanation
    Interface between user and hardwareSoftware acts as a bridge so users can interact with hardware without knowing its technical details
    Hardware ControlIt controls and coordinates all hardware components like CPU, memory, I/O devices
    Resource ManagementIt manages CPU time, memory space, and I/O devices efficiently
    Program ExecutionIt controls the execution of different programs and prevents errors
    Application SupportIt provides support for various services as requested by application software
    User ConvenienceIt provides a convenient interface (commands or GUI) to the user

    Categories of System Software

    System software is mainly divided into two types based on functionality:

    1. For system management and functionality - Includes Operating System, Device Drivers, and System Utilities
    2. For developing software - Supports the development of application software

    Without system software, the computer hardware would be useless. For example, during the Fourth Generation of computers, the development of operating systems like MS-DOS and MS-Windows made computers widely accessible to home and commercial users.


    Part 2: Types of Operating System

    Definition of Operating System

    "It is the most important part of the computer. It intermediates between the user of a computer and the computer hardware. It controls and coordinates the use of hardware among the different application software and the users."

    Functions of OS

    1. Creates an environment between user and application software to work
    2. Manages different resources like CPU time, memory space, and I/O devices
    3. Controls execution of different programs to prevent occurrence of errors
    4. Provides a convenient interface to the user in the form of commands and graphical interface
    5. Translates user commands into machine-understandable form
    6. Hides the working of hardware from the user

    Types of Operating System

    Operating systems are classified into different types depending on their capability of processing:


    a) Single User and Single Task OS

    • Used for performing a single task for a single user at a time
    • These are simple operating systems designed to manage one task at a time
    • Operating Systems for Personal Computers (PC) are single-user OS
    • Example: MS-DOS

    b) Single User and Multitasking OS

    • Allows execution of more than one task or process simultaneously for a single user
    • The user can run multiple applications at the same time (e.g., browsing while listening to music)
    • Example: Windows 7, Windows XP, Windows 10

    c) Multi-user OS

    • Allows multiple users to access the computer system simultaneously
    • Each user gets a share of the system resources
    • Commonly used in servers and mainframe computers
    • Example: UNIX, Linux

    d) Real-Time OS (RTOS)

    • Designed to process data and respond within a guaranteed time frame
    • Used in time-critical applications where delay is not acceptable
    • Example: Used in missile guidance systems, medical equipment, industrial robots

    e) Distributed OS

    • Manages a group of independent computers and makes them appear as a single system to the user
    • Resources are distributed across multiple machines connected via a network
    • Example: LOCUS, Amoeba

    f) Network OS

    • Provides networking features and allows computers to communicate over a network
    • Manages network resources like shared files, printers, and security
    • Example: Windows Server, Novell NetWare

    Summary Table

    Type of OSUsersTasksExample
    Single User, Single Task11MS-DOS
    Single User, Multitasking1ManyWindows XP
    Multi-userManyManyUNIX, Linux
    Real-Time OSVariesTime-criticalRTOS
    Distributed OSManyMany (across machines)LOCUS
    Network OSManyNetwork-basedWindows Server

    Conclusion

    Software systems, especially the Operating System, are absolutely essential for computers to function. Without them, hardware components would have no direction or coordination. The OS acts as the backbone of the entire computing environment, managing resources, providing user interfaces, and enabling application software to run effectively. Different types of OS are designed to meet different needs, from simple single-user systems to complex distributed environments.

  4. 45 marksCentral Processing UnitAnswer

    What is the role of Control Unit in CPU? How analog computer differs from digital? [5]

    Role of Control Unit in CPU and Analog vs Digital Computer


    Part 1: Role of Control Unit (CU) in CPU

    The Control Unit (CU) is one of the two main components of the CPU (the other being the ALU). The CPU is often called the brain of the computer, and the Control Unit plays a central role in its operation.

    Key Roles of the Control Unit:

    RoleDescription
    Organizing ProcessingCU is responsible for organizing the processing of data and instructions
    Control and CoordinationCU controls and co-ordinates the activity of all other units of the computer
    Directing Data FlowIt directs how data and instructions move between memory, ALU, and registers
    Instruction ManagementIt fetches, decodes, and manages the execution of instructions
    Supervising I/OIt oversees the input and output operations of the computer system

    In short, the CU organizes the processing of data and instructions, and controls and co-ordinates the activity of the other units of the computer.

    The CU works closely with the ALU (which performs arithmetic and logic operations) and the registers (temporary storage areas), ensuring that the right data reaches the right unit at the right time.


    Part 2: How Analog Computer Differs from Digital Computer

    BasisAnalog ComputerDigital Computer
    DefinitionUses continuously changeable aspects of physical phenomena such as electrical, mechanical, etc.Processes information with quantities using digits, usually the binary number system
    Data RepresentationRepresents data as continuous signals (voltage, current, etc.)Represents data as discrete binary digits (0s and 1s)
    Nature of InputContinuous (non-discrete)Discrete (digits)
    AccuracyLess accurate due to continuous variationMore accurate and precise
    SpeedFaster for specific physical measurementsGenerally faster for general-purpose computation
    CostGenerally less complex but limited useMore versatile and widely used
    ExamplesPlanimeter, NomogramIBM PC, Apple Macintosh

    An analog computer uses continuously changeable aspects of physical phenomena such as electrical or mechanical signals, whereas a digital computer processes information as quantities represented using digits, usually the binary number system.


    Summary

    The Control Unit acts as the manager of the CPU, directing and coordinating all operations. Analog computers work on continuous physical signals, while digital computers work on discrete binary digits, making digital computers more accurate and widely applicable in modern computing.

  5. 55 marksMicroprocessorAnswer

    How RISC architecture differs from CISC architecture? [5]

    CISC has the ability to execute addressing modes or multi-step operations within one instruction set. One instruction performs many low-level operations (e.g., memory storage, arithmetic operation, and loading from memory simultaneously)...

  6. 65 marksCache MemoryAnswer

    What is the purpose of cache memory? How sequential access differs from direct access? [5]

    Cache Memory and Access Methods

    Purpose of Cache Memory

    Cache memory is a small, high-speed memory placed between the CPU and the main memory (RAM) in the memory hierarchy.

    Key Purposes:

    1. Speed Bridging: The CPU operates much faster than RAM (CPU registers: 1-2 ns, RAM: ~60 ns). Cache memory (speed: 2-10 ns) bridges this speed gap so the CPU does not have to wait for data from the slower main memory.

    2. Temporary Storage of Active Data: Cache holds the currently working data and instructions that the CPU is likely to need next, reducing the number of times the CPU must access the slower main memory.

    3. Performance Improvement: By keeping frequently used data close to the CPU, cache memory significantly speeds up overall system performance.

    Key Characteristics of Cache Memory:

    • Speed: 2 to 10 nanoseconds
    • Size: 32 KB to 4 MB
    • Made of SRAM (Static RAM) which uses 4-6 transistors per cell, requires no refreshing, and is faster than DRAM
    • Volatile memory (data is lost when power is off)
    • Directly accessible by the CPU

    Sequential Access vs. Direct Access

    These are two different methods of accessing information stored in a file or storage device.

    FeatureSequential AccessDirect Access
    DefinitionData is accessed in a sequential order from start to endData can be accessed in any order, directly at any location
    OrderMust read all preceding records before reaching the desired oneCan jump directly to the required record
    SpeedSlower for retrieving a specific recordFaster for retrieving a specific record
    ExampleReading a tape from beginningReading a specific block on a hard disk
    FlexibilityLess flexibleMore flexible

    Summary:

    • Sequential access means the file is read from the beginning to the end in order; you cannot skip to a specific location without passing through all previous data.
    • Direct access means any part of the file can be read or written at any time without going through the preceding data, making it much more efficient for random retrieval.
  7. 75 marksHuman Data Entry DevicesAnswer

    Explain the working mechanism of a keyboard. [5]

    Working Mechanism of a Keyboard

    Introduction

    A keyboard is one of the most common input devices of a computer system. It allows users to enter data such as characters, words, text, and commands into the computer. The keyboard has been a standard input device since the third generation of computers, where it replaced earlier input methods.


    Working Mechanism of a Keyboard

    The keyboard works through the following steps:

    1. Physical Key Press

    • Each key on the keyboard is placed over a switch (mechanical or membrane type).
    • When a user presses a key, the switch beneath it is closed (activated), completing an electrical circuit at that specific location.

    2. Key Matrix Scanning

    • The keys are arranged in a grid pattern called a key matrix (rows and columns).
    • A small dedicated microprocessor (keyboard controller) inside the keyboard continuously scans this matrix to detect which key has been pressed by identifying the exact row and column intersection.

    3. Scancode Generation

    • Once the pressed key is identified, the keyboard controller generates a unique code called a scancode corresponding to that specific key.
    • This scancode is sent to the computer through the keyboard interface (USB, PS/2, etc.).

    4. Role of the Device Driver

    • The device driver acts as a translator between the keyboard hardware and the software/operating system.
    • It receives the scancode and translates it into a recognizable character code (such as ASCII code) that the operating system can understand.

    5. Role of the Operating System

    • The Operating System (OS) receives the translated character code from the device driver. -, "the keyboard and the monitor were interfaced through the operating system."
    • The OS passes the input to the currently active application program for further processing.

    6. Display of Output

    • The application program processes the received character and the result is displayed on the monitor, completing the input-output cycle.

    Summary Flow

    Key Pressed --> Switch Activated --> Key Matrix Scanned
        --> Scancode Generated --> Device Driver Translates
            --> OS Processes --> Application Receives Input
                --> Output Displayed on Monitor
    

    Conclusion

    The keyboard works through a combination of hardware (switches, key matrix, keyboard controller), device drivers (translation layer), and the operating system (interface and coordination) to successfully convert a physical key press into meaningful input for the computer.

  8. 85 marksInternet AddressAnswer

    Why IP address is used in internet? Mention the significance of domain names in internet. [5]

    An IP (Internet Protocol) address is a unique numerical label assigned to every device connected to the internet or a network. IP defines how to address and route each packet to make sure it reaches the right destination. The key reasons...

  9. 95 marksNetwork TopologyAnswer

    Define computer network. Suppose you have a two story building having 15 computers in each of two floors. Now if you are asked to create a network of these computers, what type of network will you create? Give proper justification to your answer. [5]

    Computer Network - Definition and Network Design

    Definition of Computer Network

    A computer network is a collection of two or more computers and other devices (such as printers, scanners, etc.) that are interconnected together to share information and resources. It allows users to communicate, share data, hardware equipment, and software programs with each other efficiently.

    : "Computer networks allow organizations having units which are placed apart from each other, to share information in a very effective manner. Programs and software on any computer can be accessed by other computers linked to the network. It also allows sharing of hardware equipment, like printers and scanners among varied users."


    Network Design for the Two-Story Building

    Given Scenario:

    • A two-story building
    • 15 computers on Floor 1 + 15 computers on Floor 2
    • Total = 30 computers

    Type of Network: LAN (Local Area Network)

    For this scenario, I would create a Local Area Network (LAN).


    Justification

    FactorJustification
    Geographic ScopeAll 30 computers are located within a single building (two floors). LAN is specifically designed to connect computers within a limited geographical area such as a building, office, or campus.
    Number of DevicesLAN can easily handle 30 computers, which is a small to medium number of devices.
    CostLAN is cost-effective to set up within a building using switches, routers, and Ethernet cables or Wi-Fi.
    SpeedLAN provides high data transfer speed (typically 100 Mbps to 1 Gbps), which is ideal for sharing files and resources within a building.
    Resource SharingAll 30 computers can share printers, scanners, internet connection, and files, which is the primary goal of networking.
    Easy ManagementA LAN within a single building is easy to manage and maintain by a network administrator.

    • Floor 1: 15 computers connected to a network switch
    • Floor 2: 15 computers connected to another network switch
    • Both switches connected to a central router for inter-floor communication and internet access
    • A Wi-Fi Access Point can also be added for wireless connectivity
             [Internet / ISP]
                    |
                [Router]
               /         \
         [Switch-1]    [Switch-2]
         Floor 1        Floor 2
       (15 PCs)        (15 PCs)
    

    Conclusion

    Since all 30 computers are confined within one building, a LAN is the most appropriate, cost-effective, and efficient choice. It enables all computers to share resources such as printers, files, and internet connection, which fulfills the core purpose of a computer network.

  10. 105 marksMalicious SoftwareAnswer

    What is malicious software? How virus differs from worms? [5]

    Malicious Software and Virus vs. Worms

    What is Malicious Software? (Malware)

    Malicious software (Malware) refers to various forms of harmful software designed to damage, disrupt, or gain unauthorized access to computer systems. It is any software that is intentionally created to cause harm to a computer, server, network, or user.

    Attackers use a variety of methods to deliver malware to a target computer, such as phishing emails, malicious downloads, and infected websites.

    Common examples of malicious software include:

    • Virus - A self-replicating program that attaches itself to other programs
    • Worm - Spreads across networks by making copies of itself
    • Trojan Horse - A program that appears harmless but is actually malicious
    • Ransomware - Encrypts user data and demands payment for recovery

    How Virus Differs from Worms

    BasisVirusWorm
    DefinitionA malicious program that self-replicates by copying itself to another programA type of malware that infects other systems by making multiple copies of itself and spreading across a network
    Spreading MethodRequires a host program or file to attach itself toDoes not need a host; spreads independently
    Human InteractionRequires human action (e.g., opening a file) to spreadSpreads automatically without human intervention
    TargetAttaches to and corrupts files or programs on a single systemTravels across networks and infects multiple computers
    Speed of SpreadSpreads relatively slowlySpreads very quickly across networks
    DamageCorrupts or modifies files on the infected systemConsumes network bandwidth and system resources
    ExampleFile infector virusMorris Worm, ILOVEYOU worm

    Summary

    In short, a virus needs a host file and human interaction to spread, while a worm is self-sufficient and spreads automatically across networks. Both are forms of malicious software that pose serious threats to computer security and integrity.

  11. 115 marksCharacteristics of MultimediaAnswer

    Discuss the characteristics of multimedia. [5]

    Characteristics of Multimedia

    Definition of Multimedia

    Multimedia is the integration of multiple forms of media content such as text, audio, images, animation, video, and interactivity through a computer system.


    Four Basic Characteristics of a Multimedia System

    A multimedia system has four basic characteristics:


    1. Multimedia Systems Must Be Computer Controlled

    • A multimedia system must be controlled and coordinated by a computer.
    • All the media elements (text, audio, video, graphics, animation) are processed, stored, and presented under the control of a computing device.
    • Without computer control, the integration and synchronization of different media types would not be possible.

    2. Multimedia Systems Are Integrated

    • A multimedia system integrates multiple types of media into a single, unified system.
    • Different media forms such as text, sound, images, and video are combined and presented together in a seamless manner.
    • Integration ensures that all media components work together to deliver a coherent experience to the user.

    3. The Information They Present Is Represented Digitally

    • All media content in a multimedia system is stored and processed in digital form (as binary data: 0s and 1s).
    • Digital representation allows easy storage, retrieval, editing, and transmission of multimedia content.
    • It also ensures consistency and quality of the media regardless of how many times it is copied or transmitted.

    4. The Interface to the Final Presentation Is Interactive

    • A multimedia system provides an interactive interface to the user.
    • The user can control the flow, sequence, and presentation of the multimedia content.
    • Interactivity distinguishes multimedia from traditional passive media like television.
    • Examples include clicking buttons, navigating menus, and responding to user inputs in real time.

    Summary Table

    #CharacteristicKey Point
    1Computer ControlledManaged and coordinated by a computer
    2IntegratedMultiple media types combined into one system
    3Digitally RepresentedAll content stored and processed as digital data
    4Interactive InterfaceUser can interact with and control the presentation

    Note: These four characteristics together define what makes a system a true multimedia system, distinguishing it from systems that simply use one or two media types without integration or interactivity.

  12. 125 marksDatabase SystemAnswer

    What is database system? How data can be stored using relational model. [5]

    A database system (also called a Database Management System - DBMS) is a system that manages a database, which is a collection of interrelated information used for different aspects of real-life problems. As per the notes: "Database is a...