CSS NEXUS

Computer & IT · Topic 1

Hardware and software

Parts of a computer, memory, storage units and kinds of software.

Computer & IT

Learn first

Explanation

Learn the parts of a computer, the difference between kinds of memory, and the kinds of software.

History and parts

  • Charles Babbage is called the father of the computer (he designed the Analytical Engine); Ada Lovelace is called the first programmer.
  • The CPU is the "brain" of the computer; it has the arithmetic logic unit (ALU), the control unit (CU) and registers.
  • Input devices: keyboard, mouse, scanner, microphone. Output devices: monitor, printer, speakers.
  • Generations of computers: vacuum tubes, transistors, integrated circuits, microprocessors, and artificial intelligence.

Memory and storage

  • RAM is volatile: it loses its contents when the power goes off. ROM is non-volatile and holds start-up instructions.
  • Cache memory is the fastest memory and sits close to the CPU.
  • 1 byte = 8 bits; 1 kilobyte = 1,024 bytes; then megabyte, gigabyte, terabyte.
  • Hard disks (HDD) store data on spinning platters; solid-state drives (SSD) use flash memory and are faster.

Software

  • System software runs the computer (operating systems, drivers); application software does the user's tasks (word processors, browsers).
  • Firmware, such as the BIOS, is software stored permanently on hardware.
  • A compiler translates a whole program at once; an interpreter translates and runs it line by line.
  • Open-source software lets anyone read and change its source code.

Practise

Hardware and software MCQs

Try each question, then open the answer. MCQs 51–100 of 347.

51.How many keys does a standard full-size keyboard have?

  1. A. About 84
  2. B. About 104
  3. C. About 64
  4. D. About 120
Show answer

Answer: B. About 104

A standard Windows keyboard has 104 keys.

52.The common keyboard layout is called what, after its first six letters?

  1. A. ABCDEF
  2. B. DVORAK
  3. C. QWERTY
  4. D. AZERTY
Show answer

Answer: C. QWERTY

QWERTY is named after the top-left letters.

53.Which device reads marks on answer sheets, as in MCQ tests?

  1. A. OMR
  2. B. MICR
  3. C. OCR
  4. D. Barcode reader
Show answer

Answer: A. OMR

Optical Mark Recognition reads filled bubbles.

54.Which technology converts printed text in an image into editable text?

  1. A. OCR
  2. B. RFID
  3. C. OMR
  4. D. MICR
Show answer

Answer: A. OCR

Optical Character Recognition reads letters from images.

55.Which technology is used by banks to read cheque numbers?

  1. A. QR code
  2. B. OCR
  3. C. MICR
  4. D. OMR
Show answer

Answer: C. MICR

Magnetic Ink Character Recognition reads the numbers on cheques.

56.Which device reads the black-and-white bars on products?

  1. A. Light pen
  2. B. OMR reader
  3. C. Scanner only
  4. D. Barcode reader
Show answer

Answer: D. Barcode reader

Barcode readers scan product codes at checkouts.

57.The resolution of a monitor is measured in what?

  1. A. Pixels
  2. B. Dots per minute
  3. C. Bytes
  4. D. Hertz
Show answer

Answer: A. Pixels

Resolution is the number of pixels, such as 1920 × 1080.

58.What does "pixel" stand for?

  1. A. Print element
  2. B. Picture cell
  3. C. Picture element
  4. D. Pixel element
Show answer

Answer: C. Picture element

A pixel is the smallest dot of a digital image.

59.The quality of a printer is measured in what?

  1. A. DPI (dots per inch)
  2. B. Pixels per second
  3. C. PPM only
  4. D. Hertz
Show answer

Answer: A. DPI (dots per inch)

Print resolution is given in dots per inch.

60.Which printer uses a drum and toner?

  1. A. Thermal printer
  2. B. Dot-matrix printer
  3. C. Laser printer
  4. D. Inkjet printer
Show answer

Answer: C. Laser printer

Laser printers fuse toner powder onto paper.

61.Which printer strikes an inked ribbon with pins?

  1. A. Laser printer
  2. B. Dot-matrix printer
  3. C. Plotter
  4. D. Inkjet printer
Show answer

Answer: B. Dot-matrix printer

Dot-matrix printers are impact printers.

62.Which output device draws large engineering drawings and maps?

  1. A. Plotter
  2. B. Projector
  3. C. Inkjet printer
  4. D. Scanner
Show answer

Answer: A. Plotter

Plotters draw with pens or ink on large sheets.

63.What does LCD stand for?

  1. A. Light Colour Display
  2. B. Laser Crystal Display
  3. C. Liquid Colour Diode
  4. D. Liquid Crystal Display
Show answer

Answer: D. Liquid Crystal Display

LCD screens use liquid crystals.

64.What does UPS stand for?

  1. A. Uninterrupted Processing System
  2. B. Uninterruptible Power Supply
  3. C. Universal Power Source
  4. D. Unified Power System
Show answer

Answer: B. Uninterruptible Power Supply

