100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

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

Rating
-
Sold
-
Pages
40
Grade
A+
Uploaded on
06-11-2024
Written in
2024/2025

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 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

Show more Read less











Whoops! We can’t load your doc right now. Try again or contact support.

Document information

Uploaded on
November 6, 2024
Number of pages
40
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

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

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
quiz_bit Rasmussen College
View profile
Follow You need to be logged in order to follow users or courses
Sold
11479
Member since
5 year
Number of followers
5218
Documents
7063
Last sold
8 hours ago
Nursing school is hard...Here are some tools to help ♡

Hello FUTURE NURSES! I'm here to make nursing school a little bit EASIER. Good luck with studying! Appreciate you all and wish you the best of luck going forward.. now go kick ass!

3.9

1915 reviews

5
941
4
378
3
288
2
99
1
209

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions