• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 5 pages
Exam (elaborations)

C173/D278 Study Questions By Competency Correct 100%

Document preview thumbnail
Preview 2 out of 5 pages

What is the purpose of a variable? - ANSWERa named item like x, used to hold a value. How do you save a value to a variable? - ANSWERAn assignment statement assigns a variable with a value. (x = 0) What is a programming expression? - ANSWERA number, variable (x), or simple calculation (numApples + 1).

Content preview

C173/D278 STUDY QUESTIONS BY
COMPETENCY CORRECT 100%
What is the purpose of a variable? - ANSWERa named item like x, used to hold a value.

How do you save a value to a variable? - ANSWERAn assignment statement assigns a
variable with a value. (x = 0)

What is a programming expression? - ANSWERA number, variable (x), or simple
calculation (numApples + 1).

What is an identifier? - ANSWERA name created for a variable or a function.

What constitutes a valid identifier? - ANSWERAn identifier must start with a letter and
be a sequence of letters, underscores, and digits.

What is a literal? - ANSWERany number, text, or other information that directly
represents a value.

What is an operator? - ANSWERa symbol that performs a built-in calculation. (+, -, *, /)

What precedence rules does programming use? - ANSWERPEMDAS

How does an integer differ from a float? - ANSWERIntegers are whole numbers and
used for counted values.
Floats allow the decimal point to appear anywhere in the number and are used for
values that are measured or fractions.

What happens if you divide two integers? - ANSWERyou will get an integer or the
answer will be cut short

what happens if you divide an integer and float? - ANSWERIt returns a float

What happens if you divide a nonzero floating point number by zero? - ANSWERIn
coral -infinity or infinity. Otherwise not a number.

How do you convert an item's type? - ANSWERBy using a type conversion.

What does the modulo operator do? - ANSWERevaluates to the remainder of the
division of two integer operands.

What is the difference in a variable and a constant? - ANSWERA variable can change
while a constant is a value that always stays the same.

, How does an array work? - ANSWERIt is a collection of data stored in an index
together.

What does index reference? - ANSWERThe location where values are stored in an
array.

What are the four phases of SDLC? - ANSWERanalysis, design, implementation,
testing

What activities takes place in each of the four phases? - ANSWERanalysis - defines
programs goals
design - defines how to build the program
implementation - writing the program
testing - checks that the program meets the goals

In which phase do you write code? - ANSWERimplementation

How does a waterfall approach differ from an agile approach? - ANSWERIn a waterfall
approach yo cannot go back to previous phases. In agile approach you can go back to
different phases.

What is UML? - ANSWERa modeling language that uses different types of diagrams to
visualize the structure and behavior of a program

Which UML diagrams are structural? - ANSWERclass diagram

Which UML diagrams are behavioral? - ANSWERActivity diagram, use case diagram,
sequence diagram

Which UML diagrams are activity? - ANSWERflowcharts

Which UML diagrams are used in the analysis phase? - ANSWERUse case diagram

Which UML diagrams are used in the design phase? - ANSWERclass diagram

Which UML diagrams are used in the implementation phase? - ANSWERActivity

Which UML diagrams are used in the testing phase? - ANSWERSequence diagram

What is a use case diagram used for? - ANSWERvisually models how a user interacts
with a program.

What is a class diagram used for? - ANSWERvisually models the classes of a computer
program.

Document information

Uploaded on
November 22, 2025
Number of pages
5
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$12.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
shantelleG
4.1
(119)
Sold
666
Followers
369
Items
18478
Last sold
3 days ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions