Certiport Chapter 1 - Understanding
Core Programming Exam-Graded A
Byte - ANS-It uses the least amount of memory, but still holds numbers up to 255.
Integral data types - ANS-Ex. include byte, integer, short, and long;
store whole numbers—such as the number of goals a player has scored
Floating point data types - ANS-Examples like float, single, and double can represent
numbers that include fractional data, such as a player's height.
Value data types - ANS-These go on the stack.
Reference data types - ANS-These go on the heap.
Nesting - ANS-Placing control structures inside other control structures is called
What kind of expression must the code in the parentheses of an if-statement be in: -
ANS-Boolean
What do logical operators allow programmers to do? - ANS-Join two expressions
For loops work best when? - ANS-The number of iterations is known and is unlikely to
change
The Software Architect is sometimes also called the:
A. Product Owner.
B. Program Manager.
C. Solution Designer.
D. System Administrator. - ANS-B. Program Manager.
How many times does a do while loop execute? - ANS-At least one time.
Unlike a do-while loop, a while loop may not execute at all!
The While loop - ANS-Executes a statement or block of statements repetitively based
on a Boolean expression.
Core Programming Exam-Graded A
Byte - ANS-It uses the least amount of memory, but still holds numbers up to 255.
Integral data types - ANS-Ex. include byte, integer, short, and long;
store whole numbers—such as the number of goals a player has scored
Floating point data types - ANS-Examples like float, single, and double can represent
numbers that include fractional data, such as a player's height.
Value data types - ANS-These go on the stack.
Reference data types - ANS-These go on the heap.
Nesting - ANS-Placing control structures inside other control structures is called
What kind of expression must the code in the parentheses of an if-statement be in: -
ANS-Boolean
What do logical operators allow programmers to do? - ANS-Join two expressions
For loops work best when? - ANS-The number of iterations is known and is unlikely to
change
The Software Architect is sometimes also called the:
A. Product Owner.
B. Program Manager.
C. Solution Designer.
D. System Administrator. - ANS-B. Program Manager.
How many times does a do while loop execute? - ANS-At least one time.
Unlike a do-while loop, a while loop may not execute at all!
The While loop - ANS-Executes a statement or block of statements repetitively based
on a Boolean expression.