Skip to content
Pass Any WGU OA Exam Now & Pay After You Pass. Contact Us!
  1. Home
  2. WGU Exams
  3. WGU D278
  4. Set 3
WGU D278 · Scripting and Programming Foundations

WGU D278 Practice Questions – Set 3

50 multiple-choice questions with answers and detailed explanations. Untimed — choose an answer to check it instantly.

Question 1 of 50

What is an abstract data type (ADT)?

Question 2 of 50

What does UML stand for in software development?

Question 3 of 50

What is the purpose of a UML class diagram?

Question 4 of 50

What does a UML sequence diagram represent?

Question 5 of 50

What is a software requirements specification (SRS)?

Question 6 of 50

What is the primary goal of the analysis phase in SDLC?

Question 7 of 50

What is the role of the design phase in the SDLC?

Question 8 of 50

What is the focus of the implementation phase in SDLC?

Question 9 of 50

What does the testing phase ensure in SDLC?

Question 10 of 50

What is the waterfall approach in SDLC?

Question 11 of 50

What is the spiral approach in SDLC?

Question 12 of 50

What is an object in object-oriented programming (OOP)?

Question 13 of 50

What is abstraction in OOP?

Question 14 of 50

What is encapsulation in OOP?

Question 15 of 50

What does a UML use case diagram represent?

Question 16 of 50

What is the purpose of a UML activity diagram?

Question 17 of 50

What is a UML behavioral diagram?

Question 18 of 50

What does a UML class diagram depict?

Question 19 of 50

What is the benefit of modular development?

Question 20 of 50

What is incremental development?

Question 21 of 50

What is a function stub?

Question 22 of 50

What is a return variable in a function?

Question 23 of 50

How many values can a function return?

Question 24 of 50

What does the term 'seed' refer to in random number generation?

Question 25 of 50

What does the modulo operator (%) return?

Question 26 of 50

What is the purpose of type casting in programming?

Question 27 of 50

What does a loop do in a program?

Question 28 of 50

What is an infinite loop?

Question 29 of 50

What is a sentinel value in programming?

Question 30 of 50

What is a do-while loop?

Question 31 of 50

What is the difference between a while loop and a for loop?

Question 32 of 50

What is the purpose of a return statement in a function?

Question 33 of 50

What is a function definition?

Question 34 of 50

What is an argument in a function call?

Question 35 of 50

What is a function parameter?

Question 36 of 50

What does the term scope refer to in programming?

Question 37 of 50

What is recursion in programming?

Question 38 of 50

What is base case in recursion?

Question 39 of 50

What is an abstract data type (ADT)?

Question 40 of 50

What is information hiding in programming?

Question 41 of 50

What does a UML sequence diagram depict?

Question 42 of 50

What is the purpose of a class in object-oriented programming?

Question 43 of 50

What is object-oriented programming (OOP)?

Question 44 of 50

What is inheritance in object-oriented programming?

Question 45 of 50

What is encapsulation in OOP?

Question 46 of 50

What is polymorphism in OOP?

Question 47 of 50

What is an interface in programming?

Question 48 of 50

What is the purpose of a constructor in a class?

Question 49 of 50

What is a destructor in object-oriented programming?

Question 50 of 50

What is method overloading in OOP?

Set 3 complete

You scored 0%

0 correct out of 0 answered (50 questions in this set).

Next: Set 4

Struggling with WGU D278?

If this exam is giving you a hard time, let us be your helping hand. Contact us, and we'll provide the assistance you need to pass and move forward.

Chat Now