2. Hardware and Software Flashcards

1
Q

Define Hardware

A

The physical components of the system

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

Define Software

A

The instructions and programs that control the hardware, causing it to perform some function

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

Define Data

A

The raw information; the inputs into the system

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

Define Personnel

A

The people involved in using the system e.g. users, network administrators, support teams, maintenance technicians and engineers

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

Define Procedure

A

Modes of action that personnel perform to initiate and complete tasks

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

Define Function (in a computer system)

A

An activity or sequence of activities carried out by a device or person

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

Describe the operation of hardware within a computer system

A

Input is received from outside the system and processed into output. This processing may involve reading and/or writing to storage. Control is the function that coordinates the sequencing and timing of other functions. Control is a form of processing that directs every other function. Data is not moved or processed by control functions, rather other functions are instructed to commence their actions.

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

Define input, and describe how it works

A

It is the function that obtains data from outside the system. It involves an action, which is converted into a binary electronic signal by the input device and sent to a buffer and accessed by the processor.

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

Describe the operation of a keyboard

A

Keyboards are collections or matrices of switches; each switch completes a circuit to indicate a particular key.

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

Describe the operation of a mouse

A

First conceived by Douglas Englebart in 1964, the mouse is primarily used to collect movement data in two directions; usually this data is used by the computer to control the position of the cursor on the monitor.

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

Describe the operation of scanners

A

Scanners collect light as their raw data and transform it into binary digital data. The most common forms of scanner are barcode readers.

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

Describe the operation of barcode readers

A

They operate by reflecting the light off the barcode image; light reflects well of white and not very well of black.

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

Describe how microphones work

A

They collect data in the form of sound waves, and convert these compression waves into electrical energy.

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

What are video cards?

A

A typical video card contains a powerful processor chip known as a GPU, random access memory chips. When the video card is embedded as part of the motherboard it is common for some of the system’s RAM to be used as VRAM.

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

What are LCD based monitors?

A

Liquid crystal display monitors use crystals that are in a state between solid and liquid. LCD monitors make use of this property to alter the polarity of light as it passes through the molecules. The liquid crystal substance sandwiched between two polarising panels. To display an image requires that light be blocked at certain points. This is achieved by applying an electrical current that causes the liquid crystal molecules to adjust the polarity of the light so that it does not match that of the second polarising panel.

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

What is output in a computer?

A

The function that sends data outside the system.

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

How do printers work?

A

Printers receive data via USB connections, however network printers often use Ethernet or wireless to connect directly to a LAN.

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

How do sound cards work?

A

The CPU sends the sound card binary digital audio samples from the CPU into analog audio signals suitable for use by speakers and various other audio devices.

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

How do HDDs work?

A

They store data magnetically on precision aluminium or glass platters.

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

What is processing?

A

The function that transforms the inputs into outputs. It directs the other components within the processor to perform their functions at the correct time and in the correct order. Both these functions are integrated within the CPU.

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

What is software?

A

The set of instructions used to direct the operating of the hardware causing it to solve some problem. It provides the communication link between hardware and users.

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

What do operating systems do?

A

They are used to manage and control resources of the system. They provide a stable and consistent way for applications to use the hardware without them having to know the precise nature of the hardware.

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

How does processor management work in an operating system?

A

The operating system ensures that each process receives enough of the processor’s time to function correctly. Even when running a single application it is common for various background processes to be initiated.

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

How does memory and storage management work in an operating system?

A

Each process must be allocated sufficient memory in which to execute. This memory must be reserved for the exclusive use of that process.

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

How does device management work in an operating system?

A

Most devices communicate through a driver. Drivers are programs that translate messages into those that can be understood by the device. The operating system controls when a driver can send or receive data.

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

How do application interfaces work in an operating system?

A

The application interface provides a method by which application software can communicate with the operating system. They are then able to utilise many of the computer’s system functions without worrying about the details of how the process is accomplished. Application software is written for particular operating systems rather than particular hardware devices.

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

