Ch02_Logic8e_Solutions - Programming Logic and Design 8e Solutions 2-1 Programming Logic and Design 8th Edition Chapter 2 Review Questions 1 What does a

Ch02_Logic8e_Solutions - Programming Logic and Design 8e...

This preview shows page 1 - 5 out of 41 pages.

Programming Logic and Design, 8e Solutions 2-1 Programming Logic and Design, 8th Edition Chapter 2 Review Questions 1.What does a declaration provide for a variable? a.a nameb.a data typec.both of the aboved.none of the above 2.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 _____. 5.The assignment operator _____.
Programming Logic and Design, 8e Solutions 2-2 a.is a binary operatorb.has left-to-right associativityc.is most often represented by a colond.two of the above 6.Which of the following is true about arithmetic precedence? 7.Which of the following is a term used as a synonym for modulein some programming languages? 8.Which of the following is a reason to use modularization? 9.What is the name for the process of paying attention to important properties while ignoring nonessential details? a.abstractionb.extractionc.extinction
Programming Logic and Design, 8e Solutions 2-3 d.modularization 10.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.globalb.invisiblec.in scoped.undefined 14.Which of the following is nota typical housekeeping task?
Programming Logic and Design, 8e

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture