2074

CSC114 · TU past paper

Introduction to Information Technology 2074 question paper

The complete TU 2074 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 marksCommunication ProtocolAnswer

    What is communication protocol? Discuss the OSI model with its layers.[10]

    --- A communication protocol is a set of rules, standards, and conventions that govern how data is transmitted and received between two or more devices over a network. It defines the format, timing, sequencing, and error checking of mess...

  2. 210 marksOperating SystemAnswer

    What is the objective of using operating system? How operating system performs process, memory and file management activities?[10]

    Operating System: Objectives and Management Activities

    Definition of Operating System

    An Operating System (OS) is system software that acts as an interface between the user and the computer hardware. It manages all the hardware and software resources of a computer system.


    Objectives of Using an Operating System

    The main objectives of using an operating system are:

    1. Resource Management: The OS manages hardware resources such as CPU, memory, storage, and input/output devices efficiently among multiple users and processes.

    2. Process Execution: The OS provides an environment in which programs (processes) can be created, executed, and terminated in an orderly manner.

    3. Convenience: The OS makes the computer system convenient to use by providing a user-friendly interface, so users do not need to deal directly with hardware.

    4. Efficiency: The OS ensures that the computer hardware is used in an efficient manner, maximizing throughput and minimizing idle time.

    5. Security and Protection: The OS protects data and programs from unauthorized access and ensures that one process does not interfere with another.

    6. Error Detection and Handling: The OS constantly monitors the system for errors in hardware and software and takes appropriate action.

    7. Communication: The OS facilitates communication between processes and between the user and the system through standard interfaces.

    8. File Management: The OS organizes, stores, retrieves, and manages files on storage devices in a systematic way.


    How the Operating System Performs Management Activities

    1. Process Management

    A process is a program in a state of execution. It is a unit of work for the operating system. A process can be created, executed, and stopped. The process management system allocates the resources required by a process during process creation and process execution.

    The OS performs the following process management activities:

    • Process Creation: When a user runs a program, the OS creates a process for it and allocates necessary resources (CPU time, memory, files).
    • Process Execution: The OS schedules the process for execution using scheduling algorithms (e.g., Round Robin, FCFS). The CPU executes the instructions of the process.
    • Process States: During execution, a process passes through various states:
      • New: The process is being created.
      • Ready: The process is waiting to be assigned to the CPU.
      • Running: The process is currently being executed by the CPU.
      • Waiting/Blocked: The process is waiting for some event (e.g., I/O completion).
      • Terminated: The process has finished execution.
    • Process Termination: Once execution is complete, the OS stops the process and frees all allocated resources.
    • Process Synchronization and Communication: The OS ensures that multiple processes can communicate and synchronize without conflict.

    2. Memory Management

    In a computer, multiple processes execute at the same time, and every process requires a certain amount of memory to execute. This memory is made available by the memory management system of the OS. On completion of a process's execution, the memory is de-allocated and made available to another process.

    The OS performs the following memory management activities:

    • Memory Allocation: The OS keeps track of which blocks of memory are free (called holes) and which are occupied. When a process needs memory, the OS allocates a suitable block to it.

      • In a single-user OS, allocated memory is freed and made available to any other process after execution.
      • In a multi-user OS, the OS tracks memory allocation for multiple processes simultaneously, handling memory protection and sharing.
    • Memory De-allocation: When a process finishes execution, the OS frees the memory it was using and makes it available for other processes.

    • Memory Protection: The OS ensures that one process cannot access the memory space of another process, preventing data corruption.

    • Virtual Memory: When the physical memory (RAM) is insufficient for all running processes, the OS creates virtual memory. This technique uses a portion of the hard disk as an extension of RAM, allowing processes to be allocated memory even when physical RAM is full.

      When the OS keeps track of processes, sometimes the memory space available becomes less than what those processes need. In that case, the OS creates virtual memory so that processes are allocated memory properly.


    3. File Management

    The OS performs the following file management activities:

    • File Creation and Deletion: The OS allows users and programs to create new files and delete existing ones on storage devices.
    • File Organization: Files are organized into a hierarchical directory (folder) structure, making it easy to locate and manage them.
    • File Access Control: The OS controls who can read, write, or execute a file, providing security and protection of data.
    • File Storage Management: The OS manages how files are stored on physical storage devices (hard disk, SSD), keeping track of used and free storage blocks.
    • File Retrieval: The OS provides mechanisms to search for and retrieve files quickly when requested by users or programs.
    • Backup and Recovery: The OS may support backup utilities to protect files from accidental loss or corruption.

    Summary Table

    Management ActivityKey Function
    Process ManagementCreate, schedule, execute, and terminate processes; manage process states
    Memory ManagementAllocate/de-allocate memory, memory protection, virtual memory
    File ManagementCreate, organize, protect, store, and retrieve files

    In conclusion, the operating system serves as the backbone of a computer system. Its objectives are to provide convenience, efficiency, security, and proper resource management. Through process management, memory management, and file management, the OS ensures that all hardware and software resources are used optimally and that multiple users and programs can work simultaneously without conflict.

  3. 310 marksDatabase System ArchitecturesAnswer

    What is data model? How ER-Model can be used to create conceptual data model? Explain with example.[10]

    A data model describes a way to design a database at the physical, logical, and view level. It provides a structured way to represent data, the relationships among data, and the constraints that govern the data. A data model serves as a ...

  4. 45 marksThe Computer SystemAnswer

    What is computer system? Discuss components of computer system. [5]

    A computer system is a combination of hardware, software, and related components that work together to accept data as input, process it, store it, and produce meaningful output. It is an integrated set of components capable of performing...

  5. 55 marksInterconnecting the Units of a ComputerAnswer

    Why bus is used in computer? How control bus differs from data bus? [5]

    --- A bus is a set of parallel communication lines (wires) that transfer data, addresses, and control signals between the components of a computer system (CPU, memory, and I/O devices). 1. Shared Communication Path: Instead of having sep...

  6. 65 marksNumericalMagnetic TapeAnswer

    How many numbers of bits are equivalent 1 Kilobyte? Discuss the working mechanism of magnetic tape. [5]

    • Unit to convert: 1 Kilobyte - Standard relations: 1 Byte = 8 bits, 1 Kilobyte = 1024 Bytes --- Standard unit relations: Unit Relation ---------------- 1 Bit Smallest unit (0 or 1) 1 Byte = 8 bits 1 Kilobyte (KB) = 1024 Bytes Calculatio...
  7. 75 marksOutput DevicesAnswer

    Mention the use of plotter. How quality of printer is determined? [5]

    A plotter is a hard copy output device used to produce high-quality drawings, diagrams, and graphical output on paper or other surfaces. The main uses of a plotter are: 1. Engineering Drawings: Plotters are widely used by engineers to pr...

  8. 85 marksIntroduction to Internet of ThingsAnswer

    What do you mean by Internet of Things (IoT)? As an IT expert, mention the possible applications of IoT that you have observed in Nepal. [5]

    Internet of Things (IoT) refers to the network of physical devices, vehicles, appliances, and other objects embedded with sensors, software, and connectivity that enables them to collect and exchange data over the internet without requir...

  9. 95 marksSecurity ServicesAnswer

    Define each of the terms confidentiality, integrity, and authentication. [5]

    Confidentiality is the security property that allows only authorized users to access sensitive and protected data. It ensures that unauthorized users are blocked from viewing or obtaining information they are not permitted to access. - I...

  10. 105 marksMultimedia ApplicationsAnswer

    What is multimedia? Discuss the applications of multimedia. [5]

    Multimedia is the integration or combination of multiple forms of content and media elements such as text, graphics, audio, video, and animation to convey information in an interactive and engaging manner. It is used to present informati...

  11. 115 marksIntroduction to Data Warehousing, Data minAnswer

    What is BigData? How centralization database is different than the distributed database? [5]

    --- Big Data refers to extremely large volumes of data that cannot be processed or managed by traditional database management systems due to their massive size, high speed of generation, and variety of formats. Big Data is commonly chara...

  12. 125 marksNumericalConversion from Decimal to Binary, Octal, Answer

    Convert $(10.4)_{10}$ to binary. Add $(10111)_2$ with $(01111)_2$. [5]

    • Decimal number to convert: $(10.4){10}$ - Binary numbers to add: $(10111)2$ and $(01111)2$ --- Divide by 2 repeatedly: Division Quotient Remainder ------------------------------- 10 ÷ 2 5 0 5 ÷ 2 2 1 2 ÷ 2 1 0 1 ÷ 2 0 1 Reading bottom ...