- Study guides, Class notes & Summaries
Looking for the best study guides, study notes and summaries about ? On this page you'll find 11 study documents about .
11 results
Exam (elaborations)
Cmsc 140- Final Exam 2025/2026 Questions And Answers 100% Pass
Cmsc 140- Final Exam 2025/2026 
Questions And Answers 100% Pass
Exam (elaborations)
Cmsc 140 Final Review Part 2 Exam 
Updated Actual Questions And 
Correct Answers
PopularCMSC 140 Final Review Part 2 Exam 
UPDATED ACTUAL QUESTIONS AND 
CORRECT ANSWERS 
Global Variables - CORRECT ANSWER 
accessed and changed in any function 
Local Variables - CORRECT ANSWER 
Variables defined outside of any function, and can be 
Variables defined within a function, and can only be 
changed and accessed within that function (unless passed as a parameter) 
What is the difference between global and local variables? - CORRECT ANSWER 
Global 
variables can be acc...
Exam (elaborations)
Cmsc 140 Final Exam Review Updated 
Questions And Correct Answers
NewCMSC 140 Final Exam Review UPDATED 
QUESTIONS AND CORRECT ANSWERS 
What does it mean to increment something? What operator is used in C++ to do this? - CORRECT 
ANSWER 
To increment something is to increase its value by 1. The operator in C++ is the ++ 
(plus-plus) operator. 
What does it mean to decrement something? What operator is used in C++ to do this? - CORRECT 
ANSWER 
To decrement something is to decrease its value by 1. The operator in C++ is the -- 
(minus-minus) opera...
Exam (elaborations)
Cmsc 140- Final Exam Questions With 100% Correct Answers | Graded A+
NewCMSC 140- FINAL EXAM 
QUESTIONS WITH 100% CORRECT 
ANSWERS | GRADED A+ 
QUESTION 1: 
The last legal subscript that can be used with the array intlist declared below (see array declaration 
below) is [×1) 
Avray declaration: intlist [10] - answer-9 
QUESTION 2: 
Indicate If the following condition is True or False 
Assume the variables x=5 y=6 and z=8 
7 <=(x+y) && z > 4 - answer-True 
QUESTION 3: 
Choose the best answer to fill in the blank in the statement below. 
A (An) BLANK function i...
Exam (elaborations)
Cmsc 140 Final Exam Review | Questions And Answers | 2025/2026 Update | Rated 100% Correct
NewCmsc 140 Final Exam Review | Questions And Answers | 2025/2026 Update | Rated 100% Correct
Exam (elaborations)
Cmsc 140 Final Exam Questions And Answers Latest Update 2025-2026
CMSC 140 FINAL EXAM QUESTIONS AND ANSWERS LATEST UPDATE 
QUESTION 1: 
 
The last legal subscript that can be used with the array intlist declared below (see array declaration below) is [×1) 
Avray declaration: intlist [10] - Answers 9 
QUESTION 2: 
 
Indicate If the following condition is True or False 
Assume the variables x=5 y=6 and z=8 
7 <=(x+y) && z > 4 - Answers True 
QUESTION 3: 
Choose the best answer to fill in the blank in the statement below. 
A (An) BLANK function is a funct...
Exam (elaborations)
Cmsc 140 Final Exam Review Questions
CMSC 140 FINAL EXAM REVIEW QUESTIONS 
What is the difference in using a increment/decrement operator in postfix or prefix? - Answer -In prefix mode, the value is incremented before used in any expression in the same statement. In postfix mode, the value is incremented after used in any expression in the same statement.
Exam (elaborations)
CMSC 140 Final Exam Review Questions And Answers Rated A+ New Update Assured Satisfaction
What is a reference variable? When used as function parameters, how do they differ 
from normal parameters? - ️️A reference variable is a variable that, used as a 
function parameter, can be changed within the function. This is unlike normal variables, 
which any changes in a function to the variable will not remain outside the function. 
What does it mean to find the modulus of something? What operator is used in C++ to 
do this? - ️️To find the modulus is to find the remainder after th...
Exam (elaborations)
CMSC 140 midterm Questions and Answers(A+ Solution guide)
Code the following statements using combined assignment operators: 
1. price1 is equal to price1 plus 5. 
2. price2 is equal to price2 times 7.0 
3. price3 is equal to price3 divided by 4.5 
4. totalPrice is equal to totalPrice modulus 3 
Hint: Things like an equal sign or multiply sign but initialize the variables. - ️️double 
price1 = 3.45, price2 = 5.79, price3 = 15.64; 
int totalPrice = 98; 
//1. 
price1 += 5; 
//2. 
price2 *= 7.0; 
//3. 
price3 /= 4.5; 
//4. 
totalPrice %= 3;
Exam (elaborations)
CMSC 140 Midterm Review (Chap 1-4)
CMSC 140 Midterm Review (Chap 1-4)
Exam (elaborations)
CMSC 140 Midterm Questions With Correct Answers.
CMSC 140 Midterm Questions With Correct Answers.