Mrs Roberts Comp Sci Flashcards

(63 cards)

1
Q

What is a Computer

A

A combination of hardware, software, user and data

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

Why was the Von Neumann computer architecture made?

A

To allow not only data to be stored in the memory but also the program processing the data

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

What are the 3 main parts of the Von Neumann computer architecture

A

1) The ALU (Arithmetic Logic Unit)
2) The Registers
3) The CU (Control Unit)

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

What is the CPU in a computer / what does it do

A

The CPU (Central Processing Unit) is the brain of the computer which executes programs, manages the hardware of the computer and gets data & instructions from memory

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

What is the fetch-decode-execute cycle

A

The fetch-decode-execute cycle describes the process of getting data from memory, decoding the data and executing whatever process is in the data

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

What are the components of a Modern Computer

A

1) The CU (Control Unit)
2) The ALU (Arithmetic Logic Unit)
3) The Registers
4) The Buses
5) The Cache Memory

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

What is one issue with the Von Neumann computer architecture

A

Only one instruction can be processed at once

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

What are the factors that affect CPU (Central Processing Unit) performance

A

1) Material
2) Clock Speed (Faster clock = More cycles/s)
3) Cores (Each core is its own processor)
4) Cache Size
5) Word Size

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

Define Word Size

A

The maximum amount of bits a CPU can manipulate as one unit

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

What are the 3 bus types

A

1) Address bus (links CPU and RAM)
2) Data bus(The CPU puts ‘Fetch’ signals on this bus)
3) Control bus(sends signals to all the hardware)

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

What are the 3 types of memory

A

1) RAM (Random Access Memory)
2) ROM (Read Only Memory)
3) Cache

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

What are the characteristics of RAM

A

1) fast read & write access
2) Volatile (Contents destroyed when machine is powered down)
3) Used to store currently running programs

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

What are the characteristics of ROM

A

1) Larger than RAM
2) Non - Volatile
3) Stores important programs e.g. Boot strap loader or BIOS

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

What are the characteristics of Cache

A

1) Closer to the CPU than RAM
2) Faster than RAM
3) Volatile
4) Low capacity
5) Stores frequently used data

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

What is Virtual Memory

A

If there isn’t enough RAM available, hard drive space can be used as ‘pretend’ RAM which is much slower

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

What is Multi-tasking

A

The CPU manages several programs by swapping between them very quickly because it performs billions of instructions a second

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

What are all the Registers

A

1) Program Counter
2) Memory Address Register (MAR)
3) Memory Buffer Register (MBR)
4) Current Instruction Register (CIR)
5) Accumulator
6) Memory Data Register (MDR)

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

What are Embedded systems

A

A computer system with a dedicated function within a larger system

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

What is Parallel Processing

A

When a task is split into 2 or more processes to reduce processing/loading time

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

What are the types of Secondary Storage Devices

A

1) Magnetic
2) Optical
3) Solid State
4) Cloud-based

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

What are the characteristics of Magnetic Storage Devices

A

1) Reliable
2) High capacity at low cost
3) can be internal or external
4) Stores the OS, user data and programs

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

What are the positives of magnetic storage devices

A

1) Supports how computers work
2) High capacity
3) Fast read & write speeds
4) Non-Volatile
5) Cheap cost per megabyte

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

What are the negatives of Magnetic Storage devices

A

1) Slower than ROM
2) HDDs (Hard Disk Drives) can crash
3) Regular crashes damage the surface of the disk
4) Not easily transferred

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

What are the characteristics of Optical storage devices

A

