iExamWorld
Notes

Computer Knowledge

English · Free on iExamWorld

Computer Knowledge

Computer questions are mostly direct: definitions, shortcuts, conversions and security terms.

1. Computer Basics and Generations

A computer is an electronic device that accepts data (input), processes it according to instructions (processing), stores it (storage) and produces results (output). Charles Babbage is called the father of the computer for designing the Analytical Engine.

GenerationMain technologyFeatures
FirstVacuum tubesHuge size, high heat, machine language (e.g. ENIAC, UNIVAC)
SecondTransistorsSmaller, more reliable, assembly language and early high-level languages
ThirdIntegrated circuits (ICs)Keyboards, monitors and operating systems
FourthMicroprocessors (VLSI)Personal computers, GUIs and networking
FifthArtificial intelligence, parallel processingNatural language processing and expert systems

2. Central Processing Unit (CPU)

The CPU is the "brain" of the computer. It has three main parts:

  • Arithmetic Logic Unit (ALU): performs arithmetic (add, subtract and so on) and logical operations (compare, AND, OR, NOT).
  • Control Unit (CU): directs the flow of data and instructions. It fetches and decodes instructions but does not process data itself.
  • Registers: the smallest and fastest storage, inside the CPU. Examples are the Program Counter (address of the next instruction), the Instruction Register, the Accumulator and the Memory Address Register.

The CPU repeats the fetch–decode–execute cycle. Clock speed is measured in hertz (MHz or GHz).

3. Memory

  • Primary memory: RAM is volatile and read-write. SRAM is faster and used for cache; DRAM must be refreshed and is used as main memory. ROM is non-volatile and holds firmware such as the BIOS. Its types are PROM, EPROM (erased by UV light) and EEPROM (erased electrically; flash memory is a form of it).
  • Cache memory: a small, very fast memory between the CPU and RAM.
  • Secondary memory: non-volatile, large-capacity storage such as hard disks, SSDs, optical discs (CD, DVD, Blu-ray) and pen drives.
UnitEquals
1 nibble4 bits
1 byte8 bits
1 kilobyte (KB)1024 bytes
1 MB / 1 GB / 1 TB1024 KB / 1024 MB / 1024 GB
1 PB1024 TB

4. Input and Output Devices

  • Input: keyboard, mouse, scanner, joystick, light pen, microphone, webcam, barcode reader, MICR (reads the magnetic-ink characters on cheques), OCR (optical character recognition) and OMR (optical mark reader, used for answer sheets).
  • Output: monitor, printer, plotter, speaker and projector. Impact printers include dot-matrix printers; non-impact printers include inkjet and laser printers.

5. Software and Operating Systems

  • System software: operating systems, device drivers and utilities such as antivirus and disk tools.
  • Application software: word processors, spreadsheets, browsers and so on.
  • Language translators: a compiler translates the whole program at once; an interpreter translates and runs it line by line; an assembler converts assembly language into machine code.

The operating system manages the processor, memory, files and devices, and gives the user an interface (CLI or GUI). Examples include Windows, Linux, macOS, Android and iOS.

6. MS Office Essentials

MS Word is a word processor with mail merge, track changes, headers and footers, styles and a spelling checker. MS Excel is a spreadsheet in which a cell is identified by column letter and row number (e.g. B4), a file is a workbook and each sheet is a worksheet. Since Excel 2007 a worksheet has 1,048,576 rows and 16,384 columns (the last column is XFD). Every formula begins with "=". MS PowerPoint creates presentations made of slides, with transitions (between slides), animations (on objects) and a Slide Master.

ShortcutAction
Ctrl + C / X / VCopy / Cut / Paste
Ctrl + Z / YUndo / Redo
Ctrl + B / I / UBold / Italic / Underline
Ctrl + S / O / N / PSave / Open / New / Print
Ctrl + ASelect all
Ctrl + F / HFind / Replace
Ctrl + L / E / R / J (Word)Align left / Centre / Align right / Justify
Ctrl + Enter (Word)Insert page break
F7Spelling and grammar check
F2 (Excel)Edit the active cell
Ctrl + ; (Excel)Insert the current date
Alt + Enter (Excel)New line within a cell
F5 / Shift + F5 (PowerPoint)Slide show from the beginning / from the current slide

7. Networking

  • LAN covers a building or campus; MAN covers a city; WAN covers countries (the Internet is the largest WAN). A PAN links personal devices, for example over Bluetooth.
  • Topologies: bus (a single backbone cable), star (all nodes connect to a central hub or switch, so one cable failure does not stop the network), ring (each node connects to two neighbours), mesh (many redundant links, highly reliable) and tree (hierarchical star).
  • Devices: a hub broadcasts to all ports; a switch forwards frames using MAC addresses; a router connects different networks using IP addresses; a modem converts between digital and analog signals; a gateway connects networks that use different protocols.
  • The OSI model has seven layers: Physical, Data Link, Network, Transport, Session, Presentation and Application.