How do user interfaces work in operating systems?

A

The user interface provides a consistent means of communication with the user. The UI component of the operating system usually sits on top of the main operating system.

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

How do CLIs work?

A

They require less system resources to operate and rely on text to communicate with the user and the order of processing is usually predetermined. Data is sent by the operating system to the video system as a series of individual text and control characters. The video system then takes over to generate the final display.

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

How do GUIs work?

A

They use a fully bitmapped display. The operating system sends a video system a series of bitmaps to display. They are primarily about giving control to the user, letting them decide the order of processing.

30
Q

What are utilities used for?

A

They are used to manage, maintain or secure the resources of the system.

31
Q

What is file compression used for in an operating system?

A

Many operating systems now include utilities to compress files and other utilities are available to add this functionality if it is not present. The compression provided by operating systems is lossless, which means no data is lost during compression and decompression. Lossy compression achieves higher compression ratios by removing data that will not be obvious to users.

32
Q

What is defragmentation used for in an operating system?

A

Defragmentation utilities rewrite the entire drive so that each file is stored on adjoining sectors and few empty sectors remain within the stored data.

33
Q

What is virus checking used for in an operating system?

A

They prevent viruses and other malware before they are executed by the system. They scan all executable files entering the system looking for known virus signatures or potential patterns in the code that may cause unwanted processing.

34
Q

How does batch job scheduling work on an operating system?

A

They allow a number of processes to be performed sequentially and then a task scheduling utility can be used to execute the batch job can be started at scheduled times.

35
Q

How does emulation work on an operating system?

A

Emulators allow applications written on another operating system to execute. They must provide an application interface which complies with the application interface of the original operating system being emulated.

36
Q

What are off-the-shelf packages?

A

Applications that are distributed as pre-packaged products.

37
Q

What are custom designed packages?

A

Applications developed to solve unique problems where no existing solution is available.

38
Q

What are the generations of programming languages?

A

Machine -> Assembler -> High-level -> Declarative

39
Q

Outline the function of low-level languages

A

Their instructions are related directly to the hardwired instruction set of the CPU. As a consequence, they cannot be used on computers using a different CPU. They are machine dependent.

40
Q

Outline the function of high-level languages

A

Easier for humans to understand and use. Built-in commands greatly reduce the size and complexity of the code. However they also limit the computer, as they can only use the commands included in the language’s syntax.

41
Q

Describe how machine-languages work

A

Each instruction contains two parts, an operation code (opcode) and one or more operands. The majority of instructions require a single operand. The opcode identifies to the control unit what process is to be performed and the operand provides the data on which the process is to be performed.

42
Q

What is an accumulator?

A

A register within the CPU that holds the result of the last operation performed by the ALU.

43
Q

Describe how assembler languages work

A

They use mnemonics to make programming languages more human like, to represent different commands available in the assembler language. Programs written by an assembler cannot be understood by the CPU.

44
Q

How are assemblers required?

A

An assembler is required to translate the assembler code into machine language.

45
Q

Describe how high-level languages work

A

They allow programmers to concentrate on solving problems rather than dealing with the mundane details of hardware systems. They must be translated into machine code using a translator. This allows high level code (source code) to be translated into the machine language (object code) appropriate to a particular CPU.

46
Q

Examples of high level languages

A

Fortran is used for scientific applications, Cobol for business applications, Prolog for AI applications and Pascal for teaching applications.

47
Q

What are declarative languages?

A

Languages which require programmers to describe the sequence of processes leading to the solution of the problem. Code written in these languages describe what the problem is rather than how it can be solved. It works out a method of solution as it executes.

48
Q

Examples of declarative languages

A

Prolog, Lisp, APL, and Haskell

49
Q

What are sequential programs?

A

Programs which have a distinct start and end. The user is led through the program in a pre-determined sequence. They are unable to deviate from the sequence.

