What is an accurate way to describe a statically typed language?
A. It is based on the concept of modularization and calling procedures or subroutines.
B. It uses methods that that produce consistent output based upon the arguments passed to those methods.
C. It includes custom variable types with methods, information hiding, data abstraction, encapsulation, polymorphism, and inheritance.
D. It requires a large number of variables and variable conversions because of the need to commit to a variable type throughout the life of the program.
正解:D
解説: (Pass4Test メンバーにのみ表示されます)
質問 2:
Which value would require an integer as a data type?
A. An approximation of the number pi to five decimal places
B. The weights of every patient involved in a pharmaceutical
C. The cost of a dinner including tax and tip
D. The number of students in a section
正解:D
解説: (Pass4Test メンバーにのみ表示されます)
質問 3:
A function should determine the average of x and y.
What should be the function's parameters and return value(s)?
A. Parameters: averageReturn values: x, y
B. Parameters: nonsReturn values: x, y
C. Parameters: x, y. averageReturn value: none
D. Parameters: x, yReturn value: average
正解:D
解説: (Pass4Test メンバーにのみ表示されます)
質問 4:
The steps in an algorithm to build a picnic table are given.
1) Measure and mark the lumber cuts that need to be made
2) Buy the needed materials
3) Determine the needed materials
4) Cut the lumber to the proper dimensions
5) Assemble the pieces and paint.
Which two steps of the algorithm should be switched to make the algorithm successful?
A. 1 and 3
B. 2 and 4
C. 1 and 2
D. 2 and 3
正解:D
解説: (Pass4Test メンバーにのみ表示されます)
質問 5:
Consider the given function.
What is the total output when F (sign, horse) is called 2 times?
A. sign and horse sign and horse
B. sign and horse and sign and horse
C. sign and horse sign and horse
D. sign and horse sign and horse
正解:A
解説: (Pass4Test メンバーにのみ表示されます)
質問 6:
Which characteristic specifically describes an object-oriented language?
A. Can be run on any machine that has an interpreter
B. Supports creating program as item that have data plus operations
C. Supports creating programs as a set of functions
D. Requires a compiler to convert to machine code
正解:B
解説: (Pass4Test メンバーにのみ表示されます)
中川** -
Scripting-and-Programming-Foundations問題集は図表が多く、試験対策としてものすごく参考になると思いました。