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

WGU D278 Practice Questions – Set 1

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

Question 1 of 50

What are the basic instruction types of a computer program?

Question 2 of 50

What is a variable in programming?

Question 3 of 50

What is the equation for a triangle’s area?

Question 4 of 50

How do you find the average of a set of numbers?

Question 5 of 50

What is computational thinking?

Question 6 of 50

What is an algorithm?

Question 7 of 50

What is a flowchart?

Question 8 of 50

What is a program?

Question 9 of 50

What tool runs a program’s statements?

Question 10 of 50

What is a specific action in a program called?

Question 11 of 50

What shape is used for an input/output statement in a flowchart?

Question 12 of 50

What represents a new line in programming?

Question 13 of 50

What is a comment in a program?

Question 14 of 50

What should not include whitespace in programming?

Question 15 of 50

When did the industrial age start?

Question 16 of 50

When did the information age start?

Question 17 of 50

What is an embedded computer?

Question 18 of 50

What is a character in programming?

Question 19 of 50

What does ASCII stand for, and when was it developed?

Question 20 of 50

How many bits per code does ASCII use?

Question 21 of 50

What is Unicode, and when was it published?

Question 22 of 50

What is pseudocode?

Question 23 of 50

What is an assignment statement?

Question 24 of 50

What is a variable declaration?

Question 25 of 50

What is an identifier in programming?

Question 26 of 50

What is a reserved word (or keyword)?

Question 27 of 50

What is a naming convention in programming?

Question 28 of 50

What is an expression in programming?

Question 29 of 50

What is a literal in programming?

Question 30 of 50

What is an operator in programming?

Question 31 of 50

What is the order of precedence for arithmetic operators?

Question 32 of 50

What is incremental development?

Question 33 of 50

What is a floating-point number?

Question 34 of 50

What is a floating-point literal?

Question 35 of 50

What is the result of 12.0 / 0.0 in programming?

Question 36 of 50

What is the result of 0.0 / 0.0 in programming?

Question 37 of 50

What is a function in programming?

Question 38 of 50

Which function returns the square root of x?

Question 39 of 50

How do you calculate the power of 4²?

Question 40 of 50

What does the SeedRandomNumber function do?

Question 41 of 50

What is integer division rounding in programming?

Question 42 of 50

What happens when you divide by zero in integer division?

Question 43 of 50

What is type conversion?

Question 44 of 50

What is type casting?

Question 45 of 50

What is the modulo operator (%) in programming?

Question 46 of 50

What is the result of any odd number % 2?

Question 47 of 50

What is an array data type?

Question 48 of 50

What is a constant in programming?

Question 49 of 50

What is an index in an array?

Question 50 of 50

What is a scalar variable?

Set 1 complete

You scored 0%

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

Next: Set 2

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