Fundamentals of Computer Systems Flashcards

(32 cards)

1
Q

What is hardware?

A

The physical components of a computer system (monitor, keyboard)

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

What is software?

A

The programs and operating systems that run on hardware - they provide instructions on which tasks should be performed

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

System software is..

A

The software that manages and controls a computer system
Hides complexity of hardware from the user

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

Examples of system software

A

Operating systems, utility programs

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

What is application software?

A

Software that allows users to perform specific tasks

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

Example of application software..

A

Word processor, web browser.

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

System Software examples..

A
  • Operating System
  • Utility Programs
  • Library Programs
  • Translators
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What does the Operating System do?

A

It allows the user to control the computer whilst hiding its complexity.
- Manages memory
- Schedules
- Processes tasks
- Handles interrupts

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

What do utility programs do?

A

They perform “housekeeping” tasks
- Data backup
- Defragmentation
- Compression
- Encryption

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

What are library programs, what do they do?

A

They contain pre-written code that programmers use to perform common tasks
- Sorting lists

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

What do translators do?

A

They convert code from one programming language to another so that the processor can execute the instruction.

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

Role of OS?

A

Manages and controls resources, memory and processor scheduling

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

Examples of OS?

A

Windows, MacOS

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

Role of utility programs?

A

Optimises and organises the computer system

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

Examples of utility programs?

A

Defragmentation software, anti-virus software, task manager

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

Role of library programs?

A

Pre-written code to help programmers to perform tasks

17
Q

Examples of library programs?

A

.NetFramework
.NetCore

18
Q

What is the role of translators?

A

Converts code to different programming language so it can be understood

19
Q

Examples of translators?

A

Assembler, compiler and interpreter

20
Q

Half adder logic circuit?

21
Q

Half adder truth table?

22
Q

What does a half adder logic circuit do?

A

Takes two inputs and produces 2 outputs - a sum and carry.

23
Q

Full adder logic circuit? (Don’t have to draw)

24
Q

Full adder truth table?

25
What does a full adder do?
Takes in 3 inputs and produces 2 outputs - the sum and the carry.
26
What does an assembler do?
Convert assembly language to machine code
27
What does a compiler do?
It translates source code to machine code all at once
28
What does an interpreter do?
It translates source code to machine code line by line
29
When is it appropriate to use an interpreter over a compiler?
- When debugging code as it will stop once it hits an error, easier to find
30
When is it appropriate to use a compiler over a interpreter?
- Generally faster to execute compiled code as it's translated ahead of time - No need to keep retranslating code
31
What is bytecode?
A platform-independent intermediate language generated by some compilers.
32
Why do we use bytecode?
To enhance portability and allow execution on multiple platforms via a virtual machine.