CSE 1321 Lab Final Exam Study Guide (NEW UPDATED VERSION) LATEST ACTUAL EXAM
QUESTIONS AND CORRECT ANSWERS (VERIFIED QUESTIONS AND ANSWERS) | GUARANTEED
PASS A+ [2025]
T/F: Software testing involves the execution of a software component or system component to evaluate
one or more properties of interest. - CORRECT ✔✔✔✔✔ True
IDE stands for? - CORRECT ✔✔✔✔✔ Integrated Development Environment
T/F: Input is sending messages to the console/user. - CORRECT ✔✔✔✔✔ False
Program design consists of - CORRECT ✔✔✔✔✔ steps a programmer should do before they start
coding a program in a specific language.
T/F: A flowchart is a type of diagram that represents an algorithm, workflow or process. - CORRECT
✔✔✔✔✔ True
T/F: Output is process of reading information from user, usually via keyboard or mouse. - CORRECT
✔✔✔✔✔ False
Debugging is the process of - CORRECT ✔✔✔✔✔ solving errors in the source code.
T/F: The MAIN method tells the program where to begin running code as it is the entry or starting point for
the program. - CORRECT ✔✔✔✔✔ True
Pseudocode is? - CORRECT ✔✔✔✔✔ an informal high-level description of the operating principle of
a computer program or algorithm.
Programming starts with? - CORRECT ✔✔✔✔✔ developing an algorithm.
What would be the best datatype to represent product? A variable that stores information about the
number of items currently in stock in a grocery store.
A. float
B. double
C. int
D. String - CORRECT ✔✔✔✔✔ C. int
2026 2027 GRADED A+
, 2|Page
What is the output of the following code?
int num1 = 500;
int num2 = 200;
int num3 = 300;
double average = num1 + num2 + num;
PRINTLINE(average);
A. 800.0
B. 333.0
C. 333.3333333333
D. Error - CORRECT ✔✔✔✔✔ A. 800
T/F: If the expression xyz % 3 == 0 is true and xyz is a positive integer, then the value stored in the variable
xyz is evenly divisible by 3. - CORRECT ✔✔✔✔✔ True
T/F: A String (or string) object is a primitive data type. - CORRECT ✔✔✔✔✔ False
What is the value of j after this code is executed?
int i = 6, int j=10;
j+=i; - CORRECT ✔✔✔✔✔ 16
What is the output of the following code?
int u = 3;
int v = 5;
u += v;
v += u;
u -= v;
v -= u;
PRINT (u + ", " + v); - CORRECT ✔✔✔✔✔ -5, 18
Consider the expression: value >= 30
Which of the following is equivalent to this expression:
A. NOT(value < 29)
B. value > 30 OR value == 30
C. NOT(value > 31)
D. value > 30 AND value == 30 - CORRECT ✔✔✔✔✔ B. value > 30 OR value == 30
2026 2027 GRADED A+