Computer Science

0.0(0)
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/100

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

101 Terms

1
New cards

What is secondary storage

It is the memory in which the computer can store the data or instructions which are not currently in use

2
New cards

List the main types of secondary storage

Hard Disk Drive, Solid State Drive, Compact Disk, Flash/USB Drive

3
New cards

What are input devices

Devices that allows users to input data into the computer

4
New cards

What are output devices

Peripherals that receive data from the computer

5
New cards

What is primary storage

It is the memory in which the computer can store the data or instructions that are currently in use

6
New cards

What are the 2 main types of primary storage

RAM - Random Access Memory

ROM - Read-Only Memory

7
New cards

What is a processor

It is a special component that processes data and instructions to control other components within the computer

8
New cards

Examples of hardware

Processors, secondary storage, primary storage, input/output devices

9
New cards

What are the 2 main types of processors

Central Processing Unit (CPU)

Graphics Processing Unit (GPU)

10
New cards

List types of computer systems

Embedded and general purpose

11
New cards

What is a general purpose system

A system capable of performing many different tasks

12
New cards

Examples of general purpose sysytem

PCs, Macs, Smartphones

13
New cards

What is an embedded system

A system built into another device to support its operation

14
New cards

Examples of embedded system

Washing machines, digital cameras

15
New cards

Advantages of high level languages

  • Makes it easier for us to program because they are human readable statements

  • Can be run on may different types of hardware (portable)

16
New cards

17
New cards

Advantages of low level languages

  • LLLs provide exact control over the central processing unit.

  • LLLs need less translation, and often lead to faster code which is useful for computers with low specifications such as embedded systems.

18
New cards

What is a translator

A special software that converts source code into executable binary.

19
New cards

List the types of translators

Compilers, interpreters and assemblers

20
New cards

What is a compiler

It is a kind of translator that converts high level language to executable machine code in one go

21
New cards

Pros of compilers

  1. They produce an executable program

  2. They hide the source code from the end user

22
New cards

Cons of compilers

  1. The compilation process can be very slow

23
New cards

What is an interpreter

It is a type of translator that converts high level language to executable machine code one line at a time

24
New cards

Pros of interpreters

  1. It will stop as soon as they encounter an error

  2. They are portable

25
New cards

Cons of interpreters

  1. It is slower than a compiled program

  2. They do not produce a compiled program file

26
New cards

What is an assembler

It is a type of software that converts assembly language into machine code

27
New cards

Pros of assemblers

  1. It provides exact control over the hardware

  2. it can be used on low specification machines

28
New cards

Cons of assemblers

  1. It s very difficult to use

  2. Needs deep technical knowledge of the CPU and memory

29
New cards

What is an assembly language

It is a type of low level language

30
New cards

What are transistors

They are electrical components made from semiconductor materials that can act as electrically- controlled switches

31
New cards

Uses of transistors

Used to temporarily store data e.g. primary storage, arranging into logic circuits

32
New cards

What are logic gates

A series of transistors connected together to give one or more outputs with each output being based on the input or combination of inputs supplied to it.

33
New cards

Examples of logic gates

AND, NOT, OR, NAND, NOR, XOR

34
New cards

What does the AND gate do

It will only output true if both of its inputs are true.

35
New cards

What does the OR gate do

It will output true if either or both of its inputs are true.

36
New cards

What does the NOT gate do

It takes one input and inverts it

37
New cards

What is the symbol for the AND operator

-

38
New cards

What is the symbol for the OR operator

+

39
New cards

What is the symbol for the NOT operator

Ā

40
New cards

What is an application software

A type of software that helps a user perform a given task.

41
New cards

Examples of application software

Word processors, web browsers and presentation software

42
New cards

What is a system software

It is a type of software that controls the hardware of the computer and the application software

43
New cards

What are the types of system software

OS, utility software, device drivers

44
New cards

What is an operating system (OS)

A type of system software that manages access to the hardware in the computer

45
New cards

List the purpose of an Operating system

Manages user interface (UI), manages I/O devices, manages memory, manages user authentication, manages distribution of CPU cycles, manages files.

46
New cards

What are device drivers

They are a type of system software that tells the OS how to use a piece of hardware

47
New cards

What is an utility software

A type of system software that performs maintenance tasks to make sure the operation of the system continues.

48
New cards

What are the 4 main types of utility software

Compression, backup. encryption and defragmentation

49
New cards

What is compression

The process of applying an algorithm to reduce space needed to represent a file or its contents

50
New cards

What is backup

The process of making copies of data that can be restored in an evet of data loss

51
New cards

