Filters
Question type

Study Flashcards

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

A) True
B) False

Correct Answer

verifed

verified

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
declarative paradigm
event-driven paradigm
debugger
FORTRAN
C++
inheritance
event
polymorphism
Prolog variable
algorithm
class attribute
Prolog rule

Correct Answer

superclass
computer program
subroutine
declarative paradigm
event-driven paradigm
debugger
FORTRAN
C++
inheritance
event
polymorphism
Prolog variable
algorithm
class attribute
Prolog rule

Programmers typically use a ____ to code computer programs.


A) generic text editor
B) program editor
C) VDE
D) all of the above

E) A) and D)
F) All of the above

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

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 ____.


A) repetition control structure
B) selection control structure
C) flowchart
D) none of the above

E) A) and C)
F) A) and B)

Correct Answer

verifed

verified

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


A) head
B) footer
C) body
D) connecting symbol

E) B) and D)
F) B) and C)

Correct Answer

verifed

verified

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
inheritance
event
computer program
declarative paradigm
C++
event-driven paradigm
algorithm
debugger
Prolog rule
FORTRAN
class attribute
superclass

Correct Answer

polymorphism
Prolog variable
subroutine
inheritance
event
computer program
declarative paradigm
C++
event-driven paradigm
algorithm
debugger
Prolog rule
FORTRAN
class attribute
superclass

What is the difference between an object and a class?

Correct Answer

verifed

verified

An object is a single instance...

View Answer

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


A) pseudocode
B) algorithm
C) statement
D) matrix

E) A) and B)
F) A) and C)

Correct Answer

verifed

verified

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


A) Private
B) Foundation
C) Open source
D) Proprietary

E) A) and D)
F) B) and C)

Correct Answer

verifed

verified

How do programmers find errors?

Correct Answer

verifed

verified

Programmers can locate errors in a progr...

View Answer

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.

A) True
B) False

Correct Answer

verifed

verified

List the popular programming paradigms.

Correct Answer

verifed

verified

The most popular programming p...

View Answer

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

A) True
B) False

Correct Answer

verifed

verified

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


A) low-level
B) high-level
C) assembly
D) machine

E) A) and D)
F) None of the above

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

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


A) fields
B) records
C) tables
D) relationships

E) All of the above
F) A) and B)

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

Pseudocode is more formalized than structured English.

A) True
B) False

Correct Answer

verifed

verified

Showing 61 - 80 of 175

Related Exams

Show Answer