PDF File

Latest WGU Scripting-and-Programming-Foundations D278 Practice Questions By Morgan

Question 1

The steps in an algorithm to buy a pair of shoes from a store are given in no particular order.

* Bring the shoes to the cashier

* Pay for the shoes

* Enter the store

* Select the pair of shoes

What is the first step of the algorithm?

  • A. Select the pair of shoes.
  • B. Bring the shoes to the cashier.
  • C. Enter the store
  • D. Pay for the shoes.
Question 2

Which three statements describe a characteristic of a programming library?

  • A. A library typically must be included before any function in the library is used
  • B. A single library normally includes more than one function.
  • C. Using libraries will always make a program run less efficiently.
  • D. Libraries improve a programmer's productivity.
  • E. A single program can only include one library.
  • F. One library will contain one function but can have several variables.