100% tevredenheidsgarantie Direct beschikbaar na je betaling Lees online óf als PDF Geen vaste maandelijkse kosten 4,6 TrustPilot
logo-home
Tentamen (uitwerkingen)

WGU D278 Scripting and Programming Foundations Pre-Assessment Actual Exam – Complete 350 Questions with Verified Answers – Newly Released & Fully Updated.pdf

Beoordeling
-
Verkocht
-
Pagina's
81
Cijfer
A+
Geüpload op
22-01-2026
Geschreven in
2025/2026

Tap on AVAILABLE IN BUNDLE / PACKAGE DEAL to unlock free bonus exams — save more while getting everything you need! You’ll be glad you did! WGU D278 Scripting and Programming Foundations Pre-Assessment Actual Exam – Complete 350 Questions with Verified Answers – Newly Released & Fully U

Meer zien Lees minder
Instelling
Vak











Oeps! We kunnen je document nu niet laden. Probeer het nog eens of neem contact op met support.

Geschreven voor

Instelling
Vak

Documentinformatie

Geüpload op
22 januari 2026
Aantal pagina's
81
Geschreven in
2025/2026
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

Voorbeeld van de inhoud

Page 1 of 79




WGU D278 Scripting and Programming Foundations
Pre-Assessment Actual Exam – Complete 350
Questions with Verified Answers – Newly Released &
Fully Updated

Official Exam Overview:
The WGU D278 Scripting and Programming Foundations Pre-Assessment Actual Exam
evaluates learners’ understanding of programming concepts, data types, expressions, control
structures, and scripting fundamentals. The exam emphasizes problem-solving, logical
reasoning, and application of programming principles in software development.

Exam Coverage Areas:

1. Data Types, Variables, and Expressions
2. Arithmetic and Logical Operators
3. Conditional Statements and Loops
4. Functions, Methods, and Modular Programming
5. Arrays, Lists, and Data Structures
6. Error Handling and Debugging
7. Basic Scripting for Automation and Problem Solving



QUESTION 1:
Given integer x = 3 and integer y = 5. What is the value of the expression (x / 2.0) +
y?

A) 5.0
B) 6.0
C) 6.5 ✅
D) 7.5

Rationale:
Dividing 3 by 2.0 results in 1.5 (floating-point division), and adding 5 yields 6.5.



QUESTION 2:
Which of the following is a valid variable declaration in most scripting languages?

A) int x = 5; ✅
B) 5 = x;

,C) x int = 5;
D) x == 5;

Rationale:
int x = 5; declares a variable x of type integer with the value 5. Other options either use
invalid syntax or represent comparison instead of assignment.



QUESTION 3:
Which operator is used to check equality in most programming languages?

A) =
B) == ✅
C) !=
D) <

Rationale:
== is the equality operator used to compare two values, while = is typically used for assignment.




QUESTION 4:
What is the output of the following code snippet?

x = 10
if x > 5:
print("Yes")
else:
print("No")

A) No
B) Yes ✅
C) Error
D) None

Rationale:
Since x is greater than 5, the if condition evaluates to true, and "Yes" is printed.



QUESTION 5:
Which data structure is best suited for storing an ordered collection of items that may include
duplicates?

A) Set
B) List/Array ✅
C) Dictionary
D) Stack

Rationale:
Lists or arrays maintain order and allow duplicate elements, making them suitable for ordered
collections of items.

,QUESTION: Given integer x = 3 and integer y = 5.

What is the value of the expression ( x / 2.0) + y?

A 5.0

B 6.0

C 6.5

7 7.5 - ANSWER-6.5




QUESTION: Given float x = 10.2 and float y = 1.0.




What is the value of the expression x / y ?

A 0.0

B 1.0

C 10

1

, Page 2 of 79




D 10.2 - ANSWER-10.2




QUESTION: What kind of operator is the == in the expression i == 20?

A Assignment

B Arithmetic

C Equality

D Logical - ANSWER-Equality




QUESTION: What is the purpose of parentheses () in a programming expression?

A To print expressions

B To group expressions

C To run expressions

D To compose expressions - ANSWER-To group expressions




QUESTION: Given float x = 3.0.




Which expression evaluates to 2.0?

Ax/3* 2+ 2



2

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.
STUVIAGRADES Chamberlain College Of Nursing
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
6216
Lid sinds
4 jaar
Aantal volgers
450
Documenten
5906
Laatst verkocht
22 uur geleden
stuvia_US

Welcome To my Store# STUVIA_US My Goal is to help you achieve your desired grades by providing credible study materials I'm happy to help you with quality documents On this page you will find quality study guides,Exams assignments, Research papers and Test Banks all verified correct . you'll find past and recent revised and verified study materials . Stay here and You'll find everything you need to pass !!! . I always ensure my documents are of high standards I am always available to assist 24/7 and answer any queries you may have . Be assured to get good grades and always leave a review after a purchase Refer a friend SUCCESS!!!!

Lees meer Lees minder
4,8

1075 beoordelingen

5
993
4
27
3
22
2
11
1
22

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

Veelgestelde vragen