A UPS supplies power from batteries during outages.

65.Which storage device has spinning magnetic platters?

  1. A. RAM
  2. B. USB flash drive
  3. C. Hard disk drive (HDD)
  4. D. Solid-state drive (SSD)
Show answer

Answer: C. Hard disk drive (HDD)

HDDs store data magnetically on spinning disks.

66.Which storage device has no moving parts and uses flash memory?

  1. A. Solid-state drive (SSD)
  2. B. Floppy disk
  3. C. Hard disk drive
  4. D. Magnetic tape
Show answer

Answer: A. Solid-state drive (SSD)

SSDs are faster and more robust than HDDs.

67.Which storage medium was commonly 1.44 MB in size?

  1. A. DVD
  2. B. 3.5-inch floppy disk
  3. C. USB drive
  4. D. CD
Show answer

Answer: B. 3.5-inch floppy disk

The standard 3.5-inch floppy held 1.44 MB.

68.About how much data does a standard CD hold?

  1. A. About 1.44 MB
  2. B. About 4.7 GB
  3. C. About 700 MB
  4. D. About 25 GB
Show answer

Answer: C. About 700 MB

A CD holds about 650–700 MB.

69.About how much data does a single-layer DVD hold?

  1. A. About 700 MB
  2. B. About 128 GB
  3. C. About 25 GB
  4. D. About 4.7 GB
Show answer

Answer: D. About 4.7 GB

A single-layer DVD holds 4.7 GB.

70.About how much data does a single-layer Blu-ray disc hold?

  1. A. About 700 MB
  2. B. About 1 TB
  3. C. About 4.7 GB
  4. D. About 25 GB
Show answer

Answer: D. About 25 GB

A single-layer Blu-ray holds 25 GB.

71.Which storage is often used for long-term backup of very large data in data centres?

  1. A. Floppy disk
  2. B. RAM
  3. C. CD-ROM
  4. D. Magnetic tape
Show answer

Answer: D. Magnetic tape

Tape is cheap and durable for archives.

72.What does USB stand for?

  1. A. Universal System Bus
  2. B. Uniform Storage Bus
  3. C. Universal Serial Bus
  4. D. United Serial Board
Show answer

Answer: C. Universal Serial Bus

USB connects devices to computers.

73.Which port is commonly used to connect a computer to a modern TV or monitor with sound?

  1. A. HDMI
  2. B. VGA
  3. C. PS/2
  4. D. Serial port
Show answer

Answer: A. HDMI

HDMI carries both video and audio.

74.What does BIOS stand for?

  1. A. Binary Input Output System
  2. B. Basic Input Output System
  3. C. Boot Input Output Software
  4. D. Basic Integrated Operating System
Show answer

Answer: B. Basic Input Output System

BIOS starts the hardware when the computer boots.

75.Software permanently stored in hardware, such as the BIOS, is called what?

  1. A. Firmware
  2. B. Freeware
  3. C. Shareware
  4. D. Malware
Show answer

Answer: A. Firmware

Firmware sits between hardware and software.

76.Which type of software manages the computer's hardware and resources?

  1. A. Application software
  2. B. System software
  3. C. Utility software only
  4. D. Freeware
Show answer

Answer: B. System software

Operating systems and drivers are system software.

77.A word processor is an example of which type of software?

  1. A. System software
  2. B. Middleware
  3. C. Firmware
  4. D. Application software
Show answer

Answer: D. Application software

Application software does tasks for the user.

78.Antivirus and disk clean-up programs are examples of what?

  1. A. Utility software
  2. B. Application software
  3. C. Operating systems
  4. D. Firmware
Show answer

Answer: A. Utility software

Utilities maintain and protect the computer.

79.A small program that lets the operating system control a hardware device is called what?

  1. A. Device driver
  2. B. Applet
  3. C. Firmware
  4. D. Compiler
Show answer

Answer: A. Device driver

Drivers let the OS talk to printers, graphics cards and so on.

80.Software that is free to use but whose code is not open is called what?

  1. A. Proprietary licence
  2. B. Shareware
  3. C. Freeware
  4. D. Open-source software
Show answer

Answer: C. Freeware

Freeware costs nothing but is not necessarily open source.

81.Software you can try free for a time before paying is called what?

  1. A. Malware
  2. B. Freeware
  3. C. Shareware
  4. D. Open source
Show answer

Answer: C. Shareware

Shareware is distributed on a try-before-you-buy basis.

82.Software whose source code anyone may read, change and share is called what?

  1. A. Shareware
  2. B. Freeware
  3. C. Proprietary software
  4. D. Open-source software
Show answer

Answer: D. Open-source software

Linux and Firefox are open source.

83.Which translator converts a whole high-level program into machine code at once?

  1. A. Compiler
  2. B. Assembler
  3. C. Linker
  4. D. Interpreter
Show answer

Answer: A. Compiler

A compiler translates the whole program before it runs.

84.Which translator converts and runs a program line by line?

  1. A. Compiler
  2. B. Interpreter
  3. C. Assembler
  4. D. Loader
