Computing Flashcards

1
Q

What is hardware?

A

Physical components that make up a computer system

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

What is software?

A

Programs or applications that a computer system runs

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

What is an embedded system?

A

A computer which is designed to perform 1 specific task

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

What are the advantages of an embedded system?

A
  • Easier to design
  • Cheaper to produce
  • More efficient at their task
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does the processing power of the CPU depend on?

A
  • Clock speed
  • Number of cores
  • Cache size
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does the CPU do?

A

Manages the fetch, decode, execute cycle. Also controls the flow of data inside the CPU

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

What does the ALU do?

A

Performs arithmetic and logical operations

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

What does cache do?

A

A very fast memory that temporarily stores data and instructions that the processor is likely to reuse

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

What does the program counter do?

A

Holds memory address of next instruction for each cycle

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

What does the accumulator do?

A

Stores results of calculations from the ALU

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

What does the MAR do?

A

Holds any memory address about to be used by the CPU

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

What does MDR do?

A

Holds the actual data or instruction, which is either fetched from memory or waiting to be written to memory

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

What is volatile memory?

A

Memory that requires power to retain its data

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

What does RAM do?

A

Holds data and instructions which are currently being used

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

What does ROM do?

A

Contains instructions a computer needs to properly boot up.

The instructions are known as BIOS (Basic Input Output System)

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

What is primary storage?

A

The memory areas that hold data currently being used. It has the fastest read/write speed.

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

What is secondary storage?

A

A non-volatile storage of data that’s not in use. Read/write speeds are slower than primary storage.

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

What are some examples of primary storage?

A
  • RAM
  • ROM
  • Cache
  • Flash memory
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

What are some examples of secondary storage?

A
  • Hard disk drives
  • USB memory sticks
  • Optical storage devices
  • Solid state devices
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

What are the functions of the operating system?

A
  • Communicate with internal and external hardware
  • Provide a user interface
  • Provide a platform for applications to run
  • Allow the computer to multitask by controlling memory resources
  • Deal with file and disk management
  • Manage security
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

What is encryption?

A

Scrambling data and providing the receiver with the key to unscramble so it is unreadable by unauthorized users.

(Note that unauthorized users can still receive data, but not read it)

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

What is defragmentation?

A

The process of reorganizing files on a hard drive so that related data is stored together in continuous blocks

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

What is lossy compression?

A

Permanently removing data from files to reduce size

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

What is lossless compression?

A

