Scripting and Programming - Foundations - C173 Questions with and
Answers with Verified Solutions | Latest 2026 Update
Q: Is the following an algorithm?
Answer:
The pool's water level is low. Water should be added. No. An algorithm consists of
steps, where something is done in each step to solve a problem. These sentences, in
contrast, are just observations. What are the 4 phases of the Software Development
Lifecycle? The Analysis phase defines a program's goals. The Design phase defines
specifics of how to build a program. The Implementation phase involves writing the
program. The Testing phase checks that the program correctly meets the goals. A
grouping of data (variables) and operations that can be performed on that data
(functions). Object This means to have a user interact with an item at a high-level,
with lower-level internal details hidden from the user (aka information hiding or
encapsulation) This is a data type whose creation and update are constrained to
specific well-defined operations - Abstraction. Objects strongly support Abstraction,
hiding entire groups of functions and variables, exposing only certain functions to a
user. Abstract Data Type (ADT) A modeling language for software design that uses
different types of diagrams to visualize the structure and behavior of programs. It
consists of several structural and behavioral diagrams Universal Modeling Language
(UML) This diagram visualizes static elements of software, such as the types of
variables and functions used in the program
, Q: This visualizes dynamic behavior of software, such as the flow of an algorithm
Answer:
This flowchart is used to describe the flow of an activity or set of activities. -
Structural
Diagram
Behavioral Diagram
Activity Diagram
This behavioral diagram is used to visually model how a user interacts with a
software
program
This structural diagram can be used to visually model the classes of a computer
program,
including data members and functions
This behavioral diagram shows interaction between software components and
indicates order
of events - Use Case diagram
Class diagram
Sequence diagram
A code blueprint for creating an object that is composed of data members and
functions that
operate on those data members. Class
What types of diagrams are most useful in which parts of the SDLC? - Analysis: Use
Case
diagram
Desgin: Class diagram
Implementation: Activity diagram
Testing: Sequence diagram
A document describing all requirements for a software product
In what phase of the SDLC is this created? - Software Requirements Specification
(SRS)
Analysis
Do Compiled or Interpreted languages run faster? Compiled
Answers with Verified Solutions | Latest 2026 Update
Q: Is the following an algorithm?
Answer:
The pool's water level is low. Water should be added. No. An algorithm consists of
steps, where something is done in each step to solve a problem. These sentences, in
contrast, are just observations. What are the 4 phases of the Software Development
Lifecycle? The Analysis phase defines a program's goals. The Design phase defines
specifics of how to build a program. The Implementation phase involves writing the
program. The Testing phase checks that the program correctly meets the goals. A
grouping of data (variables) and operations that can be performed on that data
(functions). Object This means to have a user interact with an item at a high-level,
with lower-level internal details hidden from the user (aka information hiding or
encapsulation) This is a data type whose creation and update are constrained to
specific well-defined operations - Abstraction. Objects strongly support Abstraction,
hiding entire groups of functions and variables, exposing only certain functions to a
user. Abstract Data Type (ADT) A modeling language for software design that uses
different types of diagrams to visualize the structure and behavior of programs. It
consists of several structural and behavioral diagrams Universal Modeling Language
(UML) This diagram visualizes static elements of software, such as the types of
variables and functions used in the program
, Q: This visualizes dynamic behavior of software, such as the flow of an algorithm
Answer:
This flowchart is used to describe the flow of an activity or set of activities. -
Structural
Diagram
Behavioral Diagram
Activity Diagram
This behavioral diagram is used to visually model how a user interacts with a
software
program
This structural diagram can be used to visually model the classes of a computer
program,
including data members and functions
This behavioral diagram shows interaction between software components and
indicates order
of events - Use Case diagram
Class diagram
Sequence diagram
A code blueprint for creating an object that is composed of data members and
functions that
operate on those data members. Class
What types of diagrams are most useful in which parts of the SDLC? - Analysis: Use
Case
diagram
Desgin: Class diagram
Implementation: Activity diagram
Testing: Sequence diagram
A document describing all requirements for a software product
In what phase of the SDLC is this created? - Software Requirements Specification
(SRS)
Analysis
Do Compiled or Interpreted languages run faster? Compiled