Show answer

Answer: B. Interpreter

Python is commonly run by an interpreter.

85.Which translator converts assembly language into machine code?

  1. A. Assembler
  2. B. Compiler
  3. C. Interpreter
  4. D. Debugger
Show answer

Answer: A. Assembler

An assembler translates assembly mnemonics.

86.The language made of 0s and 1s that the CPU understands directly is called what?

  1. A. Assembly language
  2. B. Machine language
  3. C. High-level language
  4. D. Natural language
Show answer

Answer: B. Machine language

Machine language is binary code.

87.Which of these is a high-level programming language?

  1. A. Python
  2. B. Machine code
  3. C. Assembly
  4. D. Binary
Show answer

Answer: A. Python

High-level languages are close to human language.

88.Which programming language was developed by Dennis Ritchie?

  1. A. Java
  2. B. Python
  3. C. C
  4. D. BASIC
Show answer

Answer: C. C

Ritchie created C at Bell Labs in the early 1970s.

89.Who created the Python programming language?

  1. A. James Gosling
  2. B. Bjarne Stroustrup
  3. C. Guido van Rossum
  4. D. Dennis Ritchie
Show answer

Answer: C. Guido van Rossum

Python was first released in 1991.

90.Who created Java?

  1. A. Bjarne Stroustrup
  2. B. Dennis Ritchie
  3. C. Guido van Rossum
  4. D. James Gosling
Show answer

Answer: D. James Gosling

Java was developed at Sun Microsystems in 1995.

91.Who created C++?

  1. A. Ken Thompson
  2. B. Bjarne Stroustrup
  3. C. Dennis Ritchie
  4. D. James Gosling
Show answer

Answer: B. Bjarne Stroustrup

C++ extended C with classes.

92.Which language is mainly used to style web pages?

  1. A. HTML
  2. B. C
  3. C. CSS
  4. D. SQL
Show answer

Answer: C. CSS

CSS controls the look of web pages.

93.Which language is used to query databases?

  1. A. SQL
  2. B. HTML
  3. C. Java
  4. D. CSS
Show answer

Answer: A. SQL

Structured Query Language manages relational databases.

94.COBOL was designed mainly for which use?

  1. A. Web pages
  2. B. Scientific calculation
  3. C. Business data processing
  4. D. Artificial intelligence
Show answer

Answer: C. Business data processing

COBOL means Common Business-Oriented Language.

95.FORTRAN was designed mainly for which use?

  1. A. Web design
  2. B. Business records
  3. C. Databases
  4. D. Scientific and engineering calculation
Show answer

Answer: D. Scientific and engineering calculation

FORTRAN means Formula Translation.

96.An error in a program is called what?

  1. A. Virus
  2. B. Bug
  3. C. Byte
  4. D. Patch
Show answer

Answer: B. Bug

Finding and fixing errors is called debugging.

97.Who popularised the term "debugging" after a moth was found in a computer?

  1. A. Ada Lovelace
  2. B. Grace Hopper
  3. C. Charles Babbage
  4. D. Alan Turing
Show answer

Answer: B. Grace Hopper

Grace Hopper's team logged a moth found in the Harvard Mark II in 1947.

98.A step-by-step procedure to solve a problem is called what?

  1. A. Program
  2. B. Compiler
  3. C. Algorithm
  4. D. Flowchart
Show answer

Answer: C. Algorithm

Algorithms can be shown as flowcharts or pseudocode.

99.A diagram showing the steps of a program with shapes and arrows is called what?

  1. A. Algorithm
  2. B. Flowchart
  3. C. Pseudocode
  4. D. Spreadsheet
Show answer

Answer: B. Flowchart

Flowcharts use symbols such as ovals, rectangles and diamonds.

100.In a flowchart, which shape is used for a decision?

  1. A. Diamond
  2. B. Oval
  3. C. Parallelogram
  4. D. Rectangle
Show answer

Answer: A. Diamond

A diamond shows a yes/no decision.

Test yourself

Free timed quizzes

Each quiz has 50 MCQs from this topic and 50 minutes. A correct answer earns 1 mark and each wrong answer takes off 0.25; skipped questions score nothing. No password needed.

Next topicOperating systems

Tags

  • #Hardware and software
  • #Hardware and software MCQs
  • #Hardware and software MCQs with answers
  • #Hardware and software quiz
  • #Computer & IT MCQs
  • #Computer MCQs
  • #Computer Science MCQs
  • #IT MCQs
  • #Basic Computer MCQs
  • #MS Office MCQs
  • #Computer Shortcut Keys
  • #Networking MCQs
  • #Computer MCQs for PPSC
  • #Computer MCQs for FPSC
  • #General Knowledge
  • #GK MCQs
  • #GK for PPSC
  • #GK for FPSC
  • #GK for PMS
  • #PMS 2027
  • #CSS 2027
  • #PPSC
  • #FPSC
  • #NTS
  • #One Paper MCQs
  • #Competitive Exams Pakistan
  • #CSS Nexus