CSE 231 Study Guide - Midterm Guide: Control Flow, Typographical Error, Function Object

86 views9 pages

Document Summary

B) you have 80 minutes to complete the exam (8:30-9:50: this exam booklet contains 26 multiple choice questions, each weighted equally (5 points) and one 20 point write some code question. Eight sides, 4 pages total: you may use one 8. 5" x 11" note sheet during the exam. Directions: do not open your exam booklet until you have been told to. When leaving, please be courteous to those still taking the exam. A rate of 2. 5 minute per multiple-choice problem leaves 15 minutes to write the 20 point program at the end. B d e c d d e d c ac. D a e d a bc d c b c. 6: 1, 2, 3, 4, none of the above. Please, write on scrap paper first, then copy your answer to the next page. For example: my_func(12, "abc123") "12 + 123 = 135" my_func(20, "a5b6c7") "20 + 567 = 587 my_func(100, "hi mom") "100 + 0 = 100"