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 – NEWEST 2026 OA EXAM TEST BANK (200+ Q&A WITH RATIONALES)

Beoordeling
-
Verkocht
-
Pagina's
84
Cijfer
A+
Geüpload op
09-06-2026
Geschreven in
2025/2026

Ace your WGU D278 Objective Assessment on the first try with this fully updated 2026 test bank. Inside: over 200 realistic practice questions covering every key topic—variables, data types, operators, strings, lists, control structures (if, elif, else, for, while), functions, scope, recursion, lambda, error handling (try/except, assertions), debugging, file I/O basics, data structures (lists, tuples, dictionaries, sets, stacks, queues), algorithms (linear/binary search, bubble/merge sort), big O notation, list comprehensions, generators, and more. Each question includes the correct answer and a clear, detailed rationale to help you truly understand programming concepts—not just memorize. Designed to mirror the actual WGU OA, this study guide saves you hours of guesswork, builds your coding confidence, and ensures you pass fast. Get the exact prep you need for Scripting and Programming – Foundations.

Meer zien Lees minder
Instelling
WGU D278 SCRIPTING AND PROGRAMMING – FOUNDATIONS
Vak
WGU D278 SCRIPTING AND PROGRAMMING – FOUNDATIONS

Voorbeeld van de inhoud

WGU D278 Objective Assessment | 70 Questions

and Answers | 2026 Update | 100% Correct

1. What is the primary purpose of a variable in

programming?

A) To permanently store data on the hard drive

B) To hold a value that can change during program

execution

C) To comment code

D) To define a function

Answer: B

Rationale: A variable is a named storage location in

memory whose value can be changed while the program

runs. Permanent storage is for files/databases.

2. Which of the following is a valid variable name in most

programming languages?

A) 2var

B) var-name



1

,C) var_name

D) var name

Answer: C

Rationale: Many languages allow underscores but not

spaces, hyphens, or starting with digits.

3. What does the assignment operator (=) do?

A) Checks equality

B) Assigns the value on the right to the variable on the left

C) Compares two values

D) Creates a loop

Answer: B

Rationale: Single = assigns a value; equality check

uses ==.

4. Which data type is best for storing True or False?

A) int

B) float

C) bool

D) char

2

,Answer: C

Rationale: Boolean (bool) represents logical true/false.

5. What is the result of 7 // 2 in Python?

A) 3.5

B) 3

C) 4

D) Error

Answer: B

Rationale: Integer division (//) discards the remainder.

6. Which operator returns the remainder of division?

A) /

B) //

C) %

D) *

Answer: C

Rationale: Modulus operator % gives remainder.

7. What does print(type(3.14)) output?

A) <class 'int'>

3

, B) <class 'float'>

C) <class 'str'>

D) <class 'bool'>

Answer: B

Rationale: 3.14 is a floating-point number.

8. Which statement correctly declares a string?

A) name = "Alice"

B) name = Alice

C) name = 'Alice'

D) Both A and C

Answer: D

Rationale: Strings can use single or double quotes.

9. What is the output? x = 5; y = 2; print(x % y)

A) 2

B) 2.5

C) 1

D) 0



4

Geschreven voor

Instelling
WGU D278 SCRIPTING AND PROGRAMMING – FOUNDATIONS
Vak
WGU D278 SCRIPTING AND PROGRAMMING – FOUNDATIONS

Documentinformatie

Geüpload op
9 juni 2026
Aantal pagina's
84
Geschreven in
2025/2026
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

$29.39
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.
PREPPERFECT Teachme2-tutor
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
341
Lid sinds
2 jaar
Aantal volgers
56
Documenten
11997
Laatst verkocht
1 dag geleden
PREP FERFECT

PREP PERFECT Welcome to your one-stop destination for high-quality academic resources! Here you’ll find test banks, solution manuals, ATI study guides, iHuman case studies, nursing exam prep materials, and verified textbook answers — all carefully selected to help you study smarter and score higher. Whether you’re preparing for nursing exams, business courses, medical case studies, or general college tests, this store offers reliable, up-to-date materials used by top students worldwide. Popular categories include: ✅ Test Banks &amp; Solution Manuals ✅ ATI &amp; HESI Study Guides ✅ iHuman Case Studies &amp; Answers ✅ NCLEX &amp; Nursing Exam Prep ✅ Business, Accounting &amp; Economics Test Banks ✅ Psychology, Biology &amp; Anatomy Materials Boost your academic performance with expertly curated resources that match real exams and class content.

Lees meer Lees minder
4.8

3467 beoordelingen

5
2864
4
436
3
113
2
30
1
24

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