Exam 12: Computer Programming

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags
Identify the letter of the choice that best matches the phrase or definition.
Premises:
A section of code that is part of a program but is not included in the main sequential execution path
Responses:
FORTRAN
superclass
algorithm
Correct Answer:
Verified
Premises:
Responses:
A section of code that is part of a program but is not included in the main sequential execution path
FORTRAN
(Matching)
4.7/5
(26)

A simple example of a selection control structure is the ____ command.

(Multiple Choice)
4.8/5
(37)

A class can produce any number of unique ____.

(Multiple Choice)
4.8/5
(28)

____, the ability to redefine a method in a subclass, is sometimes called overloading.

(Multiple Choice)
4.8/5
(27)

Case 3 Linda's pizza program on ordering size, price, and shape will be completed in Java. She has finished the flowchart and the pseudocode. The classes and methods are placed within the structure of a Java program, which contains class definitions, defines methods, initiates the comparison, and outputs results. By using ____, Linda can pass the generic attributes of a Pizza to specialized subclasses, such as RoundPizza and RectanglePizza.

(Multiple Choice)
4.8/5
(34)

Critical Thinking questions (Multiple Choice) You are a computer programmer and want to eliminate many lines of code by substituting a single command for multiple commands. What type of language would you use?

(Multiple Choice)
4.9/5
(37)

Critical Thinking questions (Multiple Choice) You want a compiler that provides access to Windows and Mac user interface components while testing your program. You should try using a(n) ____.

(Multiple Choice)
4.9/5
(33)

A(n) ____________________ language typically includes commands that are specific to a particular CPU or microprocessor family.

(Short Answer)
4.8/5
(27)

The unknown information in a problem statement is the information that you supply to the computer to help it solve a problem.

(True/False)
4.8/5
(37)
Identify the letter of the choice that best matches the phrase or definition.
Premises:
Used to model functions that describe a problem without specifying the exact path to the solution
Responses:
superclass
Prolog variable
Prolog rule
Correct Answer:
Verified
Premises:
Responses:
Used to model functions that describe a problem without specifying the exact path to the solution
superclass
(Matching)
4.7/5
(28)

A(n) ____________________ or command is a word that has a predefined meaning for the compiler or interpreter that translates each line of program code into machine language.

(Short Answer)
4.8/5
(37)

A function is also called a goroutine.

(True/False)
4.7/5
(34)

The section of code that repeats in a repetition control structure is referred to as a loop or ____________________.

(Short Answer)
4.9/5
(31)

The ____ paradigm focuses on the use of facts and rules to describe a problem.

(Multiple Choice)
4.9/5
(28)

Critical Thinking questions (Multiple Choice) Saul, a programmer, is running into a problem where he is forced to view problems as a series of steps, regardless of whether or not they might be better visualized as interacting objects or interrelated words or ideas. He must be using a(n) ____.

(Multiple Choice)
4.8/5
(34)

An object is a single instance of an entity, whereas a(n) ____________________ is a template for a group of objects with similar characteristics.

(Short Answer)
4.9/5
(37)
Identify the letter of the choice that best matches the phrase or definition.
Premises:
Defines the characteristics of a set of objects
Responses:
declarative paradigm
inheritance
class attribute
Correct Answer:
Verified
Premises:
Responses:
Defines the characteristics of a set of objects
declarative paradigm
(Matching)
4.7/5
(24)

Case 3 Linda's pizza program on ordering size, price, and shape will be completed in Java. She has finished the flowchart and the pseudocode. The classes and methods are placed within the structure of a Java program, which contains class definitions, defines methods, initiates the comparison, and outputs results. When Linda overloads the getArea() method in the various subclasses of Pizza, she is explicitly relying on the ____ feature of object-oriented programming.

(Multiple Choice)
5.0/5
(39)

Algorithms are typically written in a format that is specific to a particular programming language.

(True/False)
4.8/5
(32)
Identify the letter of the choice that best matches the phrase or definition.
Premises:
Refers to passing certain characteristics from one class to other classes
Responses:
event
algorithm
Prolog variable
Correct Answer:
Verified
Premises:
Responses:
Refers to passing certain characteristics from one class to other classes
event
(Matching)
4.7/5
(35)
Showing 141 - 160 of 175
close modal

Filters

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