D278 Exam Prep
Which phase of a waterfall approach would create a sequence diagram that specifies the required order of events between completed program components?
Testing
Which phase of an agile approach would define a hypothesis to find a problem in a program?
Testing
Which characteristic specifically describes a markup language?
Tags surround text to describe desired formatting
What is a characteristic of interpreted programs?
They can be modified at run time
Which characteristic specifically describes interpreted language?
They can run on any machine having the right interpreter
What is a coding library?
a set of pre-written functions that carry out common tasks, that programmers can use to improve productivity.
When should a programmer develop an algorithm to solve a problem?
Before writing a program to solve the problem.
What is the main characteristic of Interpreted/Scripting Language
It runs sequential statements by another program called an interpreter (Python, Javascript)
What is a behavioral sequence diagram?
It shows interactions between software components and indicates the order of events.
What is the main characteristic of Object-Oriented Language
It supports decomposing programs into objects (C++, Java, Python, C#)
What is a behavioral diagram?
It visualizes dynamic behavior of a software, such as the flow of an algorithm
What is an advantage of a Compiled Language?
Runs faster than interpreted language
What is an advantage of Interpreted/Scripting Language
Runs on most machines with an interpreter
What are the two behavioral diagrams of UML?
A case diagram and a sequence diagram
What is the structural diagram of UML?
A class diagram
What is the Waterfall Approach?
A program built by carrying out each SDLC phase in sequence
What is the Agile (Spiral) Approach?
A program built by doing small amounts of each SDLC phases in sequence, then repeating the process
What is the main characteristics of a Compiled Language?
A program which is converted by a compiler into machine code which runs on particular machines (C++, Java)
What is a characteristic of a Markup Language?
Allows a developer to describe a document's content, formatting
What is a characteristic of compiled language?
Converts to machine language before running
What are the equivalent UML diagrams used in SDLC phases? 1. Analysis 2. Design 3. Implementation 4. Testing
A Case Diagram, a Class Diagram, Flowchart (Activity Diagram), and a Sequence Diagram (respectively)
What are the three diagrams that UML consists of?
A structure diagram, a behavioral diagram, a sequence diagram
Which phase of a waterfall approach defines a program's goals?
Analysis
What are the four phases of SDLC?
Analysis, Design, Implementation, and Testing
Which language is not built on object-oriented design principles?
C
SDLC - Define the Testing Phase
Checks that the program correctly meets goals
Define Library Functions
Functions that relate to the same purpose (i.e., teacher, student, grades)
SDLC - Define the Analysis Phase
Defines a program's goals
SDLC - Define the Design Phase
Defines specifics of how to build a program
Which phase of an agile approach would create a list of components needed to build an online auction site?
Design
Hierarchical Debugging
Dividing the statements into regions and inserts one debug output statements after each region
What is a characteristic of Interpreted/Scripting Language
Dynamically typed - changing variables
Which data type is used for items that are measured in length?
Float
What relationship is common among a programming library's functions?
Functions all relate to the same purpose.
What is a popular Markup Language?
HTML: describes texts, links, images, and other features
Which phase of an agile approach would create an executable program?
Implementation
What does a programmer do first to use an existing programming library?
Include the library
Which data type should be used to keep track of how many planes are in a hanger?
Integer
SDLC - Define the Implementation Phase
Involves writing the program
What is a behavioral Case diagram?
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?
It is used to visually model the classes of a computer program. A class is a code blueprint (flowchart) for creating an object
A language uses tags around text to indicate how that text should be formatted. Which characteristic describes a language having such tags?
Markup
A language substantially supports a programmer creating items like person, teacher, and students. Each item has internal data and some operations. Which characteristic describes that language?
Object-oriented
What is the return value of a function?
Output of a function
Which language is dynamically typed?
Python
A programmer wants a compiler to report an error if an integer variable is assigned with a string. Which type of language should the programmer use?
Statically Typed
What is a characteristics of a Compiled Language?
Statically-typed - constant variable declaration
What is SDLC?
The System Development Life Cycle is the development phases of programs
What is an advantage of using a programming library?
The code has already been tested.
What is the purpose of parentheses () in a programming expression?
To group expressions
What does UML mean and what is its definiton?
Univeral Modeling Language is a model for software design that uses different types of diagrams to visualize the structure and behavior of programs
What is a valid user-defined function name?
Variable identifier
What is a structural diagram?
it visualizes static elements of software, such as the types of variables and functions used in a program