computer_science_flashcards

1
Q

Limitation of ASCII

A

Not enough bits to represent all characters.

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

Characteristics of lossy compression

A

Data is permanently removed so the original file cannot be reconstructed.

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

Why are there no collisions on a ring network?

A

Data packets only travel in a single direction from node to node, so there are no packet collisions.

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

TCP/IP layers from highest to lowest

A

Application, Transport, Network, Data Link

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

What does the Application layer handle?

A

Selects & uses the correct protocol to transmit data & interacts with the user.

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

Drawbacks of cellular phone networks

A

Some areas not covered by infrastructure & inconsistent connection due to interference.

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

Describe one function of cache

A

Holds data ready for use so that it speeds up the processing.

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

How can an RFID be used?

A

A hand-held receiver could be used to detect the location of a lost object.

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

How does technology make us a more inclusive society?

A

Provides access to services such as education & health for those with constraints.

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

What does a round rectangle represent in flowcharts?

A

Start/Stop

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

What does a parallelogram represent in flowcharts?

A

Input/Output

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

What does a rectangle represent in flowcharts?

A

Process

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

What does a rhombus represent in flowcharts?

A

Decision

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

Function of a compiler

A

Translates high-level programming languages & generates single executable file.

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

Function of an interpreter

A

An error in the source code is highlighted as soon as it is encountered during execution, and translates high-level programming languages.

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

Function of an assembler

A

Translates low-level programming languages. One line of source code is translated to one line of machine code.

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

Benefit of hacking a network

A

Security vulnerabilities are exposed to an ethical hacker.

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

Describe how data is stored on optical media

A

A laser beam is used to burn pits & lands on the disc which represent 0 and 1.

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

Disc-formatting program software type

A

System software

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

Cloud storage user responsibility

A

Choosing strong authentication credentials & not sharing these.

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

Cloud storage provider responsibility

A

Encryption, backup & restore procedures

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

DNS Input

A

Uniform resource locator into browser

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

DNS Output

A

IPv4 address of searched website

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

Layer of devices from user device to internet

A

Device, Switch, Router, Modem, ISP, Internet

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
IMAP Explanation
Changes are synced with the mail server in real-time
26
What happens during too large binary addition?
An overflow error occurs which can cause the program to crash or produce incorrect results.
27
Benefits of embedded systems
Low power consumption, limited memory, can be chosen to fit just one specific task.
28
Reasons for networks
Centralised backup & saves money on licenses
29
Advantages of wired networks
More secure, more bits per second, connection does not get stopped by walls & furniture.
30
Disadvantages of wired networks
Less portable, installation more complex, some digital devices cannot use wired
31
Definition of internet
A global network of networks
32
Definition of World Wide Web
Collection of web pages accessed using the internet
33
Why was Unicode developed?
Standard ASCII can’t represent all major characters & symbols, but Unicode can represent a very large number of characters
34
How does increasing cache improve CPU performance?
It speeds up processing because the cache is a faster type of memory.
35
What is hertz?
Samples per second
36
Code reviews benefits
Remove code vulnerabilities in programming languages & eliminate bad programming practices
37
4 Types of legal protection for intellectual property
Trademark, Licensing, Copyright, Patent
38
Pixel definition
The smallest single dot in an image
39
Task carried out by network layer
Adds the sender's IP adress and destination IP address & routes packets
40
Why is both software & hardware needed?
Software is the set of instructions that controls the hardware
41
Why is an SSD better than other storage devices?
It is lighter, generates less heat & has faster access speed.
42
Why are simulations used?
To predict outcomes & to speed up or slow down simulations
43
Why do simulators require powerful processors?
Simulations may collect large amounts of data & may involve a large number of calculations
44
Describe the stored program concept
Instructions & data are stored in memory & fetched, decoded & executed.
45
Difference between DNA & traditional computing
DNA uses chemical reactions rather than electrical properties
46
How to prevent shoulder surfing?
Shield your screen when entering sensitive information to stop people seeing sensitive information.
47
Radio frequency used by smartphones
2.4 GHz
48
Benefit of higher frequency band
Higher frequency gives greater bandwidth
49
Benefit of 5G rather than 3G
Gives faster response to communications allowing user to download data in shorter time.
50
How does program counter keep track of next instruction to be fetched?
Stores a memory address for the next instruction. Memory address incremented during fetch process.
51
Benefit of low-level programming language
Faster translation & execution
52
Program instruction definition
A task that is carried out by the CPU
53
Memory address definition
An identification of a location in memory
54
Benefit of higher clock speed
More instructions can be carried out per second & processes run faster
55
Purpose of assembler
To translate assembly language into object code
56
Reason for low-level programming language
When writing code for a particular hardware
57
Unicode over ASCII
Unicode can represent any language whereas ASCII can only represent English characters
58
X-axis on a digital sound wave graph
Time OR Sample interval
59
Disadvantage of lossless on cloud storage
Larger file size so takes up more storage space
60
Benefit of cloud storage
Files can be uploaded & downloaded anywhere & anytime so long as there is internet connection
61
Security issue with cloud storage
Files could be intercepted during upload/download
62
URL component HTTP
Protocol
63
Why is mesh essential for internet?
Enables it to span a huge geographical area because additional nodes can be added to expand coverage
64
How does SSD store data?
Flash memory chips are used. Chips have floating gate transistors. Electron pools hold an electric charge which remains when no power.
65
Benefit of PAN over free Wi-Fi?
Faster connection speed because fewer devices are sharing the bandwidth
66
Audit trail definition
A record of activities that have taken place on a computer system
67
Audit trail purpose
To identify suspicious activity