Temporarily removing data to store a file but then restoring it to its original state when opened

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
How many bits does ASCII use and how many characters does this allow?
- 7 bits - 128 characters
26
How many bits does extended ASCII use and how many characters does this allow?
- 8 bits - 256 characters
27
What does 1 left shift do to a binary number?
Doubles it
28
What does 1 right shift do to a binary number?
Halves it
29
What is the formula for calculating the size of a text file?
**Bits per character** x **Number of characters**
30
What is the formula for calculating the size of an image file?
**Resolution** x **Colour depth** *OR* **Width** x **Height** x **Colour depth**
31
What is the formula for calculating the size of a sound file?
**Sample rate (Hz)** x **Bit depth** x **Duration (s)**
32
What is the conversion rate between all units of data?
**Bit (b**) x4 **Nibble** x2 **Byte (B)** x 1000 **Kilobyte (kB)** x1000 **Megabyte (MB)** x1000 **Gigabyte (GB)** x1000 **Terabyte (TB)** x1000 **Petabyte (PB)**
33
What are the advantages and disadvantages of **lossy compression?**
**Advantages** - Greatly reduced file size - Files take up less bandwidth - Lots of software can read lossy files **Disadvantages** - Lots of data lost - Cannot be returned to original state - Cannot be used on text and software files - Worse quality
34
What are the advantages and disadvantages of **lossless compression?**
**Advantages** - Data is only temporarily removed - File should sound or look like the original - Can be returned to original state - Can be used on text and software files unlike lossy **Disadvantages** - Only a slight reduction in file size
35
What does LAN stand for and what does it do?
**Local Area Network** Connects devices over a small geographical area in a single site
36
What does WAN stand for and what does it do?
**Wide Area Network** Connects devices or LANs across a large geographical area
37
What does NIC stand for and what does it do?
**Network Interface Card** An internal piece of hardware that allows a device to connect to a network
38
What does a switch do?
Connects devices on a LAN by receiving and forwarding data packets
39
What does a router do?
Directs data from one LAN to another
40
What does a Wireless Access Point do?
Allows wireless access to a network
41
What is bandwidth?
The amount of data that can be transferred in a given time
42
What are the advantages and disadvantages of client-server networks?
**Advantages** - Easier to keep track of files as they're stored centrally - Easier to perform back-ups - Easier to install and update software - Easier to manage network security - Servers are very reliable and always on **Disadvantages** - Expensive to set up - Requires IT specialists to set up and maintain - Very dependent on the server - Server can be overloaded
43
What are the advantages and disadvantages of peer-to-peer networks?
**Advantages** - Easy to maintain - No dependence on a server **Disadvantages** - No centralised management - Easy to lose track of what files are stored - Peer machines are less reliable - Machines are prone to slowing down when other devices access them
44
What does TCP/IP stand for and do?
**Transmission Control Protocol / Internet Protocol** Sets rules on how devices connect on a network
45
What does HTTP stand for and do?
**Hyper Text Transfer Protocol** Allows a client to request info from a web server and receive a response
46
What does HTTPS stand for and do?
**Hyper Text Transfer Protocol Secure** Encrypts data between a user and a website
47
What does FTP stand for and do?
**File Transfer Protocol** Used to access, edit and move files between devices on a network
48
What does POP3 stand for and do?
**Post Office Protocol (Version 3)** Used to retrieve emails from a server. Emails are held on a server until you download it.
49
What does IMAP stand for and do?
**Internet Message Access Protocol** Used to access and manage emails on a remote mail server
50
What does SMTP stand for and do?
**Simple Mail Transfer Protocol** Used to send emails
51
What does DNS stand for and what does it do?
**Domain Name System** Translates website domain names into IP addresses
52
What are the advantages and disadvantages of cloud storage?
**Advantages** - Users can access files from any connected device - Easy to increase available storage - No need to buy expensive hardware - No need to pay IT staff to manage hardware - Cloud host provides security and back-ups for you - Cloud software is updated automatically **Disadvantages** - Internet connection required - Dependent on host - Data can be vulnerable to hackers - Unclear ownership rights - Subscription fees may be expensive
53
What are user access levels?
Restricting specific users on what they have access to
54
Which methods are used to attack networks?
- Malware - Brute-force attacks - Social engineering - Denial of service - Data interception / theft - SQL injection
55
How can network attacks be prevented? | (Name as many as you can)
- Anti-malware software - Firewalls - Physical security like locks to doors and biometrics - Strong passwords - Encryption - Penetration testing - User access levels
56
What is a MAC address?
A unique identifier for a device that is connected to a local network
57
What is an IP address
A unique identifier for a device that is connected to a global network
58
Which chemicals can produce e-waste? | (Name as many as you can)
- Lead - Cadnium - Mercury - Nickel - Arsenic - Zinc - Antimony - Beryllium
59
What is e-waste?
The disposal of electronic devices
60
What is the Data Protection Act (1998)?
A law that regulated how businesses could use personal information, protecting data misuse
61
What is the Computer Misuse Act (1990)?
A law that criminalized accessing or modifying data without permission
62
What is the Copyright Designs and Patents Act (1988)?
A law that protects the rights of a creator to their work
63
What is copyright?
A legal term used to describe the rights a creator has over their work
64
What is licensing?
A legal agreement that outlines the use and redistribution of computer software
65
What is a trademark?
A sign that is used to identify a company or brand and distinguishes its products and services from others
66
What is a patent?
A legal protection that gives the owner exclusive rights to an invention
67
What is a stakeholder?
A person or group of people who are affected by or have interest in the actions of an organisation or product
68
What is open source software?
Software that is free to use and allows users to access, modify and distribute the source code
69
What is proprietary software?
Software that is owned by a company and protected by copyright
70
What are the advantages and disadvantages of open source software?
**Advantages** - Usually free - Made for greater good, not profit - Software can be adapted to fit needs - Wide pool of collaborators can be more creative than programmers of 1 company - Problems are quicky solved by the community **Disadvantages** - Small projects may not get updated and get buggy - May have limited user documentation - No warranties if something goes wrong - No customer support - Companies using open source may not want competitors to see their code
71
What are the advantages and disadvantages of proprietary software?
**Advantages** - Comes with warranties, documentation and customer support - Should be well-tested and reliable - Usually cheaper for companies than developing their own custom software **Disadvantages** - Can be expensive for users - Software may not fit a user's needs - Companies may not maintain older software to persuade people to buy the latest product
72
What is decomposition?
Breaking down a complex problem into smaller, more manageable problems
73
What is abstraction?
Picking important parts of a problem and ignoring unneccessary detail
74
What is algorithmic thinking?
A logical way of getting from a problem to a solution
75
What is the symbol for a process in a flowchart?
Rectangle
76
What is the symbol for the start/end of a flowchart?
Oval
77
What is the symbol for a decision in a flowchart?
Diamond
78
What is the symbol for an input/output in a flowchart?
Parallelogram
79
What is computational thinking?
A systematic approach to solving problems
80
What is an integer?
A whole number
81
What is a real (or float)?
A decimal number
82
What is Boolean?
A data type that has one of 2 values (e.g. true/false or yes/no)
83
What is a character?
A single letter, number or symbol
84
What is a string?
A collection of characters
85
What are the 3 programming constructs?
- Selection - Sequence - Iteration
86
What is a selection? | (Programming construct)
The process of decision-making
87
What is a sequence? | (Programming construct)
The order that commands are executed
88
What is an iteration? | (Programming construction)
Repitition of code
89
What is the typical operator for addition?
+
90
What is the typical operator for subtraction?
-
91
What is the typical operator for multiplication?
*
92
What is the typical operator for division?
/
93
What is the typical operator for exponentiation?
**^** *OR* **
94
What is the typical operator for an integer while dividing?
DIV
95
What is the typical operator for remainder while dividing?
**MOD** *OR* **%**
96
What is the code to open a file?
file = open()
97
What is the code to create a new text file?
newFile()
98
What is the code to write in a text file?
file.writeLine()
99
What is the code to read a file?
file.readLine()
100
What is the code to close a file?
file.close()
101
What are the 3 key words when searching for data in SQL and what do they mean
**SELECT** - the column you want to search **FROM** - the name of the table **WHERE** - specific conditions (e.g. score < 5)
102
What does: 1) a function do? 2) a procedure do?
**Function:** returns a value **Procedure:** performs a task but doesnt return value
103
What is a: 1) local variable 2) global variable
**Local:** a variable only existing in a specific subroutine **Global:** a variable that can be accessed and changed throughout an entire program
104
What are the 5 types of checks?
- Range check - Format check - Length check - Presence check - Type check
105
What is input validation?
Checking if data meets certain criteria before passing into a program
106
What is authentication?
Verifying the identity of a user before they're allowed to access certain pieces of data or features of a program
107
What is a syntax error?
An error that breaks the grammatical rules of programming, stopping it from running
108
What is a logic error?
An error when code is entered correctly, but doesn't output the desired output
109
What is iterative testing?
Testing a program while it is being developed
110
What is final (terminal) testing?
Testing a program at the end of the development process
111
What are 4 data types?
- Normal data - Boundary data - Erroneous data - Invalid data
112
What is normal data?
Data that is accepted by the program
113
What is boundary data?
Values at the limit of what the program can accept/handle
114
What is erroneous data?
Data inputs of the wrong data type
115
What is invalid data?
Data of the correct data type, but is outside of the accepted/handleable range
116
What does a NOT gate do?
Reverses the input value. (1 becomes 0 and 0 becomes 1)
117
What does an AND gate do?
Returns 1 only if both inputs are 1
118
What does an OR gate do?
Returns 1 if one or both inputs are 1
119
What are the characteristics of a high-level language?
- One instruction represents many instructions of machine code - Same code will work for many different machines and processors - Easier to debug - Must be translated before a computer can understand it
120
What are the characteristics of low-level language?
- One instruction of assembly code represents one instruction of machine code - Works on one type of processor - Harder to debug - Directly executable
121
What does an interpreter do?
- Translates and runs source code one instruction at a time - Returns the first error found and then stops - Programs run slower - Can only be run on 1 machine - Creates object code
122
What does a compiler do?
- Translates all source code at once - Program won't run if there is a syntax error - Programs run faster - Executable file can be run by multiple machines - Creates an executable file
123
What does IDE stand for?
Integrated Development Environment
124
What are the features of IDE when: 1) writing code 2) running code
**Writing code** - Code editor - Bracket matching - Auto-complete - Syntax checking **Running code** - Run-time environment - Debugging - Error diagnosis
125
What is metadata?
Data about a file or image file
126
What does utility software do?
Helps maintain and manage a computer system by: - Managing files - Creating software backups - Using antivirus/anti-malware - Disk defragmentation - Compressing files - Encrypting data
127
What is casting?
Converting 1 data type to another