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-2d.string constant5.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
Programming Logic and Design, 9eSolutions 2-3ignoring nonessential details?a.abstractionb.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.
Programming Logic and Design, 9eSolutions 2-413. In most modern programming languages, a variable or constant that is declared in a module is ___________ in that module.a.globalb.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?