1)Lasers are used to read and write to the disks
2) The laser is reflected back, then the light reflected can be read as a 1 or 0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
What are **Secondary Storage Devices**
Secondary Storage devices refer to any device that can store data in addition to the main memory
26
What are the different **Secondary Storage Devices**
1) External Hard Drive (Very Fast, cheap, small) 2) Third Party Provider (can be fast, data secure) 3) Flash Drive (Very fast, cheap, very small) 4) Magnetic Tape (Can be slow, cheap, small)
27
What are the characteristics of **Solid State Drives (SSD)**
1)Uses electronic circuits to store data 2) Sturdy & Quiet 3) High Capacity
28
What is Disk **Fragmentation**
Related data is split and stored on different parts of the disk
29
What is Disk **Defragmentation**
The Files are **physically re-arranged** on the disk to make **load times faster**
30
What are the 3 types of **Input, Output Devices**
1) Input Devices (Introduces new data to the computer) 2) Output Devices (Allows data to leave a computer, usually in a form intelligible by the user) 3) Hybrid (Performs both actions)
31
What are some **Input devices**
1) Microphone 2) Keyboard 3) Mouse 4) Cameras
32
What is a **Hybrid device**
Touch screens
33
What are some **Output Devices**
1) Visual Display Unit 2) Speakers 3) LED (Light Emitting Diode) 4) Printer
34
What is a **Bit**
The smallest unit of storage, represented by 1s and 0s
35
What is a **Byte**
Collection of 8 bits
36
What is a **Word**
Total number of bits that can be manipulated as one unit
37
How do you convert from **Binary** to **Denary**
Create an array like this: 128 64 32 16 8 4 2 1 1 0 0 1 0 1 0 1 then each value with a 1 underneath it is added together
38
What is **Hexadecimal**
Hexadecimal is a method of simplifying binary code to make it easier for humans to read
39
What is ASCII code
ASCII (American Standard Code for Information Interchange) is used to represent 7 bit patterns with lower and upper case characters
40
What is **Unicode**
The industry standard for encoding, representing and handling of text in the worlds writing systems
41
What are the 4 main data types
1) Boolean 2) String 3) Float 4) Integer
42
What are the rules of adding binary
1) 0 + 0 = 0 2) 1 + 0 = 1 3) 1 + 1 = 0 (Carry 1) 4) 1 + 1 + 1 = 1 (Carry 1)
43
What are floating point numbers
Floating point is a method of representing decimal / fractional numbers in binary
44
What are the 2 parts of a floating number
1) Mantissa (the actual binary number) 2) Exponent (The position of the binary point)
45
What is: 1) Ones Complement 2) Twos Complement
1) When the value of each bit in a byte is flipped 2) When the value of each bit in a byte is flipped and 1 is added to the number
46
How is floating point represented
In standard form e.g. 1.2x10^25
47
What is an AND gate
Outputs 1 is both inputs are 1
48
What is an OR gate
Outputs 1 if both or one of the inputs are 1
49
What is a NOT gate
Reverses the input
50
What is a XOR gate
Outputs 1 when only 1 input is 1
51
What is a NOR gate
Equivelent of an OR gate followed by a NOT gate
52
What is a NAND gate
Equivalent of an AND gate followed by a NOT gate
53
What are the boolean algebra representations of the gates
1) Y = A.B (AND) 2) Y = A + B (OR) 3) Y = A with a line on top (NOT) 4) Y = A ⊕ B
54
What are the simple AND identities
1) A.A = A 2) A.NOT A = 0 3) A.0 = 0 4) A.1 = A
55
What are the simple OR identities
1) A + A = A 2) A + NOT A = 1 3) A + 0 = A 4) A + 1 = 1
56
What is the method for multipling expressions in boolean algebra
(A+B).(C+D) = A.C+A.D+B.C+B.D
57
What are the advanced simplifications of boolean algebra
1) A + A.B = A.1 + A.B 2) A.1 + A.B = A.(1 + B) 3) (1 + B) = 1 4) A.(A + B) = A.A + A.B 5) A.A + A.B = A + A.B = A
58
What are protocols
Protocols are sets of rules that govern communications
59
What does TCP/IP stand for and what is its purpose
TCP/IP stands for Transmission Control Protocol / Internet Protocol and it controls how information is transferred between computers
60
What are the 4 layers of a packet (TCP/IP)
1) Application Layer - Data is encoded 2) Transport Layer - Data is split into packets and port num info is added 3) Network Layer - adds the IP address to say the source and destination of a packet 4) Data Link Layer - adds the MAC address info to specify the hardware a packet came from
61
What is batch processing
It involves collecting large groups of data over long periods of time and processing all the data at once
62
What are the characteristics of batch processing
1) Generally performed when the system is the least busy 2) Once running, it requires now further human input
63