50
Q

What are event driven programs?

A

Programs which listen for and then respond to certain occurrences or events. Once the event has occurred the program executes a particular section of the code. They can be viewed as a collection of inter-related modules. They use controls as their basic building blocks. The execution of an event driven program involves the computer continually scanning each control to check if an event has occurred.

51
Q

What are the advantages of each approach?

A

User-centred programs are easier to implement in event-driven languages. Programs where a distinct sequence is required are often suited to implementation in a sequential language.

52
Q

What are the major functions of an operating system?

A

Scheduling and running of tasks, accessing hardware, managing allocation of memory to the various tasks running, provides an interface to the user, provides an interface between applications and peripherals, and provides an interface between applications and the file system.

53
Q

Define source code

A

A collection of statements written in a high-level language

54
Q

What is a translator?

A

Software applications whose purpose is to convert the source code of a particular high-level language into the machine language instructions understood by a particular CPU.

55
Q

What are the three steps of translation process?

A

Lexical analysis, syntactical analysis (parsing), and code generation

56
Q

What does lexical analysis do?

A

It examines each element of the source code to ensure it is a legitimate part of the high-level language.

57
Q

What does syntactical analysis do?

A

It checks the grammar or syntax of the source code is correct.

58
Q

What are the two main methods of translation?

A

Compilation and interpretation

59
Q

Describe the process of compilation

A

It involves translating the entire source code into object code. The object code is then combined with other linked files to create the final executable files.

60
Q

Identify the advantages and disadvantages of compiled code

A

It executes fast as there is no translation required at run time. However, it is difficult to determine the original high-level language used for its development. This provides protection for the software developer as it is very difficult to alter the code.

61
Q

Describe the process of interpretation

A

They translate source code statement by statement. After each statement has been translated into machine code it is immediately executed. The process continues until an error in a line of code is encountered or the application ends. Interpreters are used by programmers to test their code as it is being developed.

62
Q

Identify the advantages of interpreters

A

Copying and alteration of the source code is simple. It requires a copy of the interpreter installed together with the original source code. The code behind websites is interpreted, such as PHP.

63
Q

What is the fetch execute cycle used for?

A

Carrying out each and every machine language instruction. Instruction registers hold the machine language. The accumulator together with other general-purpose registers, and are used to store data and any results during and after processing. The system clock determines the pace of the fetch-execute cycle, which is executed consistently.

64
Q

Examine the fetch step in the fetch-execute cycle

A

The instruction at the address in memory indicated by the program counter, is read into the instruction register. The program counter is then incremented to point to the next instruction.

65
Q

Examine the decode step in the fetch-execute cycle

A

The control unit makes sense of the instruction. It then directs other components to load any required operands into the appropriate registers

66
Q

Examine the execute step in the fetch-execute cycle

A

The instruction is actually carried out. For most instructions, the services of the ALU are used.

67
Q

Examine the store step in the fetch-execute cycle

A

The results are stored in one or more of the general-purpose registers. A further instruction is needed to move the results to RAM.

68
Q

What is pipelining?

A

Concurrent execution of multiple instructions which are overlapped.

69
Q

What occurs when an application is first initiated and run? (x6)

A
  • located on secondary storage, OS ensure it exists and how much space in RAM it requires
  • OS allocates RAM to the app
  • app begins to be loaded into its allocated RAM, and instructions related to it are loaded
  • OS allocates CPU time to the application; the app has control of the CPU during its allocated CPU time
  • fetch-execute cycle begins processing the instructions that form the app
  • start screen of app displayed and it waits for user input
70
Q

What are the hardware requirements for software? (x4)

A

Processor - type and speed

RAM - amount of RAM that is available is often crucial to performance of the software than the speed of the processor

Hard disk space - applications require physical secondary storage

Peripheral devices - specified. The application communicates with the peripherals via the operating system