Computer Science Flashcards

1
Q

what is a computer?

the definition

A

A computer is a machine that processes data.

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

what is hardware?

definition

A

The physical parts of a computer.

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

What parts of a computer does hardware involve?

examples

A

Internal parts:

  • Motherboard
  • CPU

External devices:

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

What is software?

definition

A

The programs that run on a computer.

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

How many main categories of software are there and what are they called?

A

There are 2 main categories.

  • System software
  • Application Software (apps)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is system software?

definitions

A

Programs that are needed for the computer to function. (Includes the operating system)

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

What is the application software (apps)?

definition

A

Programs that enable a user to perform a specific task.

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

What does a computer need in order to function?

2 main things

A

hardware and software

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

what is an embedded system?

definition

A

An embedded system is a computer that is built into another device to control it.

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

What are examples of embedded systems?

AND

What is the purpose of the embedded system in the example?

A
  • washing machine
    Controls release of soap and water. Controls heater to heat water to a chosen temperature. Spins drum motor at a chosen speed for a set amount of time.
  • microwave
    Controls the temperature/ heat to keep it the same level as the user selected
  • Vending machine
    controls the release of contents / items. controls payment.
  • traffic lights
    controls coloured lights shown to symbolise when traffic should stop.
  • lifts
    controls the movement of the lift - whether it goes up or down to different floors due to the input of the user.
  • smart meter
    Measures amount of energy used.
  • Auto pilot
    controls altitude and direction depending on the input given by the user.
  • sat nav
    locates and uses satellites to find your location and controls where your pin point location is on the device. Controls where the line of travel shown goes depending on your destination.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What does CPU stand for?

AND

what is it like?
(ie if it was the human body, what would the CPU be?)

A

The central processing unit

it is like the “brain” of the computer

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

What is the CPU?

definition

A

The CPU is a microchip that sits in the middle of the motherboard and carries out (processes) instructions stored in memory by fetching them, decoding them and executing them one at a time.

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

What is CPU architecture?

A

the main components (internal parts) of the CPU and how they interact with each other.

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

who’s design is what most modern CPU’s are based on?

BONUS:

  • what was his profession?
  • when did he come up with the design? (year)
A

John Von Neumann

BONUS info:
he was a mathematician and came up with the design in 1945

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

how many main internal components in the CPU are there?

BONUS:
what are they?

A
1- the control unit
2- the clock
3- The arithmetic logic unit (ALU)
4 - registers
5- Buses
6- cache memory
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

what is the control unit?

definition

A

In the CPU

fetches instructions from memory. and decodes them one at a time. It also controls the flow of data between the parts of the CPU, main memory and input/output devices.

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

what is the clock?

definition

A

In the CPU

The clock synchronises all parts of the CPU by sending electronic pulses at a constant rate. The number of clock “ticks” per second is called the clock speed and is measured in Hertz.

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

What is the arithmetic logic unit?

definition

A

In the CPU

The ALU carries out arithmetic calculations such as addition, subtraction and binary shifts. It can also do logical comparisons such as “greater than”, “less than”, AND, OR and NOT.

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

What are the registers called and are?

definitions and what they are

A

In the CPU.

Registers are small pieces of internal memory which hold instructions, data or memory addresses that are currently being used by the CPU.

  • program counter
  • MAR (memory address registers)
  • MDR (memory data register)
  • accumulator
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

In the CPU register what is the
program counter?
(definition)

A

holds the memory address of the next instruction to be executed.

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

In the CPU register what is the MAR?

what it stands for and definition

A

Memory address register

holds the memory address of the next instruction to be fetched

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

In the CPU register what is the MDR?

what it stands for and definition

A

memory data register

temporarily stores data fetched from main memory

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

In the CPU register what is the accumulator?

definition

A

temporarily stores the result of calculations completed by the ALU until they can be saved to main memory.

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

In the CPU what is a bus?

definition

A

A bus is a high speed internal connection.

