Ultimate D278 Scripting and Programming Foundations
26 studiers today 4.9 (30 reviews)
Save
Students also studied
AP CSP Unit 4 Computer Science: Synchronization,... C Keywords
18 terms 95 terms 65 terms
nikitavidus Preview jasonncow Preview mwellsfr Pre
Terms in this set (114)
,Which operator should be used to determine if a %
number is evenly divisible by 5? 3 multiple choice options
A car drove 200 miles using 10 gallons of fuel. Division
Which operation should be used to compute the 3 multiple choice options
miles per gallon, which is 20?
A variable should hold a person's height in Float
meters. 3 multiple choice options
Which data type should the variable be?
A variable should hold the names of all past U.S. String array
presidents. 3 multiple choice options
Which data type should the variable be?
A program uses the number of seconds in a Constant integer secondsPerMinute
minute in various calculations.
3 multiple choice options
How should the item that holds the number of
seconds in a minute be declared?
, A program determines if a user's age is high Constant integer minAge
enough to run for U.S. president. The minimum 3 multiple choice options
age requirement is 35.
How should the item that holds the minimum age
be declared?
Given integer x = 3 and integer y = 5. 6.5
What is the value of the expression ( x / 2.0) + y?
3 multiple choice options
Given float x = 10.2 and float y = 1.0. 10.2
What is the value of the expression x / y ? 3 multiple choice options
What kind of operator is the == in the expression i Equality
== 20?
3 multiple choice options
What is the purpose of parentheses () in a To group expressions
programming expression? 3 multiple choice options
Given float x = 3.0. x / 2 + 0.5 /2 + .25
Which expression evaluates to 2.0? 3 multiple choice options