PRE -ASSESSMENT REVIEW 2025/2026 WITH 250
ACTUAL EXAM QUESTIONS AND DETAILED ANSWERS
(100% CORRECT ANSWERS) GRADED A+
What is a characteristic of interpreted programs? - ANSWER - They can be
modified at run time
Which characteristic specifically describes a markup language? - ANSWER
- Tags surround text to describe desired formatting
Which characteristic specifically describes interpreted language? -
ANSWER - They can run on any machine having the right interpreter
Which data type is used for items that are measured in length? - ANSWER
- Float
What is the purpose of parentheses () in a programming expression? -
ANSWER - To group expressions
Which data type should be used to keep track of how many planes are in a
hanger? - ANSWER - Integer
What is a valid user-defined function name? - ANSWER - Variable identifier
pg. 1
,What is the return value of a function? - ANSWER - Output of a function
What are the three diagrams that UML consists of? - ANSWER - A structure
diagram, a behavioral diagram, a sequence diagram
What is a structural diagram? - ANSWER - it visualizes static elements of
software, such as the types of variables and functions used in a program
What is a behavioral diagram? - ANSWER - It visualizes dynamic behavior
of a software, such as the flow of an algorithm
What are the two behavioral diagrams of UML? - ANSWER - A case
diagram and a sequence diagram
What is the structural diagram of UML? - ANSWER - A class diagram
What is a behavioral Case diagram? - ANSWER - It is used to visually
model how a user interacts with a software program
What is a structural class diagram? And what does class mean? -
ANSWER - It is used to visually model the classes of a computer program.
A class is a code blueprint (flowchart) for creating an object
What is a behavioral sequence diagram? - ANSWER - It shows interactions
between software components and indicates the order of events.
What are the equivalent UML diagrams used in SDLC phases?
1. Analysis
pg. 2
,2. Design
3. Implementation
4. Testing - ANSWER - A Case Diagram, a Class Diagram, Flowchart
(Activity Diagram), and a Sequence Diagram (respectively)
When should a programmer develop an algorithm to solve a problem? -
ANSWER - Before writing a program to solve the problem.
Which phase of a waterfall approach would create a sequence diagram that
specifies the required order of events between completed program
components? - ANSWER - Testing
Which phase of an agile approach would define a hypothesis to find a
problem in a program? - ANSWER - Testing
Which phase of an agile approach would create an executable program? -
ANSWER - Implementation
Which phase of an agile approach would create a list of components
needed to build an online auction site? - ANSWER - Design
Which phase of a waterfall approach defines a program's goals? -
ANSWER - Analysis
Hierarchical Debugging - ANSWER - Dividing the statements into regions
and inserts one debug output statements after each region
What is a coding library? - ANSWER - a set of pre-written functions that
carry out common tasks, that programmers can use to improve productivity.
pg. 3
, Define Library Functions - ANSWER - Functions that relate to the same
purpose (i.e., teacher, student, grades)
What is a characteristic of a Markup Language? - ANSWER - Allows a
developer to describe a document's content, formatting
What is the main characteristic of Object-Oriented Language - ANSWER -
It supports decomposing programs into objects (C++, Java, Python, C#)
What is the main characteristic of Interpreted/Scripting Language -
ANSWER - It runs sequential statements by another program called an
interpreter (Python, Javascript)
What is the main characteristics of a Compiled Language? - ANSWER - A
program which is converted by a compiler into machine code which runs on
particular machines (C++, Java)
What is SDLC? - ANSWER - The System Development Life Cycle is the
development phases of programs
What is the Waterfall Approach? - ANSWER - A program built by carrying
out each SDLC phase in sequence
What are the four phases of SDLC? - ANSWER - Analysis, Design,
Implementation, and Testing
What is the Agile (Spiral) Approach? - ANSWER - A program built by doing
small amounts of each SDLC phases in sequence, then repeating the
process
pg. 4