D278 EXAM PREP QUESTIONS & ANSWERS
What does a programmer do first to use an existing programming library? - Answer -
Include the library
What relationship is common among a programming library's functions? - Answer -
Functions all relate to the same purpose.
What is an advantage of using a programming library? - Answer -The code has already
been tested.
Which language is dynamically typed? - Answer -Python
Which language is not built on object-oriented design principles? - Answer -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? - Answer -Object-oriented
What is a characteristic of interpreted programs? - Answer -They can be modified at
run time
Which characteristic specifically describes a markup language? - Answer -Tags
surround text to describe desired formatting
Which characteristic specifically describes interpreted language? - Answer -They can
run on any machine having the right interpreter
Which data type is used for items that are measured in length? - Answer -Float
What is the purpose of parentheses () in a programming expression? - Answer -To
group expressions
Which data type should be used to keep track of how many planes are in a hanger? -
Answer -Integer
What is a valid user-defined function name? - Answer -Variable identifier
What is the return value of a function? - Answer -Output of a function
When should a programmer develop an algorithm to solve a problem? - Answer -
Before writing a program to solve the problem.
What does a programmer do first to use an existing programming library? - Answer -
Include the library
What relationship is common among a programming library's functions? - Answer -
Functions all relate to the same purpose.
What is an advantage of using a programming library? - Answer -The code has already
been tested.
Which language is dynamically typed? - Answer -Python
Which language is not built on object-oriented design principles? - Answer -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? - Answer -Object-oriented
What is a characteristic of interpreted programs? - Answer -They can be modified at
run time
Which characteristic specifically describes a markup language? - Answer -Tags
surround text to describe desired formatting
Which characteristic specifically describes interpreted language? - Answer -They can
run on any machine having the right interpreter
Which data type is used for items that are measured in length? - Answer -Float
What is the purpose of parentheses () in a programming expression? - Answer -To
group expressions
Which data type should be used to keep track of how many planes are in a hanger? -
Answer -Integer
What is a valid user-defined function name? - Answer -Variable identifier
What is the return value of a function? - Answer -Output of a function
When should a programmer develop an algorithm to solve a problem? - Answer -
Before writing a program to solve the problem.