Pregunta 1
Pregunta
True or False? The loader is software that puts a machine-language program into memory so that it can be executed.
Pregunta 2
Pregunta
True or False? In Pep/8 assembly language, you can allocate data storage space of various sizes, give these locations names, and refer to them by name later in the program.
Pregunta 3
Pregunta
Which register holds the results of operations?
Respuesta
-
instruction register
-
status register
-
index register
-
program counter
-
accumulator
Pregunta 4
Pregunta
Which part of the Pep/8 instruction specifier indicates which instruction is to be carried out?
Pregunta 5
Pregunta
True or False? In the Pep/8 machine, the contents of the A register can be compared to the contents of a place in memory.
Pregunta 6
Pregunta
True or False? The data-coverage testing approach tests the limits of the program's data.
Pregunta 7
Pregunta
Which of the following is true about clear-box testing?
Respuesta
-
the testing is performed each time the program changes
-
the testing is performed by dedicated testers
-
the test cases are based on the input
-
the test cases are based on the output
-
the test cases are based on the code
Pregunta 8
Pregunta
What is an assembler directive?
Respuesta
-
an assembly language instruction
-
a human readable comment
-
an instruction that begins the assembly language translation
-
an alternative way to specify the operand
-
an instruction to the assembler program
Pregunta 9
Pregunta
True or False? A cooking recipe is an algorithm.
Pregunta 10
Pregunta
True or False? Pseudocode uses a mixture of English and indentation to express the processing steps of an algorithm.
Pregunta 11
Pregunta
Which of the following represents a set of unambiguous instructions for solving a problem in a finite amount of time using a finite set of data?
Respuesta
-
algorithm
-
problem analysis
-
program construct
-
problem specification
-
pseudocode
Pregunta 12
Pregunta
Which of the following best describes top-down design?
Respuesta
-
converting classes into objects
-
gathering small solutions to related subproblems into a complete solution
-
decomposing a general solution into more concrete solutions to subproblems
-
refining a particular solution into one that is more abstract
-
coverting modules into subproblems
Pregunta 13
Pregunta
True or False? A selection construct allows a decision to be made in an algorithm that determines which action is performed next.
Pregunta 14
Pregunta
True or False? The approach to problem solving developed by George Polya is valuable, but does not apply to computer-based solutions.
Pregunta 15
Pregunta
Which of the following produces in a search a true or false result?
Respuesta
-
data type
-
data structure
-
information hiding
-
boolean expression
-
control structure
Pregunta 16
Pregunta
Which of the following eliminates a large portion of the data with each comparison?
Respuesta
-
binary search
-
Quicksort
-
sequential search
-
selection sort
-
bubble sort
Pregunta 17
Pregunta
True or False? An array is a named collection of homogeneous items in which individual items are accessed by position.
Pregunta 18
Pregunta
True or False? A recursive solution must have at least two cases, a base case and a general case.
Pregunta 19
Pregunta
Which of the following requires the use of a "splitting value"?
Respuesta
-
binary search
-
sequential search
-
selection sort
-
Quicksort
-
bubble sort
Pregunta 20
Pregunta
True or False? An operating system manages processes, which are programs currently being executed.
Pregunta 21
Pregunta
True or False? In a multiprogramming environment, more than one program is in main memory at the same time.
Pregunta 22
Pregunta
Which of the following best describes a partitioning approach in which a new partition is created to accommodate a new process?
Respuesta
-
dynamic partitions
-
fixed partitions
-
both
-
neither
Pregunta 23
Pregunta
Which of the following describes a memory management technique in which a program is divided into fixed sized sections and stored into areas of memory called frames?
Respuesta
-
round robin
-
physical address
-
logical address
-
paged
-
single contiguous
Pregunta 24
Pregunta
True or False? A real-time system is one for which the operating system must provide a guaranteed minimum response time to the user.
Pregunta 25
Pregunta
True or False? Response time is the delay between receiving a stimulus and responding to it.
Pregunta 26
Pregunta
If a program is loaded into memory beginning at address 555555, what is the physical address of relative address 333333?
Respuesta
-
888888
-
222222
-
555555
-
error
-
333333
Pregunta 27
Pregunta
Which of the following is a CPU scheduling algorithm that allocates processes to the CPU in the order in which they arrive?
Respuesta
-
shortest-job-next
-
turnaround time
-
time slice
-
first-come, first-served
-
round robin
Pregunta 28
Pregunta
True or False? The shortest-job-next CPU scheduling algorithm is provably optimal, but requires knowledge of the future.
Pregunta 29
Pregunta
True or False? The process control block (PCB) contains the algorithm that determines which process will gain control of the CPU.
Pregunta 30
Pregunta
Which of the following describes a CPU scheduling algorithm in which each process is given a small amount of time to use the CPU before being forced to wait until its turn comes around again?
Respuesta
-
round robin
-
shortest-job-next
-
first-come, first-served
-
turnaround time
-
time slice
Pregunta 31
Pregunta
Which of the following describes a degradation of system performance because too many pages are moving to and from memory?
Respuesta
-
demand paging
-
context switch
-
swapping
-
thrashing
-
virtual memory