Pre-Assessment Flashcards
What kind of operator is the == in the expression i == 20?
Equality
What is the purpose of parentheses () in a programming expression?
to GROUP expressions
Function F() Put "Hey" to output
What entire output appears after three successive calls to F()?
Hey Hey Hey
What is a valid user-defined function name?
Any valid identifier
Order the tasks needed to create a pyramid (large on bottom, small on top) on a table from first (1) to last (4).
Select your answer from the pull down list.
Clear table
place largest
Place Middle
Place Smallest
Which phase of a waterfall approach would create a sequence diagram that specifies the required order of events between completed program components?
Testing
Which phase of an agile approach would define a hypothesis to find a problem in a program?
Testing
Which phase of an agile approach would create an executable program?
Implemntation
Which phase of a waterfall approach defines a program’s goals?
Analysis
A company has a new project it wishes to implement to track and analyze employee and customer interactions. The company leadership determines that the system should support direct data entry as well as automated data capture of phone calls and emails.
Analysis
A programmer shows a program’s first version to a customer. Based on feedback, the programmer begins writing a second version of the program.
In which phase of an agile approach does the writing of a second version of the program occur?
Implementation
What is an advantage of using a programming library?
The code has already been tested.
Which language is dynamically typed?
C
C++
Java
Python
Python
Which language is not built on object-oriented design principles? C C++ Java Python
C - PROCEDURAL
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