ProtocolPurposeDefault port
HTTP / HTTPSTransfer web pages; HTTPS adds TLS encryption80 / 443
FTPFile transfer20, 21
SMTPSending email25
POP3Downloading email to one device110
IMAPReading email kept in sync on the server143
DNSTranslating domain names into IP addresses53
DHCPAssigning IP addresses automatically67, 68

IP addressing: an IPv4 address is 32 bits, written as four decimal numbers from 0 to 255 (e.g. 192.168.1.1). An IPv6 address is 128 bits, written as eight groups of hexadecimal digits separated by colons.

8. Internet Terms

  • WWW: a system of linked web pages, created by Tim Berners-Lee. A URL is the address of a web resource.
  • Intranet is a private network for one organisation; an extranet extends it to selected outside users.
  • Email fields: To, CC (carbon copy) and BCC (blind carbon copy; other recipients cannot see these addresses).

9. Number Systems

The four common systems are binary (base 2), octal (base 8), decimal (base 10) and hexadecimal (base 16, using digits 0–9 and letters A–F, where A = 10 and F = 15).

  • Decimal to binary: divide repeatedly by 2 and read the remainders from bottom to top. For 156 the remainders are 0, 0, 1, 1, 1, 0, 0, 1, which read upward give 156 (decimal) = 10011100 (binary). Check: 128 + 16 + 8 + 4 = 156.
  • Binary to decimal: 101101 = 32 + 0 + 8 + 4 + 0 + 1 = 45.
  • Decimal to octal: 156 ÷ 8 = 19 remainder 4; 19 ÷ 8 = 2 remainder 3; then 2. So 156 = 234 in octal. Check: 2×64 + 3×8 + 4 = 156.
  • Hexadecimal to decimal: 2F (hex) = 2×16 + 15 = 47. Also, 255 (decimal) = FF (hex).
  • Binary to hex and octal: group bits from the right. 11010110 split into fours is 1101 | 0110 = D6. Split into threes it is 011 | 010 | 110 = 326 (octal). Both equal 214 in decimal.
  • Complements: for 00101100, the 1's complement (flip every bit) is 11010011, and the 2's complement (1's complement + 1) is 11010100.

10. DBMS Basics

A Database Management System (DBMS) stores data in an organised way and controls access to it. In a relational DBMS, data sits in tables: a row is a tuple or record, and a column is an attribute or field.

  • Primary key: uniquely identifies each row and cannot be NULL.
  • Candidate key: any minimal set of columns that could serve as the primary key. The candidates not chosen are alternate keys.
  • Super key: any set of columns that uniquely identifies a row.
  • Foreign key: a column that refers to the primary key of another table and so links the two tables.
  • Composite key: a key made of two or more columns.

SQL command groups: DDL (CREATE, ALTER, DROP, TRUNCATE), DML (INSERT, UPDATE, DELETE), DQL (SELECT), DCL (GRANT, REVOKE) and TCL (COMMIT, ROLLBACK, SAVEPOINT).

11. Cyber Security

  • Virus: attaches itself to files and spreads when they are run. Worm: copies itself across networks without needing a host file.
  • Trojan horse: looks like useful software but carries hidden harmful code.
  • Ransomware: encrypts the victim's data and demands payment to unlock it.
  • Spyware and keyloggers secretly collect information and keystrokes. Adware shows unwanted adverts. A rootkit hides deep in the system to keep privileged access.
  • Phishing: fake emails or websites that trick users into revealing passwords, card details or OTPs. Over voice calls it is called vishing; over SMS, smishing.
  • Firewall: hardware or software that filters incoming and outgoing traffic according to set rules.
  • Encryption: turns plaintext into unreadable ciphertext. Symmetric encryption uses one shared key; asymmetric encryption uses a public and private key pair. A digital signature proves who sent a message and that it has not been altered.
  • Two-factor authentication (2FA): requires two different kinds of proof, such as something you know (a password) and something you have (an OTP on your phone).

Quick revision points

  • The CPU has three parts: ALU, Control Unit and registers.
  • Registers are faster than cache, which is faster than RAM, which is faster than secondary storage.
  • RAM is volatile; ROM is non-volatile and holds the BIOS.
  • 1 byte = 8 bits; 1 nibble = 4 bits; 1 KB = 1024 bytes.
  • A compiler translates the whole program; an interpreter works line by line.
  • MICR is used for cheques and OMR for answer sheets.
  • An Excel worksheet has 1,048,576 rows and 16,384 columns.
  • Ports: HTTP 80, HTTPS 443, SMTP 25, POP3 110, IMAP 143, DNS 53.
  • IPv4 addresses are 32 bits; IPv6 addresses are 128 bits.
  • The OSI model has 7 layers, from Physical to Application.
  • 156 (decimal) = 10011100 (binary) = 234 (octal); 2F (hex) = 47.
  • A primary key is unique and never NULL; a foreign key links two tables.
  • A worm spreads by itself; a Trojan disguises itself; ransomware encrypts data for money.
  • 2FA combines two kinds of proof, such as a password and an OTP.

These notes were written with AI assistance for iExamWorld, based on the official syllabus. Spotted a mistake? Tell us.

Computer Knowledge | iExamWorld