D278 Programming and Scripting Preparation
Questions and Correct Answers
What does a programmer do first to use an existing programming library?
Include the library
What relationship is common among a programming library's functions?
Functions all relate to the same purpose.
What is an advantage of using a programming library?
The code has already been tested.
Which language is dynamically typed?
Python
Which language is not built on object-oriented design principles?
C
A language substantially supports a programmer creating items like person, teacher, and
students. Each item has internal data and some operations.
Which characteristic describes that language?
Object-oriented
A programmer wants a compiler to report an error if an integer variable is assigned with a
string.
Which kind of language should the programmer use?
Statically typed
Questions and Correct Answers
What does a programmer do first to use an existing programming library?
Include the library
What relationship is common among a programming library's functions?
Functions all relate to the same purpose.
What is an advantage of using a programming library?
The code has already been tested.
Which language is dynamically typed?
Python
Which language is not built on object-oriented design principles?
C
A language substantially supports a programmer creating items like person, teacher, and
students. Each item has internal data and some operations.
Which characteristic describes that language?
Object-oriented
A programmer wants a compiler to report an error if an integer variable is assigned with a
string.
Which kind of language should the programmer use?
Statically typed