WGU C173 TEST QUESTIONS WITH VERIFIED
ANSWERS
What does a function return?
Output of a function
Call to execute the function
Data input to the function
Variable in the function declaration - ANSWER Output of a function
Which of the following are typical elements of a class diagram?
The classes of the system, its attributes and methods and their features,
constraints, and relationships
Logic flow and interaction of processes of a system
Physical system resources or system logical architecture
Internal structure of a class and collaboration between classes or instances -
ANSWER System's classes, attributes, and methods and their features,
constraints, and relationships
What does a programmer first do to make use of some already existing
programming library?
Write the functions of the library
Modify the functions of the library
, Include the library
Ditch the library - ANSWER Include the library
What is an advantage about using a programming library?
The code has not been tested.
The code has been tested.
The code can be used across languages.
The code has been compiled. - ANSWER The code has been tested.
Which of the following is a dynamically typed language?
C
C++
Java
Python - ANSWER Python
Which of the following is not based on object-oriented design principles?
C
C++
Java
Python - ANSWER C
ANSWERS
What does a function return?
Output of a function
Call to execute the function
Data input to the function
Variable in the function declaration - ANSWER Output of a function
Which of the following are typical elements of a class diagram?
The classes of the system, its attributes and methods and their features,
constraints, and relationships
Logic flow and interaction of processes of a system
Physical system resources or system logical architecture
Internal structure of a class and collaboration between classes or instances -
ANSWER System's classes, attributes, and methods and their features,
constraints, and relationships
What does a programmer first do to make use of some already existing
programming library?
Write the functions of the library
Modify the functions of the library
, Include the library
Ditch the library - ANSWER Include the library
What is an advantage about using a programming library?
The code has not been tested.
The code has been tested.
The code can be used across languages.
The code has been compiled. - ANSWER The code has been tested.
Which of the following is a dynamically typed language?
C
C++
Java
Python - ANSWER Python
Which of the following is not based on object-oriented design principles?
C
C++
Java
Python - ANSWER C