WorksheetsUtility Programs and Their Functions
Total questions: 73
Worksheet time: 45mins
If the utility program should be run as a matter of routine; select all that apply.
disk defragmenter
backup program
backup recovery program
disk formatter
disk content analysis program
If the utility program should be run as a matter of routine; what is included?
(a)
If the utility program should be run when a problem is detected; select all that apply.
Disk defragmenter
Backup recovery program
Disk formatter
Disk content analysis program
Both a compiler and an interpreter need the source code file to be present when a program is being executed.
False
True
Both a compiler and an interpreter will read a line of source code and, if there is no error, convert it to intermediate code.
True
False
Compiled object code will provide faster execution than is possible for an interpreted program.
False
True
Both a compiler and an interpreter need data to be available when the source code is being compiled or interpreted.
True
False
When using a compiler or an interpreter, it is possible for a program to be executed even though it contains errors.
False
True
A programmer writes a program in Java. This _____ is made available to a Java ____. If there are no errors this
produces _____. When a user wishes to run the program, the computer to be used to run the program must
have a _____ installed. This is a(n) _____ which executes the program.
Java Byte Code, compiler, Java Virtual Machine, interpreter, source code
(a)
Software for the translation of an assembly language program.
Assembler
Compiler
Interpreter
Translator
A __________ for the translation of a high-level language program.
Translator
Assembler
Interpreter
Compiler
An __________ for translation and execution of a high-level language.
Compiler
Translator
Interpreter
Assembler
What is an IDE?
(a)
The two types of user Interfaces mentioned are?
Integrated User
Command line
Hand-line
Graphical User Interface (GUI)
Objects that convey information, & represent actions that can be taken by the user are displayed by a ___?
GUI
Operating System
Graphical User Interface
Command Line
Two most important aspects to achieve the best possible efficiency in providing access to computer resources are:
Scheduling of processes
Resolution of conflicts when 2 processes require the same resource
Installation of appropriate devices
Control of usage by processes
Small blocks of code in a modular program designed to perform a particular task.
Code Reuse
IDE
Subroutine
GUI
Using existing subroutines that have proven to be error free.
GUI
IDE
Subroutine
Code Reuse
Ensures that 1 program does not try to use the same memory locations as another program.
Memory organization
Memory usage
Memory environment
Memory protection
Scheme is chosen to achieve the best usage of limited memory size, for example, virtual memory involving paging/segmentation.
Memory protection
Memory organization
Memory data
Memory usage
Optimization involves decisions about which process should be in main memory @ any 1 time & where they are stored in this memory.
Memory usage
Memory environment
Memory organization
Memory protection
Every computer system has a variety of components that are categorized as what?
(a)
Examples of devices:
monitor screen
webcam
keyboard
mouse
printer
Management of devices are...
Installation of appropriate device driver software
Control of usage by processes
For operating system the aspects of security management include...
Control usage by processes
Ensuring data privacy
Prevention of intrusion
Provision for recovery when data is lost
Whenever an error occurs, what must the operating system be able to?
It should have the capability to not interrupt the process and provide error diagnostics.
It should have the capability to interrupt the process and not provide error diagnostics.
It should have the capability to interrupt the process and provide error diagnostics.
It should not have the capability to interrupt the process and provide error diagnostics.
In extreme cases, the operating system needs to be able do what?
Shut down w loss of data
No shut down w/o loss of data
Shut down w/o loss of data
Shut down w loss of data
Hard disk formatter and
checker
Operating system
Utility program
Neither
Device Management
Operating system
Utility program
Neither
Machine code
Operating system
Utility program
Neither
User-system interface
Operating system
Utility program
Neither
Program-hardware
interface
Operating system
Utility program
Neither
Backup software
Operating system
Utility program
Neither
Analog-to-digital
converter
Operating system
Utility program
Neither
Virus Checker
Operating system
Utility program
Neither
Hard Disk defragmenter
Operating system
Utility program
Neither
Error detection and
recovery
Operating system
Utility program
Neither
Sensor
Operating system
Utility program
Neither
Error detection and
recovery
Operating system
Utility program
Neither
File Compression
Operating system
Utility program
Neither
Error detection and
recovery
Operating system
Utility program
Neither
A condition in which the contents of a single file are stored in different locations on the disk rather than in one continuous space.
Defragmentation
Fragmentation
Object code
Code Reuse
Source code must be translated into what?
Machine Code
Source Code
Object Code
Compilers
What are the 2 basic language translators?
Translators
Compilers
Assemblers
Interpreters
If an error is found, this is reported and execution halts
Interpreter step
Compiler step
If an error is found, this is recorded
Interpreter step
Compiler step
The program uses this intermediate code to execute the required action
Interpreter step
Compiler step
The last step is the next line of source code is read and steps iv - viii are
repeated
Interpreter step
Compiler step
If no error is found, the line of source code is converted to an intermediate
code
Interpreter step
Compiler step
If no error is found in the whole source code the completed intermediate
code is converted into Object code
Interpreter step
Compiler step
If no error is found, the line of source code is converted to an intermediate
code
Interpreter step
Compiler step
If any errors are found a list of the errors is output and no object is
produced
Interpreter step
Compiler step
Execution of program can begin even if the code contains error
Interpreter step
Compiler step
Execution of program can only begin if the code is error free
Interpreter step
Compiler step
when a program is being developed errors can be
detected immediately
Interpreter
advantage
Interpreter
disadvantage
Compiler
advantage
compiler
disadvantage
program may function correctly while non
accessed lines of code may still contain errors
Interpreter
advantage
Interpreter
disadvantage
Compiler
advantage
compiler
disadvantage
when a program is error free and is distributed to
users, the only the executable needs to be sent so
the user has no access to source code
Interpreter
advantage
Interpreter
disadvantage
Compiler
advantage
compiler
disadvantage
only the object code needs to be available
Interpreter
advantage
Interpreter
disadvantage
Compiler
advantage
compiler
disadvantage
when a program is error free and is distributed to
users, the source code needs to be sent
Interpreter
advantage
Interpreter
disadvantage
Compiler
advantage
compiler
disadvantage
Both the language translator and the program
need to be available
Interpreter
advantage
Interpreter
disadvantage
Compiler
advantage
compiler
disadvantage
provide faster execution
Interpreter
advantage
Interpreter
disadvantage
Compiler
advantage
compiler
disadvantage
object code is less secure as it could contain a virus
Interpreter
advantage
Interpreter
disadvantage
Compiler
advantage
compiler
disadvantage
program can only be run on the computer with the
processer the program was created
Interpreter
advantage
Interpreter
disadvantage
Compiler
advantage
compiler
disadvantage
What benefits are provided by an IDE?
Contains may features that provide support for a programmer when a program is being written and when it is being corrected
Contains may features that provide support for a programmer when a program is being written and when it is not being corrected
Contains may features that does not provide support for a programmer when a program is being written and when it is being corrected
Contains may features that provide support for a programmer when a program is not being written and when it is being corrected
The presentation of the program code provided by an IDE.
Prettyprinting
Dynamic Syntax Check
Context sensitive prompts
Debugging
Hints/list of keywords & available identifiers that are appropriate @ the current insertion point of the program provided by an IDE.
Prettyprinting
Dynamic Syntax Check
Context sensitive prompts
Debugging
When a line is typed, a syntax checks & the programmers is alert to errors provided by IDE.
Prettyprinting
Dynamic Syntax Check
Context sensitive prompts
Debugging
Tool provided by an IDE useful for finding & correcting errors, called "bugs", in a program
Prettyprinting
Dynamic Syntax Check
Context sensitive prompts
Debugging
List two attributes of prettyprinting.
Color coding
Skill Advancer
Debugging
Automatic Indentation
When program starts running, program will stop a
(a)
What is the key task carried out by the Operating System.
Clearing
Organization
Management
Reversing
Give two tasks of an operating System?
Run the system
Help the user
Crash the system
Distract the user
How are Library programs used?
When available they are incorporated into chats.
When available they are unincorporated into programs.
When unavailable they are incorporated into programs.
When available they are incorporated into programs.
