Introduction to ICT, Past Papers, University of the Punjab

Computer (Introduction & Applications) Past Paper Fall 2021 – BS 1st Semester Punjab University (COMP-111)

Semester1st
Year2021
Course codeCOMP-111
AnswersSolved ✓

University of the Punjab BS 4-year programme, first semester Fall 2021, Computer (Introduction and Applications) COMP-111 paper (60 marks, 3 hours). The question paper is the official University of the Punjab paper published on pu.edu.pk; it is retyped here and the answers are written by Shining Study. Solved answers cover all 15 short questions and the long questions on types of operating systems, database keys and bus interconnection.

Solved answers

Q1 – Short answers (15 × 2)

1. UPC (Universal Product Code). A standard 12-digit bar code printed on retail products; the digits identify the manufacturer and the product. A bar code scanner reads it at the checkout to fetch the price and update stock.

2. MICR. Magnetic Ink Character Recognition – characters printed with magnetic ink at the bottom of cheques (cheque number, bank code, account number) are read by an MICR reader; fast and hard to forge.

3. 3D sheets in Excel. Using several worksheets with the same layout as layers, and referring to the same cell across them in one formula (3-D reference), e.g. =SUM(Jan:Mar!B2) adds B2 of all sheets from Jan to Mar.

4. Artificial intelligence. The branch of computer science that makes machines perform tasks that need human intelligence – learning, reasoning, problem solving, understanding language and recognising images (e.g. chatbots, self-driving cars).

5. Record in a database. A record is one complete row of a table holding all fields about one entity – e.g. one student’s roll no, name, class and marks.

6. Average of B2 and B3. =AVERAGE(B2:B3) or =(B2+B3)/2.

7. Robot. A programmable machine that can sense, move and perform tasks automatically, often repetitive or dangerous ones – e.g. assembly-line robots, bomb-disposal robots.

8. Multiple OS on one disk. By dividing the disk into separate partitions, installing each OS on its own partition and using a boot manager (e.g. GRUB, Windows Boot Manager) to choose the OS at start-up (dual boot). Virtual machines are another way.

9. Multitasking vs multiprocessing. Multitasking: one CPU runs several tasks by rapidly switching between them. Multiprocessing: two or more CPUs (cores) execute tasks truly in parallel.

10. Pirated software. Software copied, distributed or used illegally without a licence from its owner; it violates copyright and often carries malware.

11. Computers in weather forecasting. Supercomputers process huge data from satellites, radars and weather stations and run numerical models to predict temperature, rain, storms and cyclones, and to issue early warnings.

12. E-commerce. Buying and selling goods and services over the internet with online payments – e.g. Daraz, Amazon; types B2C, B2B, C2C.

13. Why ROM is non-volatile. Its contents are permanently written during manufacture (or by special programming) and are not lost when power is switched off.

14. Purpose of the network layer. Layer 3 of the OSI model: logical (IP) addressing and routing of packets from source to destination across different networks; routers work at this layer.

15. Web page vs website. A web page is a single document with its own URL. A website is a collection of related web pages under one domain name, linked together (e.g. a home page, about page, contact page).

Q2 (1) – Types and features of operating systems

  • Batch OS – jobs grouped and run without user interaction.
  • Time-sharing / multitasking OS – CPU time divided among many users/tasks (Unix).
  • Real-time OS – responds within strict time limits (air-traffic, medical devices).
  • Distributed OS – manages a group of networked computers as one system.
  • Network OS – provides file/printer sharing and user management on a network (Windows Server).
  • Single-user and multi-user OS; mobile OS (Android, iOS); embedded OS.

Features / functions: process management (scheduling, multitasking); memory management (allocation, virtual memory); file management (create, delete, organise folders); device management through drivers; user interface (CLI/GUI); security and access control (passwords, permissions); networking; error detection; resource allocation and accounting.

Q2 (2) – Keys in a database

A key is an attribute or set of attributes used to uniquely identify a record and to build relationships between tables. Example table: Student(RollNo, CNIC, Email, Name, DeptID).

KeyMeaningExample
Super keyAny set of attributes that uniquely identifies a row{RollNo}, {RollNo, Name}, {CNIC}
Candidate keyMinimal super key (no extra attribute)RollNo, CNIC, Email
Primary keyCandidate key chosen to identify rows; unique and not nullRollNo
Alternate keyCandidate keys not chosen as primaryCNIC, Email
Foreign keyAttribute referring to the primary key of another tableDeptID → Department(DeptID)
Composite keyPrimary key made of two or more attributes{RollNo, CourseID} in Enrollment
Unique keyValues must be unique but may allow one NULLEmail

Q2 (3) – Bus interconnection and types of buses

A bus is a set of parallel wires/lines that carries data, addresses and control signals between the CPU, memory and I/O devices. Bus interconnection is the structure through which all these components communicate over shared buses.

  • Data bus – carries actual data; bidirectional; its width (8, 16, 32, 64 bits) decides how much data moves at once.
  • Address bus – carries memory/I-O addresses from the CPU; unidirectional; its width decides the maximum memory (32 lines → 2³² = 4 GB).
  • Control bus – carries control and timing signals such as memory read/write, interrupt, clock, bus request/grant.

Buses are also classified as system (internal) bus connecting CPU and memory, and expansion (external) buses connecting peripherals – ISA, PCI, PCI Express, USB, SATA.

Save this paper for offline studyDownload the question paper, or save the paper together with all solved answers as a PDF.
↓ Download Paper (JPG)

About Saif R

An educator and technology enthusiast passionate about empowering students through quality education and digital learning. Dedicated to making academic resources and opportunities accessible to everyone.