Sample Exam 1 PDF
Document Details
Uploaded by ErrFreeWendigo5560
Penn State
Tags
Related
- 22316 Object-Oriented Programming using C++ Sample Question Paper PDF
- CS304 Object Oriented Programming Midterm Exam Papers PDF 2010
- MCAD-501 Object Oriented Programming in C++ May 2023 Exam PDF
- MCADD-501 Object Oriented Programming in C++ PDF November 2018 Exam Paper
- BCA Object Oriented Programming Past Paper Dec 2023 PDF
- Đề 1 - C++ Exam Paper PDF
Summary
This is a sample programming exam with multiple-choice questions. The questions cover topics such as debugging, code fragments, and data types in C++.
Full Transcript
1. Locating and fixing errors in a program is called _______________ a. editing d. linking b. debugging e. output c. compiling 2. Both words in the following statement show up in Visual Studio and which of th...
1. Locating and fixing errors in a program is called _______________ a. editing d. linking b. debugging e. output c. compiling 2. Both words in the following statement show up in Visual Studio and which of the following would occur. int else; a. an error is generated b. an warning is generated, but the code still compiles c. no warning or error is generated d. both a and b e. an error is generated, but the code still compiles and executes 3. What is the result of the following code fragment assuming that all variables have been declared correctly and that the user enters 30 at the prompt (be very careful!)? int1 = 120; cout