Deck 7: Wage Calculator Application
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/16
Play
Full screen (f)
Deck 7: Wage Calculator Application
1
The Watch window is available in ______.
A) break mode
B) debug mode
C) design mode
D) run mode
A) break mode
B) debug mode
C) design mode
D) run mode
break mode
2
An algorithm specifies________ .
A) the actions to be executed
B) the control structure of an application
C) the order in which the actions are executed
D) Both a and c.
A) the actions to be executed
B) the control structure of an application
C) the order in which the actions are executed
D) Both a and c.
Both a and c.
3
Text formatted with the______ formatting code will be preceded by a dollar sign and will be displayed with two decimal places.
A) C
B) F
C) E
D) G
A) C
B) F
C) E
D) G
C
4
A(n) _____occurs when an executed statement does not directly follow the previously executed statement in the written application.
A) unordered execution
B) transfer of control
C) action state
D) jump
A) unordered execution
B) transfer of control
C) action state
D) jump
Unlock Deck
Unlock for access to all 16 flashcards in this deck.
Unlock Deck
k this deck
5
Which of the following is not normally a pseudocode statement?
A) assigning a value to a variable
B) declaring a variable
C) setting an object's property
D) using control structures
A) assigning a value to a variable
B) declaring a variable
C) setting an object's property
D) using control structures
Unlock Deck
Unlock for access to all 16 flashcards in this deck.
Unlock Deck
k this deck
6
The primitive data type _____holds numbers with decimal points.
A) int
B) Int32
C) double
D) bool
A) int
B) Int32
C) double
D) bool
Unlock Deck
Unlock for access to all 16 flashcards in this deck.
Unlock Deck
k this deck
7
The_____ type is used to store monetary amounts because it ensures rounding accuracy in arithmetic calculations involving monetary amounts.
A) decimal
B) double
C) final
D) const
A) decimal
B) double
C) final
D) const
Unlock Deck
Unlock for access to all 16 flashcards in this deck.
Unlock Deck
k this deck
8
The _____operator adds the value of the right operand to the value of the left operand and stores the result in the left operand.
A) -=
B) *=
C) +=
D) /=
A) -=
B) *=
C) +=
D) /=
Unlock Deck
Unlock for access to all 16 flashcards in this deck.
Unlock Deck
k this deck
9
The arrows in a UML activity diagram are called______ .
A) action states
B) workflows
C) transition arrows
D) action expressions
A) action states
B) workflows
C) transition arrows
D) action expressions
Unlock Deck
Unlock for access to all 16 flashcards in this deck.
Unlock Deck
k this deck
10
The solid circle located at the top of a UML activity diagram represents a(n)_____ .
A) action state
B) final state
C) transition
D) initial state
A) action state
B) final state
C) transition
D) initial state
Unlock Deck
Unlock for access to all 16 flashcards in this deck.
Unlock Deck
k this deck
11
Use keyword(s) _____to void deep indentation due to nested if...else statements.
A) if else
B) else if
C) else
D) if
A) if else
B) else if
C) else
D) if
Unlock Deck
Unlock for access to all 16 flashcards in this deck.
Unlock Deck
k this deck
12
Assume that intX stores an int value and has been initialized to 3. What is the result of intX++?
A) 3
B) 4
C) 2
D) 6
A) 3
B) 4
C) 2
D) 6
Unlock Deck
Unlock for access to all 16 flashcards in this deck.
Unlock Deck
k this deck
13
The text between square brackets in an activity diagram represents a(n) _____.
A) decision
B) initial state
C) action state
D) guard condition
A) decision
B) initial state
C) action state
D) guard condition
Unlock Deck
Unlock for access to all 16 flashcards in this deck.
Unlock Deck
k this deck
14
Each expression or variable that is added to the Watch window is called a(n) ______.
A) expression
B) variable
C) statement
D) watch
A) expression
B) variable
C) statement
D) watch
Unlock Deck
Unlock for access to all 16 flashcards in this deck.
Unlock Deck
k this deck
15
The decision symbol in an activity diagram is represented by a(n) _____.
A) diamond
B) solid circle
C) triangles
D) arrow
A) diamond
B) solid circle
C) triangles
D) arrow
Unlock Deck
Unlock for access to all 16 flashcards in this deck.
Unlock Deck
k this deck
16
Text formatted with the _____formatting code will display the formatted number using two decimal places.
A) C
B) F
C) E
D) G
A) C
B) F
C) E
D) G
Unlock Deck
Unlock for access to all 16 flashcards in this deck.
Unlock Deck
k this deck