正在加载图片...
Handout #61 CS106A Summer 2002 August 7,2002 Alex Khomenko Practice Final Note:this practice exam is the actual exam from Autumn 01.A second practice exam is available in electronic form from the class website.We have removed some of the blank space for ans wers in order to save some trees.Solutions to both practice exams will be distributed in electronic form some time next week. Exam Instructions Answer each of the five questions included in the exam.Write all of your answers directly on the examination paper,including any work that you wish to be considered for partial credit. The examination is open-book,and you may make use of the text,handouts,or course notes.You may use any functions developed in the text or the handouts and need not rewrite the code;simply cite in a comment the function name,the source,and the page number.You may not use a computer of any kind. On header files:Don't worry about putting the necessary #include statements in your solutions.Just assume the required strlib,genlib,etc.header files are visible to you. On commenting:Comments regarding implementation are not required on the exam. Uncommented code that gets the job done will be sufficient for full credit on the problem.On the other hand,comments may help you receive partial credit on a problem if they help us determine what you were trying to do,even if your code is wrong. On style:We will not require you to adhere to the strictest principles of good style for this exam, but a reasonable decomposition is expected. On time:You will have three hours to complete this exam.Budget your time and try to leave some time at the end to go over your work.If you run out of time on a problem,an English language "pseudocode"version may earn you partial credit. On function prototypes.You need not include function prototypes on any of the problems. I accept the letter and spirit of the honor code-I have not given or received aid on this exam. Name(signed) Score Grader 1.Strings (15) 2.Arrays (20) 3.Function Trace (15) 4.Useful Pointers (20) 5.Data Structures (30)Handout #61 Summer 2002 August 7, 2002 Alex Khomenko Practice Final Note: this practice exam is the actual exam from Autumn 01. A second practice exam is available in electronic form from the class website. We have removed some of the blank space for answers in order to save some trees. Solutions to both practice exams will be distributed in electronic form some time next week. Exam Instructions Answer each of the five questions included in the exam. Write all of your answers directly on the examination paper, including any work that you wish to be considered for partial credit. The examination is open-book, and you may make use of the text, handouts, or course notes. You may use any functions developed in the text or the handouts and need not rewrite the code; simply cite in a comment the function name, the source, and the page number. You may not use a computer of any kind. On header files: Don't worry about putting the necessary #include statements in your solutions. Just assume the required strlib, genlib, etc. header files are visible to you. On commenting: Comments regarding implementation are not required on the exam. Uncommented code that gets the job done will be sufficient for full credit on the problem. On the other hand, comments may help you receive partial credit on a problem if they help us determine what you were trying to do, even if your code is wrong. On style: We will not require you to adhere to the strictest principles of good style for this exam, but a reasonable decomposition is expected. On time: You will have three hours to complete this exam. Budget your time and try to leave some time at the end to go over your work. If you run out of time on a problem, an English language "pseudocode" version may earn you partial credit. On function prototypes. You need not include function prototypes on any of the problems. I accept the letter and spirit of the honor code— I have not given or received aid on this exam. Name (signed) __________________________________________________________ Score Grader 1. Strings (15) ______ ______ 2. Arrays (20) ______ ______ 3. Function Trace (15) ______ ______ 4. Useful Pointers (20) ______ ______ 5. Data Structures (30) ______ ______ CS106A
向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有