Computer Science 360 Quiz 9 Name___________________ 1. The recommended maximum on the number of lines of code that should be written before a compile is: a. 1 b. 10 c. 100 d. 1000 2. Writing code that looks like: count = (a->b[myfun.sub]->start++) + --j*bigval(testit(x % 15)/ 3 * y); a. Should be done whenever possible b. Is a GREAT way to convince your because it greatly speeds execution coworkers how brilliant you are. times c. Is a good way to convince knowledgable coworkers what an incompetent wannabe you are. 3. The consequence of using the traits of an ineffective programmer is: a. it takes you longer to get the b. it takes less time to get the program entered into the computer program entered but debugging but debugging is way faster. is way slower. c. both program entry and debugging are d. both program entry and debugging way faster. are way slower. 4. The number of lines of debugging diagnostics per line of real code used by an inexperienced programmer in developing his or her first multithreaded program is closest to: a. one line per function b. one line per every 10 lines of code. c. one line per line of code 5. The effect of moving the comment // from the second line to the first line is: #define dprintf(format, args...) fprintf(stderr, format, ##args) // #define dprintf(format, args...) a. disable ALL dprint() diagnostics b. disable ONE dprintf() a. enable ALL dprint() diagnostics b. enable ONE dprintf()