What is encryption

The process designed to prevent unauthorized access to files by applying an algorithm to “scramble” data.

52
New cards

What is defragmentation

The process of improving hard disk performance by applying algorithm to recognize data

53
New cards

What are the 3 types of user interface

Graphical, Command Line and Window-Icon-Menu-Pointer

54
New cards

What is command line interface (CLI)

A type of user interface that controls the computer by texting commands using the keyboard

55
New cards

What is a window-icon-menu-pointer (WIMP)


The use of he use of Icons, Menus and a Pointer or cursor.

56
New cards

What is graphical user interface (GUI)

They are based on the WIMP paradigm or multi-touch interface

57
New cards

How are modern CPUs based (arranged)

They are based on Von Neumann architecture

58
New cards

What are the components of the Von Neumann architecture

ALU, CU and registers

59
New cards

What does the arithmetic and logic unit (ALU) do

It performs all the arithmetic and logic operations of the CPU e.g.

  • plus, minus, times and division

  • Comparisons of numbers

  • Boolean operations

60
New cards

What does the control unit (CU) do

  • Sends control signals to other parts of the CPU

  • Executes program instructions by following the fetch-decode-execute cycle

61
New cards

What is the CU made up of

Made up of the clock and decoder

62
New cards

What does the clock in the control unit do

Coordinates the CPU’s activity

63
New cards

What does the decoder in the CU do

Decodes program instructions

64
New cards

What are registers

They are tiny amounts of super-quick memory within the computer

65
New cards

What does the registers do

  • They are used to hold information needed for the CPU to work

  • Each register holds a specific information

66
New cards

What are the types of registers

Memory address registers (MAR), program counter (PC), accumulator (ACC), memory data register (MDD)

67
New cards

What does the MAR do

Holds the address of the location in memory where data is to be stored or retrieved

68
New cards

What does the program counter do (PC)

Holds the memory location address of the next instruction to be performed by the CPU

69
New cards

What does the ACC do

Holds the result of calculations and operations performed by the ALU

70
New cards

What dos the MDR do

It holds the data that has been retrieved from or is about to be stored in the memory

71
New cards

What is the fetch-execute-cycle (FDE)

The process the processor follows to retrieve instructions and data from memory.

72
New cards

What does the fetch stage do

  • The address of the next instruction to be processed is copied from the Program Counter (PC) to the Memory Address Register (MAR).

  • The PC is incremented to point to the next instruction that will be needed when the cycle starts again.

  • The instruction stored at the location held by the MAR is copied to the MDR.

73
New cards

What does the decode stage do

The CU decodes the instruction and sends control signals to the component within or outside the CPU that needs to act.

74
New cards

What does the execute stage do

The operation indicated by the instruction is performed buy the appropriate component

75
New cards

What are the factors affecting CPU performance

(Cores, cache size, clock speed,) - the main 3, cache type

76
New cards

What is a core

It is a processing unit within the CPU capable of processing instructions independently

77
New cards

How can a core help improve a CPU performance

Multiple cores allows a CPU to process multiple instructions at the same time

78
New cards

What is a cache

Small amount of RAM located on the CPU itself

79
New cards

How does cache help improve a CPU performance

More cache memory speeds up the processor

80
New cards

What does the CPU clock do

Sends a pulse at fixed intervals to trigger the next stage of the (FDE) cycle

81
New cards

How can a clock help improve a CPU performance

The higher the clock speed, the more pulses are sent per second so more instructions can be executed in the same amount of time

82
New cards

Features of RAM

  1. More expensive per unit capacity than secondary storage

  2. Any part of the memory can be accessed non-sequentially and quickly as any other part of the memory

  3. It is much faster to access than secondary storage e.g. HDD

  4. It is volatile

83
New cards

What is the meaning of volatile

It means it will loose its contents when power is lost

84
New cards

What is the meaning of non-volatile

It means it will keep its contents when power is lost

85
New cards

What are the 2 types of memory

Primary (main memory) and secondary storage

86
New cards

Features of ROM

  1. It is non-volatile

  2. It’s contents cannot be changed easily because it is often made from flash memory

  3. It stores only small programs that boots up the computer

  4. It is very fast to access

  5. It is expensive

  6. Tends to be very small

87
New cards
88
New cards
89
New cards
90
New cards
91
New cards
92
New cards
93
New cards

What is basic input output system (BIOS)

They are programs that starts up the computer

94
New cards

Examples of BIOS programs

  1. Load an OS

  2. Check the system for errors

95
New cards
96
New cards
97
New cards
98
New cards
99
New cards
100
New cards