100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
WGU D278 Pre-Assessment V1 (Latest Update 2024 / 2025) Scripting and Programming - Foundations | Questions and Verified Answers | 100% Correct | Grade A £6.37   Add to cart

Exam (elaborations)

WGU D278 Pre-Assessment V1 (Latest Update 2024 / 2025) Scripting and Programming - Foundations | Questions and Verified Answers | 100% Correct | Grade A

 2 views  0 purchase
  • Module
  • Institution

WGU D278 Pre-Assessment V1 (Latest Update 2024 / 2025) Scripting and Programming - Foundations | Questions and Verified Answers | 100% Correct | Grade A Question: When should a programmer develop an algorithm to solve a problem? A Before knowing the problem B Before writing a program to ...

[Show more]

Preview 4 out of 40  pages

  • November 6, 2024
  • 40
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
avatar-seller
WGU D278 Pre-Assessment V1
(Latest Update )
Scripting and Programming -
Foundations | Questions and
Verified Answers | 100% Correct |
Grade A


Question:
When should a programmer develop an algorithm to solve a problem?
A Before knowing the problem
B Before writing a program to solve the problem
C While writing a program to solve the problem
D After writing a program to solve the problem
Answer:
B




Question:
Which text represents an algorithm?
A Cats and dogs have tails.
B Insert key, turn key, open door.

,C The forecast for tomorrow is rain.
D A box has balls, bats, and hats.
Answer:
B




Question:
Which text represents an algorithm?
A Shake bulb; if it rattles, replace it.
B Water is wet; fire is not wet.
C Staring at the sun hurts the eyes.
D The max speed is 60 mph.
Answer:
A




Question:
An algorithm should output "OK" if a list's numbers are all non-zero, else the
output is "Not OK."
Which test is a valid test of the algorithm?
A Input 0, 0, 0. Ensure output is "OK."
B Input 5, 4, 0. Ensure output is "OK."
C Input -3, -2, 5. Ensure output is "Not OK."
D Input 99, 0, 5. Ensure output is "Not OK."
Answer:

,D




Question:
What is put to output by the following flowchart, if the input is 17?




A Too young
B OK
C Too old
D Nothing is put to output.
Answer:
B

, Question:
What is put to output by the following flowchart, if the input is 3 5 -1?




A 3 5 -1
B35
C 6 10
D 6 10 -2
Answer:
C

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 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 quiz_bit. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

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

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

80461 documents were sold in the last 30 days

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

Start selling
£6.37
  • (0)
  Add to cart