Unit 3 Hardware and Software Pt. 2 Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

Statement summing High and Low level languages

A

− The structure of language statements in a computer program is called the SYNTAX
− A programming language that uses natural language statements is called a HIGH LEVEL LANGUAGE
− When programs are written in this type of language they need a TRANSLATOR to convert them into MACHINE CODE
− A programming language that is written using mnemonic codes is called ASSEMBLY LANGUAGE language.
− This is an example of a LOW LEVEL LANGUAGE

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

Describe Primary Storage

A

− Memory that is directly accessed by the CPU
− An example is RAM / ROM
− RAM stores programs and data that are currently in use and ROM stores boot-up instructions
− RAM is volatile and ROM is non volatile
− RAM typically has more storage than ROM
− Volatile memory means data is lost if device is powered off, non-volatile is when data remains even after device is powered off.

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

Describe Secondary Storage

A

− Storage that is not directly accessed by the CPU
− An example is HDD / SSD
− Stores data / files that can be accessed at a later stage
− Non volatile

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

Describe why is SSD better than HDD and vice versa

A

SSD better than HDD:
− Faster read/write operation
− Less latency
− Produces less heat // needs less cooling
− Less susceptible to interference/magnets
− Less power consumption

HDD better than SSD
−Cheaper
− Infinite amount of read/write cycles

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

Describe how a SSD works

A

SSD
− Flash storage
− Uses transistors and controls gates
− Can be NAND/NOR technology
− Stores data by flashing it onto the silicon chips
− Controlling using the flow of electrons through transistors/chips/gates
− The electric current reaches the control gate and flows through to the floating gate to be stored
− When data is stored the transistor is converted from 1 to 0 / 0 to 1
− Some use EEPROM technology

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

Describe how a HDD works and benefits

A

− It has platters
− Platters/disk divided into tracks
− Platter/disk is spun
− Has a read/write arm that moves across storage media
− Read/writes data using electromagnets
− Uses magnetic fields to control magnetic dots of data
− Magnetic field determines binary value

Benefits:
− Has more longevity than solid state storage
− Has more read/write cycles than solid state storage
− Cheaper per unit of data
− Trusted technology used for many year

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

Describe how off-line storage works

A

How its read
− Red laser is used, laser beam shone onto disk
− Disc is rotated on a constant speed to be read
− Surface is covered in track
− Data is represented on the surface using pits and lands
− Pits represent binary valves
− Pits reflect light back differently

How data is written
− Laser beam is used
− Laser makes indentations on the surface of the disc
− Data is written in spiral track
− Pits and lands represent binary values

− It is non-volatile
− Can be easily disconnected from the computer or inserted
− It is not directly accessed by the CPU
− Suitable example e.g. CD, DVD, USB flash memory
− Portable, small
− Expensive to buy per GB

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

Examples of optical, solid state, magnetic storages

A

Optical- CD, DVD, Blu-ray

Solid state- USB flash drive (important to mention flash drive) , SD cards

Magnetic- HDD

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

Describe features of an operating system

A
− Manage input output
− Multi-tasking
− Loading and running of apps
− Manage security
− Memory management
− Error handling
− Human computer interface
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Describe High level language

A

High-level
− Makes use of words close to human language
− Machine independent and portable
− Problem and logic focussed
− Needs to be translated/interpreter/compiled (to low-level for processing by
computer) // needs converting to machine code
− Hardware of computer does not matter

Benefits
− Easy to understand as its similar to human language
− Easy to debug, less likely to make mistakes
− Less time to write
− Has a great range of languages

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

Describe Low level language

A

Low level
− Closer to/is machine code
− May use mnemonics
− May need an assembler to be translated
− One line of code represents a single instruction

Benefits 
− Machine dependent 
− Have direct access to memory locations/registers
− May require use of special hardware
− Code runs fast

Disadvantage
−Easy to make errors and hard to understand

Examples
− Machine code
− Assembly

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

Statement summing up them

A

− The structure of language statements in a computer program is called the syntax
− A programming language that uses natural language statements is called a High level
language
− When programs are written in this type of language they need a translator to convert
them into machine code
− A programming language that is written using mnemonic codes is called assembly
language.
− This is an example of a low level language

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

Describe Translators

A

− Programs need to be translated to machine code so we have 3 types of translators
− Compiler, interpreter, assembler

−Compiler translates high level to machine code

− Interpreter translates high level to machine code

− Assembler translates low level to machine code

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

Describe compiler

A

− Translates a whole program in one go
− Produces an executable file
− All error list produced at the end
− Once program is compiled, doesn’t need to be recompiled
− One high level statement can be translated into many machine codes
− Executable file usually distributed for general use
− Executable file does not require to be re-translated

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

Describe Interpreter

A

− Translates code line by line
− No executable file produced, interpreter required every time
− Stops translation when error found, then allows you to continue from where u started
− Errors shown in real time, when found, easy to debug
− Used in developments of a program or game

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

Difference between DVD and Blu-ray

A

− DVD uses red laser/light whereas blu-ray uses blue/violet laser/light
− DVD has a smaller (storage) capacity // Blu-ray has a larger (storage) capacity
− DVD has two layers (of polycarbonate) whereas Blu-ray disks have a single layer (of polycarbonate)
− DVD has a slower transfer rate (of approximately 10 mbps) // Blu-ray has a faster transfer rate (approximately 36 mbps)

17
Q

Describe how an infra-red screen detects a users touch

A
  • Infra red rays are sent across the screen from the edges
  • Sensors are around the edges and capture beams
  • Infra red is broken by a finger blocking it
  • Calculation is made to locate the touch based on where the beam was broken