Buses are used to send memory addresses, control signals and data between the processor and other components.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
What is cache memory? | definition
In the CPU. Cache memory is a small amount of very fast memory built into a CPU to store frequently used instructions. This can save time by preventing the CPU from having to fetch a common instruction from slower main memory (RAM) every time it needs it.
26
How does the CPU follow simple instructions?
by following the Fetch, Decode, Execute cycle.
27
what is fetch? | what happens / is the process?
Fetch, decode, execute cycle. - memory address of the next instruction is copied from program counter to MAR. - Instruction held in memory at this address is transferred to MDR. - Program counter is incremented (increased by one) so its pointing to next instruction ready for next cycle.
28
what is decode? | what happens / is the process?
Fetch, decode, execute cycle. control unit splits instruction stored in MDR into 2 parts called opcode ( instruction itself) and operand (data or memory address to use).
29
what is execute? | what happens / is the process?
Fetch, decode, execute cycle. Instruction is performed (could involve loading data from memory into register, calculating something with ALU and accumulator, or saving data from a register back into memory).
30
what is main memory also sometimes known as?
``` system memory OR primary storage OR random access memory (RAM) ```
31
what does RAM stand for?
Random Access Memory
32
what are both RAM and cache memory? | something that happens with both of them, not definitions
Volitile
33
what does volatile mean?
loose all stored data if power is turned off or if computer is shut down.
34
What does ROM stand for?
Read only memory
35
what happens when you boot a computer up with ROM? | (why is ROM needed?
When computer first switched on, RAM is empty (volatile) so CPU no instructions ROM solves this problem. it is a small microchip fitted to motherboard with just a few instructions to follow when computer first switched on
36
What is ROM? - non volatile - stands for and meaning
- non volatile, instructions always be available even if computer been off - read only memory, instructions cannot (easily) be changed or updated
37
what are first instructions in ROM called?
start up / boot up sequence SOMETIMES known as bootstrap loader
38
what does ROM start up sequence contain?
- simple hardware tests - controls for basic input/output devices - instructions to load operating system from secondary storage device to main memory
39
what is virtual memory known as?
fake RAM
40
what is virtual memory used for?
- RAM is limited in size so can be full, in some computers it will stop it from working - other computers can move data that hasn’t been used recently from RAM to a location on secondary storage (usually HDD) called Virtual memory so can carry on working - CPU can’t directly access data thats been moved to virtual memory, so data must first moved back to RAM before being used, so virtual memory makes computers slower when in use
41
System performance. | CPU clock speed - what is it?
- synchronises all parts of CPU by sending electronic pulses at constant rate. Number of clock ticks per second called clock speed and is measured in hertz.
42
what is number of clock ticks in CPU clock called and measured in?
clock speed | Hertz
43
CPU clock speed how many instructions can a CPU with a clock speed of 2 Gigahertz process every second? (fetch decode execute cycle)
2 billion
44
what is affected / added when there is a higher number of CPU cores?
adding another core to CPU allows it to process MORE THAN ONE INSTRUCTION AT THE SAME TIME.
45
What is CPU cache memory and what is it used for - what does this allow?
small amount of high speed memory built directly within the processor used to temporarily hold data and instructions that the CPU is likely to resuse allows for faster processing as CPU does not have to wait for data and instructions to be fetched from main memory
46
what does the amount of RAM affect?
a limited amount of RAM means computer also be limited in NUMBER OF APPLICATIONS that it can run at one time
47
what does GPU stand for and what is needed in order to run it?
graphics processing unit requires a lot of processing due to complex math involved to help CPU carry out some of the processing a specialist GRAPHICS PROCESSING UNIT (GPU) microchip can be added to a computer system
48
GPU stands for...
Graphics Processing Unit
49
what does SSD stand for and what does it do?
Solid state secondary storage transfers data much faster than older storage systems ie magnetic hard disk drives
50
why do computers need secondary storage?
non volatile storage of data and instructions. for long term storage of data, it must be saved by transferring it from volatile RAM into some form of non volatile secondary storage
51
what are the categories of secondary storage?
solid state optical magnetic
52
what is solid state? (examples)
category of secondary storage solid state storage devices, such as USB sticks or solid state drives
53
examples of optical
category of secondary storage CD DVD Blu-Ray discs
54
examples of magnetic
category of secondary storage floppy discs hard disc drives
55
characteristics of solid state storage
- made of silicon microchips (flash memory) - can be written to and overwritten like RAM - non volatile - no moving parts - small fast and durable
56
advantage of solid state storage
- small and lightweight (portable) - very fast data transfer speeds - durable and reliable (no moving parts) - low power consumption
57
disadvantages of solid state storage
- expensive - limited storage capacity - limited number of write cycles
58
common uses of solid state storage
- USB memory sticks - memory cards (digital cameras, games etc.) - internal storage for smartphones and tablets - SSDs are increasingly being installed in laptop and desktop computers
59
characteristics of optical secondary storage
- use a laser to scan surface of spinning disc made from metal and plastic. THERE ARE TWO TYPES: - read only have data pre printed on them - rewritable discs are blank
60
advantages of optical storage
- cheap to produce | - small and lightweight (portable)
61
disadvantages of optical storage
- easily scratched (not very durable) - very sensitive to movement - limited storage capacity
62
common uses of optical storage
- digital music (CD) - digital video (DVD and Blu-Ray) - video games (eg. PlayStation)
63
Characteristics of magnetic storage
- relatively old technology - includes tapes and floppy discs - tape or disk is coated with material that can be magnetised and tape drive or disk drive uses electromagnet to read and write data
64
advantages of magnetic storage
- high storage capacity - relatively low cost - reliable (if kept still)
65
disadvantages of magnetic storage
- bulky (not very portable) - slow data transfer speeds - very sensitive to movement (contains many moving parts) - high power consumption
66
common uses of magnetic storage
- server storage (hard disk drives) | - server backup (magnetic tapes)
67
What is an operating system?
OS for short | system software that provides an important link between the computer hardware and the person using it.
68
What are the 5 important functions of an operating system?
- User interface - memory management and multi tasking - peripheral management and drivers - user management - file management
69
describe user interface / characteristics
operating system OS provides User Interface to allow user to interact with computer. - command line interface uses typed commands only - graphical user interface (GUI)
70
Describe role of memory management and multi tasking
Operating System runs application software.
71
describe role of peripheral management and drivers
operating system controls / communicates with peripheral devices
72
Describe role of user managment
operating system who can use the computer and what they can do with it + keeping computer secure ie. password etc
73
describe role of file managment
operating system computers store data in secondary storage files. FM is responsible for organising these files, allowing them to be renamed, moved and deleted. also be arranged into hierarchical structure using folders
74
what is utility software?
a system software (often included with an operating system) designed to MAINTAIN OR CONFIGURE A COMPUTER.
75
what are some examples of utility software?
- virus scanners - system cleanup - backup software - battery monitor - data compression - encryption software - disk defragmentation
76
what are virus scanners?
utility software inspects files on computer looking for viruses. This software will download an up-to-date list of known viruses to look for
77
what is system clean up?
utility software will attempt to delete files on a computer that are no longer needed to free up space.
78
what is backup software?
utility software regularly copies files from a computer to some external or online storage, to protect against data loss
79
what is battery monitor?
utility software used to manage the battery in a mobile computer, usually switching to low power mode when battery is nearly empty
80
what is data compression?
Utility software used to compress or decompress files files downloaded from internet are often compressed to speed up data transmission and so compression software needed to restore them to original size before use
81
what is encryption software?
utility software will scramble files so that even if they are stolen from a storage device they cannot be used
82
what is disk defragmentation?
utility software software will organise files (and the fragments of files) on a magnetic hard disk drive so that data can be accessed more quickly.