100%(1)1 out of 1 people found this document helpful
This preview shows page 1 - 5 out of 35 pages.
Programming Logic and Design, 9eSolutions 2-1Programming Logic and Design, 9th EditionChapter 2Review Questions1.What does a declaration provide for a variable?a.a nameb.a data typec.both of the aboved.none of the above2.A variable’s data type describes all of the following except________.3.The value stored in an uninitialized variable is _________.4.The value 3 is a ___________.
Programming Logic and Design, 9eSolutions 2-25.The assignment operator ___________.a.is a binary operatorb.has left-to-right associativityc.is most often represented by a colond.two of the above6.Multiplication has a lower precedence than _____.7.Which of the following is not a term used as a synonym for module?8.Modularization _____.9.What is the name for the process of paying attention to important properties while ignoring nonessential details?a.abstraction
Programming Logic and Design, 9eSolutions 2-3b.extractionc.extinctiond.modularization10. Every module has all of the following except___________.11. Programmers say that one module can ___________ another, meaning that the first module causes the second module to execute.12. The more that a module’s statements contribute to the same job, the greater the ___________ of the module.13. In most modern programming languages, a variable or constant that is declared in a module is ___________ in that module.a.global
Programming Logic and Design, 9eSolutions 2-4b.invisiblec.in scoped.undefined14. Which of the following is not a typical housekeeping task?15. Which module in a typical program will execute the most times?