CTP 115 MIDTERM

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

Return

One of the pseudocode statements in the body of a function must be a(n) ________ statement.

value

Pass by ________ means that only a copy of the argument's value is passed into the module, resulting one-way communication.

NOT

The _______ operator reverses the meaning of a Boolean expression.

Unicode

The ________ is an extensive encoding scheme that is compatible with ASCII and can represent the characters of all the languages in the world.

CPU

The ________ is the most important component in a computer because without it, the computer could not run software.

body

The ________ of the module is a list of statements that belong to the module.

argument

The ________ of the program transfers to a module when the module call is made from the program.

AND

The ________ operator requires both sub expressions to be true for the compound expression to be true.

debugging

The ________ process occurs when the programmer finds and corrects the code that is causing the logic error(s).

single alternative

The ________ selection control structure provides only one alternative path of execution.

diamond

The ________ symbol indicates that some condition must be tested in a flowchart.

definition

The class ________ starts with the keyword Class followed by the name of the class.

internal

The comments the programmer places in the code explaining how different parts of the program work are known as ________ documentation.

attributes

The data contained in an object are known as the object's ________.

relational

The following operators > < >= <= == != are called _______ operators.

Set

The keyword used in a pseudocode assignment statement is ________.

Input

The keyword used in pseudocode to obtain values from the user of the program is ________.

RAM

The main memory is called ________ because the CPU is able to quickly access data stored at any random location.

methods

The object's ________ are the modules and functions of the object.

logical

The operators AND and OR are called _________ operators.

Defualt

The statement(s) that immediately follow the ________ keyword are executed if the test expression in the Select Case structure does not match any Case values.

top down

The technique used by programmers to break down an algorithm into modules is called ________.

bit

The term ________ stands for a binary digit.

access specifier

The word Private that appears before a field declaration, in a class definition, is known as a(n) ________.

one

There can be only ________ return value from a function to the called module.

boolean

This is the type of function that returns true or false.

input

To determine a program's ________ requirements, you must determine the pieces of data required for the program to complete its task.

Application Programming Interface

What does API stand for?

Case

When a Select Case statement executes, the value of the test expression is compared with the values that follow each of the _______ keywords.

variable

When a mathematical calculation is performed, a programmer typically chooses to store the result of that calculation in computer memory in a(n) ________.

decision

When a program performs actions only under certain conditions, it is using a ________ structure.

nested

When one If statement is placed within another one, it is called a _______ If.

Demorgan

_______ Law provides two powerful rules of Boolean algebra. The rules are used when the NOT operator precedes two or more conditions in parentheses to turn a negative logical expression into a positive expression.

scope

________ describes the part of the program in which a variable can be accessed.

data hiding

________ refers to the ability of a class or method to hide details about how it performs its tasks from code in the rest of the program.

encapsulation

________ refers to the combining of data and code into a single entity.

procedural

________ software development is a method of writing software where it is centered on the procedures or actions that take place in a program.

program

A(n) ________ is a list of instructions that cause the central processing unit to perform operations to complete a task.

constructor

A(n) ________ is a method that is automatically called when an object is created.

method

A(n) ________ is a module or function defined inside a class that operates on attributes and/or defines a behavior of the class.

compiler

A(n) ________ is a program that translates a high-level language program into a separate machine language program.

algorithm

A(n) ________ is a set of well-defined logical step-by-step instructions that must be taken to solve a problem or perform a task.

class

A(n) ________ is not a stand-alone program, but is used by programs that need its service.

class

A(n) ________ is the "blueprint" for the object that is created from it.

declare

A(n) ________ statement specifies the variable's name and the variable's data type.

local

A(n) ________ variable is declared inside a module and cannot be accessed by statements that are outside the module.

instance

An existing object that is created from a class is called a(n) ________ of the class.

Argument

Any piece of data that is passed into a module when a module is executed is called a(n) ________.

diagram

During the object-oriented analysis process, programmers build a model of the program by drawing UML ________.

parallelogram

In a flowchart, the ________ symbol is used to represent the inputs and outputs in the steps of the program.

dual alternative

In a(n) ________ selection control structure, one path is taken if a condition is true and the other path is taken if the condition is false.

false

In an If-Then-Else statement, the Else clause marks the beginning of the statements to be executed when the Boolean expression is ________.

variables

In pseudocode, the programmer declares ________ that are used as storage locations in memory for data.

parameter

It is common practice in most programming languages to put a set of ________ after a module name.

getter

A method that returns a value store in an attribute (data member or field) of an object, but does not change the value, is known as a(n) ________ method.

setter

A method that stores a value in an attribute (data member or field) or changes the value of an attribute in some way is known as a(n) ________ method.

Syntax

A program cannot be translated if it has ________ errors.

global

A(n) ________ constant is a named constant that is available to every module in the program.

module

A(n) ________ is a group of statements that exists within the program for the purpose of performing a specific task.


Kaugnay na mga set ng pag-aaral

PEDS - Chapt 2: Family Centered Care

View Set

Life Span and Development EXAM 1 Chapter 1

View Set

6.RP.1, 6.RP.2, 6.RP.3 and 6.RP.4- Ratios and Proportional Reasoning

View Set

LUOA World History I - 1.14.R - Quiz: The Roman World

View Set

PCP - Chapter 10: Accounting for Long-Term Liabilities

View Set

EAPS 10500 | Units 10-12 (Moons, Tides, and Rings; Exoplanets; Hazards of Space Travel) | Study Guide (Exam 4) STUDY THIS TOO

View Set