Exam 12: Computer Programming

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

A Prolog rule consists of all of the following EXCEPT a ____.

(Multiple Choice)
4.9/5
(37)

What is the difference between an object and a class?

(Essay)
4.8/5
(26)

Logic errors are usually more difficult to identify than syntax errors.

(True/False)
4.8/5
(41)

Case 2 Robert wants to design a program for ordering pizza. He has completed a flowchart that illustrates how the computer should proceed through the instructions in the final program. The shape, price, and size of the pizza are presented as input. The output expresses which pizza is the best deal after being asked for a decision on the input. He has also created a UML (Unified Modeling Language) diagram. The pizza program will work on code that asks the user to make a choice of true or false as long as it contains a ____.

(Multiple Choice)
4.8/5
(30)

The object-oriented paradigm is based on the idea that the solution for a problem can be visualized in terms of objects that interact with each other.

(True/False)
4.8/5
(27)

Pseudocode is more formalized than structured English.

(True/False)
4.9/5
(39)

In the context of programming, a problem ____ defines certain elements that must be manipulated to achieve a result or goal.

(Multiple Choice)
5.0/5
(36)
Identify the letter of the choice that best matches the phrase or definition.
Premises:
Language derived from C that provides object-oriented capabilities
Responses:
polymorphism
Prolog variable
subroutine
Correct Answer:
Verified
Premises:
Responses:
Language derived from C that provides object-oriented capabilities
polymorphism
(Matching)
4.8/5
(33)

The data types used to define class attributes are similar to the data types for defining database ____.

(Multiple Choice)
4.7/5
(40)

  In the above figure, the words in parentheses are called ____________________. In the above figure, the words in parentheses are called ____________________.

(Short Answer)
4.7/5
(34)

Programmers typically use a ____ to code computer programs.

(Multiple Choice)
4.9/5
(33)

List the popular programming paradigms.

(Essay)
4.8/5
(32)

A(n) ____ language allows a programmer to use instructions that resemble human language.

(Multiple Choice)
5.0/5
(35)

How do programmers find errors?

(Essay)
4.9/5
(45)
Identify the letter of the choice that best matches the phrase or definition.
Premises:
Used to model event handling routines that are triggered by various mouse or keyboard activities
Responses:
superclass
computer program
subroutine
Correct Answer:
Verified
Premises:
Responses:
Used to model event handling routines that are triggered by various mouse or keyboard activities
superclass
(Matching)
4.7/5
(41)

____ software goes through extensive public scrutiny that can identify security holes.

(Multiple Choice)
5.0/5
(34)

A selection control structure is also called a decision structure or branch.

(True/False)
4.8/5
(28)

A(n) run-time error occurs when a line of code does not follow the grammar rules for a programming language.

(True/False)
4.7/5
(36)

Before finalizing the algorithm for a computer program, you should perform a(n) problem assessment to verify that your algorithm works.

(True/False)
5.0/5
(28)

As a rule of thumb, ____________________ languages are best suited for problems that pertain to words and concepts rather than numbers.

(Short Answer)
4.7/5
(33)
Showing 61 - 80 of 175
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)