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 2
WGU D278 · Scripting and Programming Foundations

WGU D278 Practice Questions – Set 2

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

Question 1 of 50

What is a branch in programming?

Question 2 of 50

What is a decision in a flowchart?

Question 3 of 50

What is an if-else branch?

Question 4 of 50

What is the symbol for the equality operator?

Question 5 of 50

What is a relational operator?

Question 6 of 50

What does the logical AND operator (&&) do?

Question 7 of 50

What does the logical OR operator (||) do?

Question 8 of 50

What does the logical NOT operator (!) do?

Question 9 of 50

What is a decision sequence in programming?

Question 10 of 50

What are logical operators used for?

Question 11 of 50

What happens in a ‘while’ loop?

Question 12 of 50

What is a sentinel value in a loop?

Question 13 of 50

What is a ‘for’ loop used for?

Question 14 of 50

What is a nested loop?

Question 15 of 50

What is a do-while loop?

Question 16 of 50

What is a switch statement?

Question 17 of 50

What is an if-elseif branch used for?

Question 18 of 50

What is an equality operator?

Question 19 of 50

What is an implicit conversion in programming?

Question 20 of 50

What is a function call?

Question 21 of 50

What is a parameter in a function?

Question 22 of 50

What is a function return value?

Question 23 of 50

What is modular development?

Question 24 of 50

What is incremental development?

Question 25 of 50

What is a function stub?

Question 26 of 50

What is a literal in programming?

Question 27 of 50

What is an operator in programming?

Question 28 of 50

What is the modulo operator (%) used for?

Question 29 of 50

What is a class diagram in UML?

Question 30 of 50

What is a use case diagram in UML?

Question 31 of 50

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

Question 32 of 50

What is a function argument?

Question 33 of 50

What does a ‘return’ statement do in a function?

Question 34 of 50

What is a floating-point number?

Question 35 of 50

What is the purpose of the increment operator (++) in loops?

Question 36 of 50

What is an array in programming?

Question 37 of 50

What is an index in an array?

Question 38 of 50

What is a constant in programming?

Question 39 of 50

What is a type cast in programming?

Question 40 of 50

What is a flowchart used for?

Question 41 of 50

What is the purpose of the ‘break’ statement in loops?

Question 42 of 50

What is Moore’s Law?

Question 43 of 50

What is a bit?

Question 44 of 50

What is a byte?

Question 45 of 50

What is an abstract data type (ADT)?

Question 46 of 50

What is Unicode used for?

Question 47 of 50

What is computational complexity?

Question 48 of 50

What is a heuristic algorithm?

Question 49 of 50

What is binary search used for?

Question 50 of 50

What is a software requirements specification (SRS)?

Set 2 complete

You scored 0%

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

Next: Set 3

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