ch. 9 python programming

¡Supera tus tareas y exámenes ahora con Quizwiz!

false

a developer should use either top-down or spiral design , but not both (T/F)

d

a graphical view of the dependencies among components of a design is called a(n) a- flowchart b- prototype c- interface d- structure chart

false

a simplified version of a program is called a simulation (T/F)

a

a simulation that uses probabilistic events is called a -Monte Carlo b- pseudo-random c- Monty Python d- chaotic

false

a top-down design is best implemented from the top down (T/F)

false

the python random funtion returns a pseudo-random int (T/F)

true

top-down design is also called stepwise refinement (T/F)

true

unit-testing is the process of trying out a component of a larger program in isolation (T/F)

c

which expression is true approximately 66% of the time? a- random() >= 66 b- random() < 66 c- random() < 0.66 d- random() >= 0.66

c

which of the following is not a step in pure top-down design? a- repeat the process on smaller problems b- detail the algorithm in terms of its interfaces with smaller problems c- construct a simplified prototype of the system d- express the algorithm in terms of smaller problems

c

how is a percent sign indicated in a string-formatting template? a- % b- \% c- %% d- \%%

false

computers can generate truly random numbers (T/F)

a

in the racquetball simulation, what data type is returned by the gameOver function? a- bool b- int c- string d- float

true

in top down design, the main algorithm is written in terms of functions that dont yet exist(T/F)

c

in top-down design, the subcomponents of the design are a- objects b- loops c- functions d- programs

false

reading design books alone will make you a great designer (T/F)

a

the arrows ina module hierarchy chart depict a- information flow b- control flow c- sticky-note attachment d- one-way streets

b

the easiest place in a system structure to start unit-testing is a- the top b- the bottom c- the middle d- the main function

b

the initial version of a system used in spiral development is called a- starter kit b- prototype c- mock-up d- beta-version

true

the main function is at the top of a functional structure chart (T/F)


Conjuntos de estudio relacionados

Family Centered Care-During Illness/Hospital 19

View Set

Lesson 10: Combining SAS Data Sets

View Set

Georgia Real Estate - Section 17 Unit 1

View Set

CH 30, Assessment of the Cardiovascular System

View Set