Blog
Fundamentals of IT Past Paper 2013 – BS IT 1st Term UOS (IT-100)
University of Sargodha BS IT 1st term Fundamentals of IT (IT-100) paper, 2013 exam (80 marks, 2:30 hours). The paper has been retyped, and solved answers are given below for all 16 short questions and all six long questions, including file organisation, IP address classes, GUI and embedded operating systems, database models and the booting process.
Solved answers
Q1 – Short answers (16 × 2)
i. DMS and reprographics: A document management system stores, organises, indexes, versions and retrieves electronic documents and scanned images (e.g. SharePoint). Reprographics is the reproduction of documents and graphics by photocopying, scanning, printing and duplicating.
ii. Types of data processing: Batch processing (data collected and processed in groups, e.g. payroll), online/real-time processing (processed immediately, e.g. ATM), time-sharing, distributed processing (on several connected computers) and multiprocessing.
iii. Multidimensional database: A database that stores data as a cube with several dimensions (e.g. product × region × time) for fast analysis (OLAP), slicing, dicing and drill-down.
iv. Types of application software: General-purpose packages (word processors, spreadsheets, databases, presentation, graphics), special-purpose/custom software (payroll, banking, school management), and web/mobile apps; also classified as off-the-shelf, custom-made and open-source.
v. Special-purpose keys: Keys that perform special actions rather than typing characters: Esc, Ctrl, Alt, Shift, Tab, Caps Lock, Enter, Backspace, Delete, Insert, Home, End, Page Up/Down, arrow keys and function keys F1–F12.
vi. Information processing cycle: Input → Processing → Output → Storage (with communication between them): data is entered, processed by the CPU, results are displayed/printed and saved for later use.
vii. Peripheral: Any external device connected to the computer that is not part of the CPU/main memory – input (keyboard, mouse, scanner), output (monitor, printer) or storage (external drives) devices.
viii. Technique used in paging: The OS divides programs into fixed-size pages and memory into frames; a page table maps pages to frames. With virtual memory, demand paging brings pages from disk only when needed (page swapping).
ix. OS security management: Through user accounts and passwords (authentication), file permissions and access control lists (authorisation), memory protection, firewalls, encryption, auditing/logs and updates/patches.
x. OS, utilities and application software: The application requests services (file saving, printing, memory) from the OS through system calls; the OS controls hardware for it. Utility programs (antivirus, backup, disk cleanup, compression) maintain the system so applications run smoothly and safely.
xi. Propagation modes in optical fibre: Single-mode (one light path, thin core, long distances) and multimode – step-index and graded-index (many light paths, thicker core, shorter distances).
xii. Plotter vs printer: Reasons: plotters draw very large drawings (A0, banners, maps) and produce precise continuous lines for engineering/architectural designs. Drawback: slow and expensive, and not suitable for ordinary text printing.
xiii. Bounded vs unbounded communication: Bounded (guided) media carry signals along a physical path – twisted pair, coaxial cable, optical fibre. Unbounded (unguided/wireless) media send signals through air/space – radio, microwave, satellite, infrared.
xiv. Packet switching: Data is divided into small packets, each with a header (source, destination, sequence number); packets travel independently over shared links and are reassembled at the destination (used by the internet).
xv. Why DBMS reduces development time: Because the DBMS already provides data definition, storage, query language (SQL), security, backup, concurrency and integrity, programmers do not have to write file-handling code for each application; data is shared and program–data independent.
xvi. Application Service Provider (ASP): A company that provides software applications to customers over the internet on a subscription/rental basis instead of installing them locally. Types: enterprise ASPs, local/regional ASPs, specialist (functional) ASPs, vertical-market ASPs and volume-business ASPs.
Q2 – File processing system
A file processing system stores data in separate files, each created and managed by its own application programs (e.g. payroll files, student files), without a central DBMS.
Types of file organisation:
- Sequential: records stored one after another in key order; read from the beginning – good for batch processing (payroll, tapes), slow for finding one record.
- Direct/random (hashed): a hashing function converts the key into a disk address, so any record is accessed directly – fast lookups (airline reservations).
- Indexed sequential (ISAM): records stored sequentially plus an index of keys and addresses, allowing both sequential and direct access.
- Heap (pile): records stored in arrival order with no particular order.
Disadvantages: data redundancy (same data in many files) and inconsistency; difficult access to data for new queries; data isolation (different formats); integrity problems; atomicity problems after failures; concurrent-access anomalies; security problems; program–data dependence (changing a file structure requires changing programs); high maintenance cost.
Q3 – IP addresses and classes
An IP address is a logical numeric address that identifies a device on a network. IPv4 addresses are 32 bits written as four decimal octets (dotted decimal), e.g. 192.168.1.10. Each address has a network part and a host part. IPv6 uses 128 bits (e.g. 2001:db8::1).
| Class | First octet | Leading bits | Default mask | Networks / hosts | Example |
|---|---|---|---|---|---|
| A | 1 – 126 | 0 | 255.0.0.0 (/8) | 126 networks, 16,777,214 hosts each | 10.0.0.1 |
| B | 128 – 191 | 10 | 255.255.0.0 (/16) | 16,384 networks, 65,534 hosts each | 172.16.5.4 |
| C | 192 – 223 | 110 | 255.255.255.0 (/24) | 2,097,152 networks, 254 hosts each | 192.168.1.10 |
| D | 224 – 239 | 1110 | – | Multicast | 224.0.0.5 |
| E | 240 – 255 | 1111 | – | Experimental/reserved | – |
127.x.x.x is reserved for loopback (127.0.0.1). Private ranges: 10.0.0.0/8, 172.16.0.0–172.31.255.255, 192.168.0.0/16. Today classless addressing (CIDR, e.g. 192.168.1.0/26) and subnetting are used to avoid wasting addresses.
Q4 – GUI operating systems and embedded OS
A GUI-based operating system lets users interact through graphical elements – windows, icons, menus and a pointer (WIMP) – instead of typed commands. It is easy to learn and supports multitasking and multimedia. Examples: Microsoft Windows, macOS, Linux desktops (Ubuntu with GNOME/KDE), and mobile GUIs such as Android and iOS.
An embedded operating system is a small, specialised OS stored in ROM/flash of a device that performs dedicated functions with limited memory and power, often in real time. Examples: Windows Embedded/IoT, embedded Linux, VxWorks, FreeRTOS, QNX, Symbian; used in ATMs, washing machines, cars, routers, medical devices and smart TVs.
Q5 – Techniques for developing web pages
- Hand-coding with HTML and CSS in a text editor (Notepad++, VS Code) – HTML gives structure, CSS gives presentation and layout.
- Client-side scripting – JavaScript (and libraries like jQuery, React) for interactivity and validation.
- Server-side scripting – PHP, ASP.NET, JSP, Python, Node.js with databases (MySQL) to create dynamic pages.
- WYSIWYG web authoring tools – Adobe Dreamweaver, Microsoft Expression Web/FrontPage – design visually and the tool generates code.
- Content management systems – WordPress, Joomla, Drupal – build sites using themes and plugins without much coding.
- Website builders and templates – Wix, Google Sites; and responsive frameworks such as Bootstrap.
- Other techniques: XML/XHTML, multimedia (Flash in the past, now HTML5 audio/video), and web graphics tools (Photoshop).
Q6 – Database models and database users
- Hierarchical model: data organised as a tree with parent–child (one-to-many) relationships, e.g. IBM IMS.
- Network model: records connected by links forming a graph; allows many-to-many relationships (CODASYL).
- Relational model: data stored in tables (relations) with rows and columns, linked by keys and queried with SQL – Oracle, MySQL, SQL Server.
- Object-oriented model: data stored as objects with attributes and methods.
- Others: entity–relationship (design), object-relational, NoSQL (document, key-value, graph) and multidimensional models.
Database users: database administrator (DBA – manages security, backup, performance), database designers (design schema), application programmers (write programs that use the database), end users – casual (ad-hoc queries), naïve/parametric (use ready-made forms, e.g. bank tellers), sophisticated (analysts) and stand-alone users – and system analysts.
Q7 – Booting process and DOS
- Power on: the power supply sends power and the CPU starts executing the BIOS/UEFI program in ROM.
- POST (Power-On Self-Test): the BIOS checks RAM, keyboard, video and drives; errors are reported by beep codes or messages.
- Find boot device: the BIOS checks the boot order (hard disk, USB, CD) and reads the boot sector (MBR) / EFI boot loader.
- Load boot loader: the boot loader (e.g. Windows Boot Manager, GRUB) loads the OS kernel into memory.
- Kernel initialisation: the kernel loads drivers, initialises memory and processes and reads configuration files (CONFIG.SYS, AUTOEXEC.BAT in DOS; registry in Windows).
- User interface: the shell/GUI and login screen are displayed – the computer is ready.
Booting from power-off is a cold boot; restarting a running computer is a warm boot.
DOS (Disk Operating System): e.g. MS-DOS (1981) is a single-user, single-tasking, command-line OS for IBM PCs. Users type commands at the prompt (C:\>) such as DIR, COPY, DEL, CD, MD, FORMAT. Its core files are IO.SYS, MSDOS.SYS and COMMAND.COM; it uses the FAT file system and could directly address only 640 KB of conventional memory. It formed the base of early Windows versions.
