create the 100 questions and answers well structured and well used right tick to mark correct
answer CSE 1321 Complete Exam Bundle: Test 1, Test 2 & Final Study Guides (2026/2027) –
Accurate Questions & Detailed Solutions | Kennesaw State University
,CSE 1321 – Programming & Problem Solving I
Complete Exam Study Bundle (Tests 1, 2 & Final)
Kennesaw State University – 2026/2027 Edition
Test 1 Study Guide – Chapters 1-4
Module 1: Introduction to Programming & Algorithms
Q1: What is an algorithm?
• A programming language
• [✓] A step-by-step procedure for solving a problem
• A type of compiler error
• A hardware component
Q2: Which phase of the software development life cycle involves writing the actual code?
• Analysis
• Design
• [✓] Implementation
• Testing
Q3: What is pseudocode primarily used for?
• Executing programs
• [✓] Planning program logic before coding
• Fixing syntax errors
• Compiling Java programs
Q4: Which symbol represents a terminal/start/end in a flowchart?
• Rectangle
• Parallelogram
• [✓] Oval
• Diamond
,Module 2: Java Fundamentals & Data Types
Q5: Which of the following is a valid Java identifier?
• 2ndValue
• my-variable
• [✓] _count
• public
Q6: What is the result of 9 % 4 in Java?
• 2.25
• 0
• [✓] 1
• 36
Q7: Which data type should be used for a variable storing a single character?
• String
• int
• [✓] char
• boolean
Q8: What is the value of double x = ?
• 2.5
• [✓] 2.0
• 2
• Compile error
Module 3: Input/Output & Expressions
Q9: Which package is required for using the Scanner class?
• java.lang
, • java.util
• [✓] java.util
• java.io
Q10: What does System.out.println() do?
• Reads user input
• [✓] Prints output with a newline
• Declares a variable
• Creates a GUI
Q11: Which operator has the highest precedence?
• + (addition)
• = (assignment)
• [✓] () (parentheses)
• == (equality)
Q12: What is the result of Math.pow(2, 3)?
• 6
• 8.0
• [✓] 8.0
• 9
Module 4: Conditional Statements
Q13: What is the output of:
java
int x = 10;
if (x > 5) {
System.out.print("A");
} else if (x > 8) {