Hardware and Software Flashcards

1
Q

What is the difference between hardware and software?

A

Hardware: Physical components of a computer (e.g., CPU, RAM).

Software: Programs or instructions that run on hardware (e.g., applications, operating systems).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the three types of software? Provide one example for each.

A

General-purpose software: Off-the-shelf software like Microsoft Word.

  1. Bespoke software: Custom-built software for specific needs, e.g., custom payroll systems.
  2. Special-purpose software: Designed for a narrow task, e.g., ATM software.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is one advantage and one disadvantage of off-the-shelf software?

A

Advantage: Cheaper and readily available.

Disadvantage: May not meet specific requirements.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is utility software, and name one example.

A

Utility software performs specific maintenance tasks, such as a virus scanner.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the three types of translator software and their functions?

A

Assembler: Converts assembly language into machine code.

  1. Interpreter: Converts high-level code line by line (e.g., JavaScript).
  2. Compiler: Converts the whole high-level code into machine code at once (e.g., C++).
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Name three key functions of an operating system.

A
  1. Efficient resource utilization.
  2. Memory management.
  3. Hides hardware complexities from the user.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Compare OS requirements for desktop PCs, mobile phones, and embedded systems.

A

Desktop PCs: Requires multitasking, large memory, and support for various peripherals.

Mobile Phones: Needs touch interfaces, mobile-friendly hardware, and power efficiency.

Embedded Systems: Minimal OS for specific tasks (e.g., a washing machine’s control system).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is a real-time operating system (RTOS)? Provide an example.

A

An OS designed for time-critical tasks. Example: Robotics or medical devices.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is virtual memory, and why is it used?

A

Virtual memory extends RAM by using storage as temporary memory to handle larger programs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the difference between multiprogramming and multitasking?

A

Multiprogramming: Running multiple programs seemingly simultaneously on multi-user systems.

Multitasking: Running multiple tasks on a single-user system

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What role does the operating system play in file management?

A

It keeps track of file locations and organizes data on secondary storage.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are two CPU scheduling techniques?

A
  1. Scheduling: Assigns CPU time based on priority or order.
  2. Round-robin: Gives each process equal, time-limited CPU access.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the role of a driver in a computer?

A

A driver allows the OS to communicate with hardware devices.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

How does an OS handle backing store management?

A

It transfers data between RAM and secondary storage and maintains directories for quick file location.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What does memory management involve?

A

Allocating and tracking RAM usage among processes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What are library programs and DLLs?

A

Libraries: Reusable code for common tasks, e.g., graphics engines.

DLLs: Dynamic Link Libraries containing routines to assist larger programs.