johnrclark12
Test por , creado hace más de 1 año

C2 Computer Science Test sobre Comp. Science Illuminated Ch 6,7,10, creado por johnrclark12 el 10/11/2014.

362
1
0
johnrclark12
Creado por johnrclark12 hace más de 9 años
Cerrar

Comp. Science Illuminated Ch 6,7,10

Pregunta 1 de 31

1

True or False? The loader is software that puts a machine-language program into memory so that it can be executed.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 2 de 31

1

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.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 3 de 31

1

Which register holds the results of operations?

Selecciona una de las siguientes respuestas posibles:

  • instruction register

  • status register

  • index register

  • program counter

  • accumulator

Explicación

Pregunta 4 de 31

1

Which part of the Pep/8 instruction specifier indicates which instruction is to be carried out?

Selecciona una de las siguientes respuestas posibles:

  • accumulator

  • operation code

  • addressing mode specifier

  • status bit

  • register specifier

Explicación

Pregunta 5 de 31

1

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.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 6 de 31

1

True or False? The data-coverage testing approach tests the limits of the program's data.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 7 de 31

1

Which of the following is true about clear-box testing?

Selecciona una de las siguientes respuestas posibles:

  • 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

Explicación

Pregunta 8 de 31

1

What is an assembler directive?

Selecciona una de las siguientes respuestas posibles:

  • 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

Explicación

Pregunta 9 de 31

1

True or False? A cooking recipe is an algorithm.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 10 de 31

1

True or False? Pseudocode uses a mixture of English and indentation to express the processing steps of an algorithm.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 11 de 31

1

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?

Selecciona una de las siguientes respuestas posibles:

  • algorithm

  • problem analysis

  • program construct

  • problem specification

  • pseudocode

Explicación

Pregunta 12 de 31

1

Which of the following best describes top-down design?

Selecciona una de las siguientes respuestas posibles:

  • 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

Explicación

Pregunta 13 de 31

1

True or False? A selection construct allows a decision to be made in an algorithm that determines which action is performed next.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 14 de 31

1

True or False? The approach to problem solving developed by George Polya is valuable, but does not apply to computer-based solutions.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 15 de 31

1

Which of the following produces in a search a true or false result?

Selecciona una de las siguientes respuestas posibles:

  • data type

  • data structure

  • information hiding

  • boolean expression

  • control structure

Explicación

Pregunta 16 de 31

1

Which of the following eliminates a large portion of the data with each comparison?

Selecciona una de las siguientes respuestas posibles:

  • binary search

  • Quicksort

  • sequential search

  • selection sort

  • bubble sort

Explicación

Pregunta 17 de 31

1

True or False? An array is a named collection of homogeneous items in which individual items are accessed by position.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 18 de 31

1

True or False? A recursive solution must have at least two cases, a base case and a general case.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 19 de 31

1

Which of the following requires the use of a "splitting value"?

Selecciona una de las siguientes respuestas posibles:

  • binary search

  • sequential search

  • selection sort

  • Quicksort

  • bubble sort

Explicación

Pregunta 20 de 31

1

True or False? An operating system manages processes, which are programs currently being executed.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 21 de 31

1

True or False? In a multiprogramming environment, more than one program is in main memory at the same time.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 22 de 31

1

Which of the following best describes a partitioning approach in which a new partition is created to accommodate a new process?

Selecciona una de las siguientes respuestas posibles:

  • dynamic partitions

  • fixed partitions

  • both

  • neither

Explicación

Pregunta 23 de 31

1

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?

Selecciona una de las siguientes respuestas posibles:

  • round robin

  • physical address

  • logical address

  • paged

  • single contiguous

Explicación

Pregunta 24 de 31

1

True or False? A real-time system is one for which the operating system must provide a guaranteed minimum response time to the user.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 25 de 31

1

True or False? Response time is the delay between receiving a stimulus and responding to it.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 26 de 31

1

If a program is loaded into memory beginning at address 555555, what is the physical address of relative address 333333?

Selecciona una de las siguientes respuestas posibles:

  • 888888

  • 222222

  • 555555

  • error

  • 333333

Explicación

Pregunta 27 de 31

1

Which of the following is a CPU scheduling algorithm that allocates processes to the CPU in the order in which they arrive?

Selecciona una de las siguientes respuestas posibles:

  • shortest-job-next

  • turnaround time

  • time slice

  • first-come, first-served

  • round robin

Explicación

Pregunta 28 de 31

1

True or False? The shortest-job-next CPU scheduling algorithm is provably optimal, but requires knowledge of the future.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 29 de 31

1

True or False? The process control block (PCB) contains the algorithm that determines which process will gain control of the CPU.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 30 de 31

1

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?

Selecciona una de las siguientes respuestas posibles:

  • round robin

  • shortest-job-next

  • first-come, first-served

  • turnaround time

  • time slice

Explicación

Pregunta 31 de 31

1

Which of the following describes a degradation of system performance because too many pages are moving to and from memory?

Selecciona una de las siguientes respuestas posibles:

  • demand paging

  • context switch

  • swapping

  • thrashing

  • virtual memory

Explicación