Quiz
Comp. Science Illuminated Ch 6,7,10
Fragen in diesem Quiz (31)
1True or False? The loader is software that puts a machine-language program into memory so that it can be executed.
- ARichtig
- BFalsch
2True 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.
- ARichtig
- BFalsch
3Which register holds the results of operations?
- Ainstruction register
- Bstatus register
- Cindex register
- Dprogram counter
- Eaccumulator
4Which part of the Pep/8 instruction specifier indicates which instruction is to be carried out?
- Aaccumulator
- Boperation code
- Caddressing mode specifier
- Dstatus bit
- Eregister specifier
5True or False? In the Pep/8 machine, the contents of the A register can be compared to the contents of a place in memory.
- ARichtig
- BFalsch
6True or False? The data-coverage testing approach tests the limits of the program's data.
- ARichtig
- BFalsch
7Which of the following is true about clear-box testing?
- Athe testing is performed each time the program changes
- Bthe testing is performed by dedicated testers
- Cthe test cases are based on the input
- D the test cases are based on the output
- Ethe test cases are based on the code
8What is an assembler directive?
- Aan assembly language instruction
- Ba human readable comment
- Can instruction that begins the assembly language translation
- Dan alternative way to specify the operand
- Ean instruction to the assembler program
9True or False? A cooking recipe is an algorithm.
- ARichtig
- BFalsch
10True or False? Pseudocode uses a mixture of English and indentation to express the processing steps of an algorithm.
- ARichtig
- BFalsch
11Which 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?
- Aalgorithm
- Bproblem analysis
- Cprogram construct
- Dproblem specification
- Epseudocode
12Which of the following best describes top-down design?
- Aconverting classes into objects
- Bgathering small solutions to related subproblems into a complete solution
- Cdecomposing a general solution into more concrete solutions to subproblems
- Drefining a particular solution into one that is more abstract
- Ecoverting modules into subproblems
13True or False? A selection construct allows a decision to be made in an algorithm that determines which action is performed next.
- ARichtig
- BFalsch
14True or False? The approach to problem solving developed by George Polya is valuable, but does not apply to computer-based solutions.
- ARichtig
- BFalsch
15Which of the following produces in a search a true or false result?
- Adata type
- Bdata structure
- Cinformation hiding
- Dboolean expression
- Econtrol structure
16Which of the following eliminates a large portion of the data with each comparison?
- Abinary search
- BQuicksort
- C sequential search
- Dselection sort
- Ebubble sort
17True or False? An array is a named collection of homogeneous items in which individual items are accessed by position.
- ARichtig
- BFalsch
18True or False? A recursive solution must have at least two cases, a base case and a general case.
- ARichtig
- BFalsch
19Which of the following requires the use of a "splitting value"?
- Abinary search
- Bsequential search
- Cselection sort
- DQuicksort
- Ebubble sort
20True or False? An operating system manages processes, which are programs currently being executed.
- ARichtig
- BFalsch
21True or False? In a multiprogramming environment, more than one program is in main memory at the same time.
- ARichtig
- BFalsch
22Which of the following best describes a partitioning approach in which a new partition is created to accommodate a new process?
- Adynamic partitions
- Bfixed partitions
- Cboth
- Dneither
23Which 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?
- Around robin
- Bphysical address
- Clogical address
- Dpaged
- E single contiguous
24True or False? A real-time system is one for which the operating system must provide a guaranteed minimum response time to the user.
- ARichtig
- BFalsch
25True or False? Response time is the delay between receiving a stimulus and responding to it.
- ARichtig
- BFalsch
26If a program is loaded into memory beginning at address 555555, what is the physical address of relative address 333333?
- A888888
- B222222
- C555555
- Derror
- E333333
27Which of the following is a CPU scheduling algorithm that allocates processes to the CPU in the order in which they arrive?
- Ashortest-job-next
- Bturnaround time
- C time slice
- D first-come, first-served
- Eround robin
28True or False? The shortest-job-next CPU scheduling algorithm is provably optimal, but requires knowledge of the future.
- ARichtig
- BFalsch
29True or False? The process control block (PCB) contains the algorithm that determines which process will gain control of the CPU.
- ARichtig
- BFalsch
30Which 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?
- Around robin
- Bshortest-job-next
- Cfirst-come, first-served
- Dturnaround time
- Etime slice
31Which of the following describes a degradation of system performance because too many pages are moving to and from memory?
- Ademand paging
- Bcontext switch
- Cswapping
- Dthrashing
- E virtual memory
Informationen
- Beschreibung
- C2 Computer Science Quiz am Comp. Science Illuminated Ch 6,7,10, erstellt von johnrclark12 am 10/11/2014.
- Autor
- johnrclark12
- Sprache
- English
- Aufrufe
- 388
- Schlagwörter
- Bewertung
- Noch keine Bewertungen Bewerte dieses Quiz