This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: Practice Exam 1 PIC 10A Exam 1: Monday 10/23, 9:00-9:50 am Disclaimer : Your real exam will be similar to this practice exam in spirit, but of course the questions will not be exactly the same. Weve covered many topics in the last few weeks, so all topics are not represented on this practice exam. But they're still fair game for Monday's exam. To cover more ground, this practice exam is longer than Monday's exam will be. The exam covers Sec 1.1-5.3 in your book. You have 50 minutes to complete this exam. You are not allowed to use any books, notes, calculators, or electronic devices. Write your answers carefully. Incomplete, unintelligible, or illegible answers will receive little or no credit. When you are asked to write a program, it is not necessary to comment your code. There are a total of 100 points on this exam. 1.) [9 points] Give 3 reasons why it's important to comment your code. What are the 2 different ways to comment code in C++ and how are they different?...
View Full Document
This note was uploaded on 04/27/2010 for the course PIC 157-050-20 taught by Professor Wittman during the Spring '10 term at UCLA.
- Spring '10