D278-WGU PRE-ASSESSMENT

SCRIPTING AND PROGRAMMING

FOUNDATIONS EXAM WITH

QUESTIONS 100% VERIFIED

CORRECT ANSWERS GRADED

A+

What is the loop variable initialization in the

following pseudocode?

y = 0

s = 100.0

while y < 10

s = s + (s * 5.0)

y = y + 1

A y = 0

B y = y + 1

C s = 100.0

D s = s + ( s * 5.0) - CORRECT ANSW-A

Which operator should be used to determine if a

number is evenly divisible by 5?

A +

B -

C *

D % - CORRECT ANSW-%

A car drove 200 miles usin...