Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Tentamen (uitwerkingen)

WGU D278 SCRIPTING AND PROGRAMMING FOUNDATIONS: ACTUAL EXAM QUESTIONS WITH CORRECT ANSWERS | LATEST UPDATE | GRADED A+ | GUARANTEED PASS| 100% SOLVED.

Beoordeling
-
Verkocht
-
Pagina's
31
Cijfer
A+
Geüpload op
07-12-2025
Geschreven in
2025/2026

WGU D278 SCRIPTING AND PROGRAMMING FOUNDATIONS: ACTUAL EXAM QUESTIONS WITH CORRECT ANSWERS | LATEST UPDATE | GRADED A+ | GUARANTEED PASS| 100% SOLVED. What entire output appears after three successive calls to F()? A Hey B HHHey C HeyHeyHey D Hey Hey Hey - Correct Answer-C Which expression evaluates to true only when the user is within 3 years of 21 years, given a variable x containing a user's age? A x = 18) or ( x = 24) B ( x = 18) and ( x = 24) C ( x 18) or ( x 24) D ( x 18) and ( x 24) - Correct Answer-B Which data type is used for items that are measured in length? A Integer B Float C String D Boolean - Correct Answer-B Which data type should be used to keep track of how many planes are in a hangar? A Integer B Float C String D Boolean - Correct Answer-A 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 A function MyFct has an input x and an output z. What does MyFct return? A Nothing B x only C z only D x and z - Correct Answer-C 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 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 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 What is put to output by the following pseudocode? x = 3 do Put x to output Put " " to output x = x - 1 while x 0 A 3 2 1 0 B 3 2 1 0 -1 C 2 1 0 D 3 2 1 - Correct Answer-D A programmer has developed the following code: count = 0 while count is less than 5: print 'Hello' What is the result of implementing this code? A 'Hello' will print four times. B 'Hello' will print five times. C The program will throw an error. D 'Hello' will print indefinitely. - Correct Answer-D What does a programmer do first to use an existing programming library? - ANSWER : Include the library

Meer zien Lees minder
Instelling
Vak

Voorbeeld van de inhoud

WGU D278 SCRIPTING AND PROGRAMMING
FOUNDATIONS: ACTUAL EXAM QUESTIONS WITH
CORRECT ANSWERS | LATEST UPDATE 2026-2027 |
GRADED A+ | GUARANTEED PASS| 100% SOLVED

What entire output appears after three successive calls to F()?
A Hey
B HHHey
C HeyHeyHey
D Hey Hey Hey - Correct Answer-C


Which expression evaluates to true only when the user is within 3 years of 21
years, given a variable x containing a user's age?
A x >= 18) or ( x <= 24)
B ( x >= 18) and ( x <= 24)
C ( x < 18) or ( x > 24)
D ( x < 18) and ( x > 24) - Correct Answer-B


Which data type is used for items that are measured in length?
A Integer
B Float
C String
D Boolean - Correct Answer-B


Which data type should be used to keep track of how many planes are in a hangar?
A Integer

,B Float
C String
D Boolean - Correct Answer-A


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


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


What does MyFct return?
A Nothing
B x only
C z only
D x and z - Correct Answer-C


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


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


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


What is put to output by the following pseudocode?


x = 3 do
Put x to
output
Put " "
to
output

, x=x-1
while x
> 0A3
210
B 3 2 1 0 -1
C210
D 3 2 1 - Correct Answer-D


A programmer has developed the following code:


count = 0 while count is
less than 5:
print 'Hello'


What is the result of implementing this code?
A 'Hello' will print four times.
B 'Hello' will print five times.
C The program will throw an error.
D 'Hello' will print indefinitely. - Correct Answer-D


What does a programmer do first to use an existing programming library? -
ANSWER : Include the library


What relationship is common among a programming library's functions? -
ANSWER : Functions all relate to the same purpose.

Geschreven voor

Instelling
Vak

Documentinformatie

Geüpload op
7 december 2025
Aantal pagina's
31
Geschreven in
2025/2026
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

$16.99
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
ExcelAcademia2026 Chamberlain College Of Nursing
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
2225
Lid sinds
4 jaar
Aantal volgers
1651
Documenten
9074
Laatst verkocht
1 dag geleden
EXCEL ACADEMIA TUTORS

At Excel Academia Tutoring, You will get solutions to all subjects in both assignments and major exams. Contact me for assistance. Good luck! Well-researched education materials for you. Expert in Nursing, Mathematics, Psychology, Biology etc. My Work has the Latest &amp; Updated Exam Solutions, Study Guides and Notes (100% Verified Solutions that Guarantee Success)

3.7

377 beoordelingen

5
156
4
80
3
70
2
23
1
48

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen