system software Flashcards

AS-level

1
Q

why operating system should be used

A

– hardware is unusable without an operating system
– acts as an interface and controls communication between user and hardware.
– provides software platform

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

what are the two types of user interface

A

command line interface and graphical user interface

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

what is command line interface and describe the purpose of it

A

– user types in instructions to open or launch a program .
– user is in direct communication with the computer system
– usually a number of instructions are needed to be typed in to open or launch a program

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

what is graphical user interface and describe the purpose of it

A

– user interacts with the computer system by using icons
– user does not need to know where applications resides within computer
– user launches application by the use of pointer
– windows is the example of G.U.I

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

what are the key management tasks carried out by the operating system

A

– memory management
– process management
– provision of user interface
– security management task
– file management
– printer management
– interrupt handling
– input output management

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

purpose of memory management

A

– allocates memory to process
– ensure fair usage of memory
– organize memory by making us of virtual memory
– keeps process separate
– to release memory when a process stop

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

purpose of process management

A

– manage scheduling of process
– allows multitasking
– handles priorities
– enables process to share information
– prevents interference between the processes
– manages which resource the process- requires

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

purpose of provision of user interface

A

– allows a user to communicate with hardware by making navigation around the system easier
– provides facilities for user to input data
– provides facilities to show output results to user
– eg:-CLE and GUI

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

purpose of management task

A

– sets up user account
– access rights
– checks username and passwords
– automatic back-up
– system restore

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

purpose of file management

A

– storage space divided into file allocation unit
– space allocated for particular files
– maintain directory structure
– specifics logical method of file storage
– provides file naming convention
– controls file access
– specific tasks that can be performed on a file, eg open, delete , copy

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

purpose of printer management

A

– installs printer driver
– sends data to the printer
– handles error message
– sends commands to the printer

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

purpose of interrupt handling

A

– identifies priorities to the interrupt
– saves data on power outage
– loads appropriate interrupt service routine

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

purpose input output management

A

– installation of appropriate drivers
– control access to data being sent
– control access to hardware
– manages communication between devices

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

what is utility software

A

utility software analyze and maintain a computer system and make it functional

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

name utility softwares

A

– harddisk formatter
– harddisk defragmenter
– disc content analysis / disk repair
–virus checker
–backup software
– file compression utility

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

purpose of harddisk formatter

A

– makes existing data inaccessible.
– partition the disk into logical drivers
–prepare the disk for initial use
– might search for error
– sets up specified file system.

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

purpose of harddisk defragmenter

A

– re-organize the disk
– moves split file so they are contiguous
– creates a large area of contiguous free space

17
Q

purpose of disc content analysis/disk repair

A

– check for any error
– resolves any errors on the disk
– retrieves files from damaged disk
– marks bad sector of the disk

18
Q

purpose of virus checker

A

– scans files on a computer for malicious code
– scans files when they enter the system like when memory stick is inserted
– sets up a schedule for virus checking
– delete virus
– regularly updates virus definition

19
Q

purpose backup software

A

– creates a copy of the content of the disk can be set up to automatically backup
– allows user to decide what is backed up
– allows off site backup
– may encrypt backed up files
– restores the data if necessary

20
Q

purpose of file compression utility

A

– compress and decompress files
– infrequently used files are compressed
– saves space in harddisk.

21
Q

what is meant by a library routine

A

– pre existing or pre complied code
– can be linked to other programs
– to perform common complex task

22
Q

benefits of library routine

A

– less code needs to be written so saves time
– pre tested so reduces testing time
– can be written in different programming languages that enables you to use special features of that language
– can be complex algorithms and no need to work out how to write them
– simplifies the program since just the name of the function is included

23
Q

drawbacks of library

A

– compatibility issues; may not work with other code
– not guaranteed through testing ; may contain unknown unexpected bags
– the code may not meet exact needs: may give unexpected result

24
Q

what is dynamic link library

A

– a collection of self- contained shared library program
– that are already compiled
– linked to main program during execution
– library program code is separated from .exe file
– library file only loaded into memory when required at run-time
– a DLL file can be made available to several application at the same time
– if a change is made in DLL code then all of the program that uses DLL will get changed

25
Q

benefits of dynamic link library

A

– the executable file is smaller
– DLL file only loaded into memory when required at runtime
– changes to DLL code are done independently of the main program so there is no need to recompile the main program
– a single DLL file can be made available to several application saving space space in memory

26
Q

drawbacks of dynamic link library

A

– the executable code is not self- contained
– the DLL file needed to be included at run time
– appropriate linking software must be available at run time to import the DLL file
– the DLL file should be present or else error
– unexpected changes to DLL could mean the program stop working as expected
– malicious changes to DLL file could install a virus on user’s computer

27
Q

name the language translators

A

– assembler
– complier
– interpreter

28
Q

describe the purpose of the assembler

A

programs written in assembly language are translated into machine code by an assembler program. each instruction in the source code consists of an opcode and an operand. the software translates low level language into machine code for the processor to execute. the source code uses instructions from the processors instruction set

29
Q

describe the purpose and the role of compiler

A

compiler translates high level language into machine code for the processor to execute. compiler creates an executable file . no need to give access to source code go make it more difficult for the user to modify the code

30
Q

benefits of the compiler

A

– produces an executable file
– user does not have access to source code
– it will probably be faster to run the executable file
– code does not have to complied each time it is executes
– does not need the complier to be present at run- time.

31
Q

drawbacks of compiler

A

– the source code must be re-compiled every time the programmer changes the program
– find error is difficult as error messages are gives a the end
– the source code must be 100% correct for executable file to be produced

32
Q

describe the purpose and role of interpreter

A

– interpreter translates high level language into machine code for the processor to execute line by line
– the interpreter reads each statement and checks it before running it
– the interpreter halts when it encounters an error
– the interpreter analysis and checks each line before executing it

33
Q

benefits of interpreter

A

– errors can be corrected as they occur
– can run a partially complete program when developing
– the effect of any change made to the code can be seen immediately

34
Q

drawbacks of interpreter

A

– no executable file is produced
– user has access to source code
– need to translate the source code again and again so consumes times
– interpreter should be present at the time of execution

35
Q

differences between compiler and interpreter

A

*compilers create an executable file
– interpreter does not creates executable file

*the compiled program can be independently distributed

-interpreter executes each statement immediately after decoding
*compilers checks the whole program for errors

  • the interpreter software must be present in main memory every time the program is executed
  • the compiled program does not require compiler

– cross complication is possible (compile on one hardware to run on another)

36
Q

what are the features of an IDE

A

– pretty printing
– automatic indentation
– syntax checking
– highlights any undeclared variables
– type checking

37
Q

what are the features provides by an IDE that assist in “initial error detection”

A

– dynamic syntax checking
– type checking
– identification of unused variable

38
Q

debugging tools that IDE can provide

A

– breakpoint: run the code to set point to find errors
– report window: errors are displayed in a separate window in IDE
– single stepping : execute the code line by line
– variable watch : checks the content of variable at specific points

39
Q
A