Hardware Software Flashcards

1
Q

What is the primary function of mainframe computers?

A

To serve many terminals, usually thousands, within an organization.

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

what can terminal be

A
  • Computers connected to the mainframe
  • Dumb terminals with minimal processing power
  • ATMs (automated teller machines)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are some common uses of mainframe computers?

A
  • Hosting business databases
  • Large scale transaction processing
  • Batch processing
  • Statistical analysis, such as census data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What characteristics do mainframe computers need to have?

A

Reliability, availability, and serviceability (RAS).

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

What is meant by hot-swappable components?

A

Hardware components that can be replaced while the system is still running.

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

how is mainframe reliable

A

Hardware can self check and recover incase of failure.
software can be updated quickly and have been tested extensively before

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

How do mainframes achieve a high level of availability?

A

By having redundant hardware components that take over automatically if an active component fails.
Hot swappable components

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

What is one method for cooling mainframe computers?

A

cold air too inefficient
Liquid cooling, which delivers cold liquid directly to the processor chip.

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

What is the approach for security mainframe systems?

A

Multi layered so different people can access different stuff
security software will also monitor for threats

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

Why mainframe performance don’t use MIP anymore

A

complex instruction can take longer than simple
so inaccurate

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

What does MIPs stand for?

A

Millions of Instructions Per Second.

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

Reasons that affect MIP making it inaccurate

A
  • Workload mix
  • Memory and cache sizes
  • Input and output activity
  • Operating systems and software changes
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are dedicated system assist processors (SAPs) used for?

A

To handle input/output requests and free up main processors.

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

What does FLOPS stand for?

A

Floating Point Operations Per Second.

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

How many FLOP in 1 MFLOP

A

one million

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

What type of operating systems do mainframe computers commonly use?

A
  • General purpose (e.g., z/OS)
  • Virtual machine focused (e.g., z/VM)
  • Transaction processing focused (e.g., z/PF)
    based on linux
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What is the significance of longevity in mainframe computers?

A

expensive so should be able to upgrade
last for min 10 years

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

How do u have serviceability in mainframe computer

A

If maintenance needed make maintenance short as possible

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

adv of mainframe computer

A

more RAS than reg pc
- Scalable
- last for min 10 years
- hardware failure notified immediately

store and process a lot of data
terminals only need input output can use mainframe to process
more than 1 os can be used at at time improves performance

20
Q

disadvantage mainframe

A

high cost and special os which high cost
lots of space and need to cool it
specialist staff needed to maintain
need fast enough massive drives
interface is command driven

21
Q

Driver

A

comes with each hardware
translates default commands from software to the hardware specific command

22
Q

OS manages communication between hardware and software by

A

allocating memory to software
sending and responding to input and output device
open/close files on storage device
dealing w security and logon

23
Q

Translator

A

translates program written in high level programming language to machine code computer can understand

24
Q

Compiler

A

A translator but makes a file containing machine code (executable file/object file) only compiles for one os
Original high level programming language is called source file
translates all at once
read to execute object code without delay
optimised code

25
3 stages of compiler process
Lexical analysis syntax analysis code generation
26
what happens in Lexical analysis (compiler)
white space or comments are removed and code is broken down into tokens each token represents 1 keyword, constant, identifier, string, number, operator or punctuation symbol. errors will be reported to user
27
what happens in syntax analysis (compiler)
structure of program is checked to see if it matches syntax of programming language each set of tokens are checked separately dictionary is created to list variables used, their data type and the memory location to be used.
28
what happens in code generation (compiler)
Source code is converted into machine code for target machine type different machines need different machine code
29
Interpreter
translator but uses different method translates each line at a time into intermediate stage and then executes each line can be slower as loops have to be analyzed each time around reports errors as each line is transmitted can be used for more than 1 os can do on the fly as only required lines need to be interpreted
30
Linker
Combines multiple modules (object files) of a 1 program together into one exe file a linker can also link library file (contains code for common tasks used in more than 1 program) ( not all modules are needed and linker can pick which ones)
31
Anti virus
antivirus monitor checks for viruses and prevents it from being executed disinfectants by deleting infected data or can quarantine by preventing execution but being unable to access the data
32
Other utility software
Data compressor backup file management
33
HDD storage info
Computer will prioritize putting 1 file on the same cylinder because it is faster If all cylinders have been used files have to be split across gaps from deleted files Formatting preps for first time use organizes track into sectors (deletes all data) can also use defrangementer to reorganize everything and improve performance
34
Custom written software adv / dis
expensive takes long time to develop requirements can be precisely met with no unnecessary features might have bugs as less people have tested only have support from developer will ensure compatible with hardware, software, data
35
Off the shelf software (anyone can buy) adv/dis
cheaper as cost is spread between many people immediately available some tasks are not possible and lots of features customer wont use might not be compatible with hardware, software, data Lots of bugs will be found and reported Can get support from many places such as forums
36
Proprietary software
Owned by organization or person that sells people licenses to use
37
Open source software
has source code distributed with the software so people can edit and share it most open source is free but can charge for it
38
Command line interface (CLI)
User enters text commands where computer responds with text
39
Advantages of CLI
ads: If user knows correct commands then can be faster than any other type of interface Uses less RAM Does not use as much CPU processing time Cheaper monitor can be used
40
Disadvantages of CLI
disads: Can be confusing for new users Commands have to be typed precisely If mistype an instruction, start from scratch Large number of commands to be learned
41
Disadvantages of GUI
disads: Take up larger amount of hard disk space Need significantly more RAM to run ( simpler gui can be used) More processing power than other interfaces Slow for experienced programmers
42
Advantages of GUI
ads: Easy to use for beginners (intuitive) Don’t have to learn complicated commands
43
Dialogue-based user interface adv/dis
useful for people with disabilities (no hands) faster than typing unreliable, with many commands not being recognized or needing to be repeated several times (especially if there is background noise). Can be quite complex to setup. User needs to know which commands can be used.
44
Gesture-based user interface adv/dis
It is possible for unintentional movement to be picked up. Only works near the camera or sensor (maximum of 1.5 meters). May only accept a limited number of movements Good for disabled can get tired need highly accurate sensors
45
Graphical User Interface (GUI)
makes use of pictures, graphics and icons Uses WIMP (windows icons menu and pointing device)