100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
WGU D278 PRE-ASSESSMENT ACTUAL EXAM VERSION 1 SCRIPTING AND PROGRAMMING FOUNDATIONS QUESTION BANK LATEST COMPLETE 180 QUESTIONS AND CORRECT DETAILED SOLUTIONS JUST RELEASED $8.49   Add to cart

Exam (elaborations)

WGU D278 PRE-ASSESSMENT ACTUAL EXAM VERSION 1 SCRIPTING AND PROGRAMMING FOUNDATIONS QUESTION BANK LATEST COMPLETE 180 QUESTIONS AND CORRECT DETAILED SOLUTIONS JUST RELEASED

 2 views  0 purchase
  • Course
  • WGU D278 PRE-ASSESSMENT
  • Institution
  • WGU D278 PRE-ASSESSMENT

WGU D278 PRE-ASSESSMENT ACTUAL EXAM VERSION 1 SCRIPTING AND PROGRAMMING FOUNDATIONS QUESTION BANK LATEST COMPLETE 180 QUESTIONS AND CORRECT DETAILED SOLUTIONS JUST RELEASED

Preview 4 out of 36  pages

  • September 30, 2024
  • 36
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • WGU D278 PRE-ASSESSMENT
  • WGU D278 PRE-ASSESSMENT
avatar-seller
ressyshii
Page 1 of 36



WGU D278 PRE-ASSESSMENT ACTUAL EXAM VERSION 1
SCRIPTING AND PROGRAMMING FOUNDATIONS QUESTION
BANK LATEST 2024-2025 COMPLETE 180 QUESTIONS AND
CORRECT DETAILED SOLUTIONS JUST RELEASED




Q: What is a valid user-defined function name?

A A reserved word

B Any valid identifier

C Any variable name

D A floating-point number - CORRECT ANSWER✔✔B




Q: A function MyFct has an input x and an output z.




What does MyFct return?

A Nothing

B x only

C z only

, Page 2 of 36


D x and z - CORRECT ANSWER✔✔C




Q: What is the return value of a function?

A Output of a function

B Call to run the function

C Data passed to the function

D Variable in the declaration of the function - CORRECT ANSWER✔✔A




Q: A program should continue accepting input numbers, adding each to a sum,
until a 0 is input.




Which control structure should be used?

A If statement

B For loop

C Multiple if statements

D While loop - CORRECT ANSWER✔✔D

, Page 3 of 36


Q: Joe is building an online game. He wants to provide a riddle and have the
player guess the answer. The game needs to prompt the user to enter the answer,
check to see if it the input provided does not match the correct answer, and
continue prompting the user until the answer entered matches the correct
answer.




Which control structure supports Joe's needs?

A For loop

B While loop

C Do-while loop

D If-else branch - CORRECT ANSWER✔✔C




Which operator should be used to determine if a number is evenly divisible by 5?

A+

B-

C*

D % - CORRECT ANSWER✔✔%

, Page 4 of 36


Q: A car drove 200 miles using 10 gallons of fuel.




Which operation should be used to compute the miles per gallon, which is 20?

A Addition

B Subtraction

C Multiplication

D Division - CORRECT ANSWER✔✔Division




Q: A variable should hold a person's height in meters.




Which data type should the variable be?

A Integer

B Float

C String

D Boolean - CORRECT ANSWER✔✔Float




Q: A variable should hold the names of all past U.S. presidents.

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller ressyshii. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $8.49. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

78834 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$8.49
  • (0)
  Add to cart