S4 Computer Systems Flashcards

1
Q

What is a computer system?

A

A combination of hardware and software designed to input, process, store and output data.

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

What is hardware?

A

The physical components of a computer system such as the CPU, memory, and peripherals.

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

What is software?

A

The programmes and operating systems that run and hardware on perform tasks.

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

How do hardware and software work together?

A

Hardware provides the physical platform, while software runs on it to perform tasks. Software depends on hardware to function, and hardware is useless without software.

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

Draw the NOT gate

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

Draw the AND gate

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

Draw the OR gate

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

Draw the XOR gate

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

What does the NOT gate do?

A

It inverts the input:

If input = 1, output = 0
If input = 0, output = 1

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

What does the AND gate do?

A

It outputs 1 only if both inputs are 1.

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

What does the OR gate do?

A

It outputs 1 if at least one input is 1.

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

What does the XOR gate do?

A

It outputs 1 if only one of the inputs is 1, but not both.

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

Boolean algebra for a NOT gate?

A

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

Boolean algebra for an AND gate?

A

A * B

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

Boolean algebra for an OR gate?

A

A + B

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

Boolean algebra for an XOR gate?

A

A ⊕ B

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

What is system software?

A

Software that manages hardware and provides a platform for application software, e.g., operating systems and utility programs.

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

Describe the term application software

A

software that performs end-user tasks

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

Describe the term system software

A
  • Manages computer hardware;
  • Manages application software;
  • Manages a computer (system);
  • Manages the operation of the computer (system);
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

What are the key functions of an operating system?

A
  • Processor management (allocates CPU time)
  • Memory management (manages RAM and virtual memory)
  • Device management (controls input/output devices)
  • Application management (runs software)
  • Security management (user authentication, firewalls)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

What is an Operating System?

A

An operating system (OS) is software that manages computer hardware and software resources and provides services for computer programs.

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

Examples of Operating Systems

A

Windows (Microsoft), macOS (Apple), Linux (Open-source), Android (Google – Mobile OS), iOS (Apple – Mobile OS).

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

What is an operating system (OS)?

A

A set of programs that manage a computer’s hardware and software.

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

What are the five key management functions of an OS?

A

Processor management, Memory management, I/O device management, Application management, Security management.

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

How does an OS manage the processor?

A

It allocates CPU time to tasks, switching between them using time slices in a multitasking system.

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

What happens when a computer has multiple processor cores?

A

The OS distributes tasks across cores to improve efficiency.

27
Q

How does an OS manage memory?

A

It allocates memory to programs and files, ensuring efficient use of RAM.

28
Q

What happens when a program is closed?

A

The OS frees up the allocated memory for other applications.

29
Q

What is an I/O device?

A

Any device that inputs or outputs data (e.g., keyboard, mouse, printer, monitor).

30
Q

How does the OS manage I/O devices?

A

It uses device drivers to translate data between the hardware and software.

31
Q

What is a device driver?

A

A small program that allows the OS to communicate with hardware devices.

32
Q

How does an OS manage applications?

A

It allocates memory & CPU time, allows applications to communicate, and provides a user interface.

33
Q

What is an API (Application Programming Interface)?

A

A system that allows applications to interact with the operating system.

34
Q

How does an OS handle security?

A

It controls access using passwords, user privileges, automatic updates, and encryption.

35
Q

How does an OS manage users on a network?

A

It tracks active users, logs user activity, and enforces access rights.

36
Q

What is an embedded system?

A

A computer system built into a device to perform a dedicated function.

37
Q

Give three examples of embedded systems.

A

Microwave ovens, traffic lights, smart meters.

38
Q

How do embedded systems differ from non-embedded systems?

A

Fixed purpose vs. general purpose, Stored in ROM and rarely updated, More reliable & efficient.

39
Q

What does encryption software do?

A

Converts data into ciphertext to prevent unauthorized access.

40
Q

Why are firewalls and antivirus software important?

A

They protect the system from viruses, malware, and hacking attempts.

41
Q

What is disk defragmentation?

A

A process that organizes fragmented files on a hard drive to improve speed.

42
Q

Why do SSDs not need defragmentation?

A

SSDs access data electronically, so fragmentation doesn’t slow them down.

43
Q

What does automatic updating do?

A

It downloads & installs security patches and software updates automatically.

44
Q

What does compression software do?

A

Reduces file size for storage or faster transmission.

45
Q

What are the two types of compression?

A

Lossy – Removes data permanently (e.g., JPEG). Lossless – Keeps all data (e.g., ZIP files).

46
Q

What are the two levels of programming languages?

A

High-level languages and low-level languages.

47
Q

What is the difference between high-level and low-level languages?

A

High-level: Easier for humans to read (e.g., Python). Low-level: Closer to machine code (e.g., Assembly).

48
Q

What are the two types of low-level languages?

A

Machine code and assembly language.

49
Q

Why are most programs written in high-level languages?

A

They are easier to write, debug, and maintain.

50
Q

What are the three types of program translators?

A

Compiler, interpreter, assembler.

51
Q

How does a compiler work?

A

Translates entire code at once, making execution faster.

52
Q

How does an interpreter work?

A

Translates line by line, allowing real-time debugging.

53
Q

What does an assembler do?

A

Converts assembly language into machine code (1:1 instruction mapping).

54
Q

What is the Von Neumann architecture?

A

A design model where a computer’s CPU fetches, decodes, and executes instructions stored in memory.

55
Q

What are the four major components of the CPU?

A

ALU, Control Unit, Registers, Bus.

56
Q

What is the function of the ALU (Arithmetic Logic Unit)?

A

Performs calculations and logical decisions.

57
Q

What is the function of the Control Unit (CU)?

A

Directs operations and controls the flow of data.

58
Q

What are the three steps of the Fetch-Execute cycle?

A

Fetch – Retrieves instruction from memory. Decode – Interprets the instruction. Execute – Carries out the operation.

59
Q

What are the four types of memory in a computer?

A

RAM, ROM, Cache, Registers.

60
Q

What’s the difference between RAM and ROM?

A

RAM: Volatile, temporary storage. ROM: Non-volatile, stores BIOS.

61
Q

What is the purpose of secondary storage?

A

Provides long-term data storage for programs and files.

62
Q

What are the three types of secondary storage?

A

Solid-state, optical, magnetic.

63
Q

How does cloud storage differ from local storage?

A

Data is stored remotely on servers instead of a physical device.