


















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



















Which operation should be used to compute the miles per gallon, which is 20?: Division
dent. The minimum age requirement is 35. How should the item that holds the minimum age be declared?: Constant integer minAge
What is the value of the expression ( x / 2.0) + y?: 6.
What is the value of the expression x / y ?: 10.
Which expression evaluates to 2.0?: x / 2 + 0.5 /2 +.
Put "Hey" to output
What entire output appears after three successive calls to F()?: HeyHeyHey
Put " " to output x = x - 1 while x > 0: 3 2 1
count = 0
while count is less than 5:
print 'Hello'
What is the result of implementing this code?: 'Hello' will print indefinitely.
i = 0
while i < 20
Put i to output i = i + 1: i<
while y < 10
s = s + (s * 5.0) y = y + 1: y = 0
B Put min to output
B Clear table
C Place smallest shape.
D Place middle-sized shape.: BADC
x = Get next input if x == - Put "Goodbye" to output: Outputs Goodbye when user types -
i = 0
x = 0 while i < 5 if list[i] < 0 x = 1 i = i + 1
Put x to output: At least one integer is negative
Which test is a valid test of the algorithm?: Input 99, 0, 5. Ensure output is "Not OK."
Implementation
In which phase of an agile approach are goals changed based on customer feedback?: Analysis
version occur?: Implementation
: Include the library
Functions all relate to the same purpose