Programming Fundamentals 1 Final Exam

Your page rank:

Total word count: 801
Pages: 3

Calculate the Price

- -
275 words
Looking for Expert Opinion?
Let us have a look at your work and suggest how to improve it!
Get a Consultant

list

An array is a(n) ____ of values in computer memory.

data type

Array elements all have the same ____ in common.

size

The number of elements in an array is called the ____ of the array.

index

A(n) ____ is another name for a subscript.

name

All array elements have the same group ____.

integers

In all languages, subscript values must be sequential ____.

there are exactly three elements between those two elements

Suppose that you have declared a numeric array named numbers, and two of its elements are numbers[1] and numbers[5]. You know that ____.

The highest subscript is 6.

A program contains an array that holds all the names of the days of the week. Which of the following is true?

populating the array

Providing array values is sometimes called ____.

nested decisions

An array can be used to replace ____.

variable

The true benefit of using an array lies in your ability to use a ____ as a subscript to the array.

constants

Named ____ hold values that do not change during a program’s execution.

named constant

Besides making your code easier to modify, using a ____ makes the code easier to understand.

self-documenting

One advantage to using a named constant is that the statement becomes ____.

linear search

When you search through a list from one end to the other, you are performing a ____.

true or false

If you declare a variable to be Boolean, you can set its value to ____.

Only whole numbers can be used as array subscripts.

Which statement is true of arrays?

subscript

A ____ relates parallel arrays.

indirect

Parallel arrays are most useful when value pairs have a(n) ____ relationship.

binary

A ____ search starts looking in the middle of a sorted list, and then determines whether it should continue higher or lower.

range

To search an array for a(n) ____ match, you can store either the highest or lowest value of each range for comparison.

finite

Every array has a(n) ____ size.

elements

The number of bytes in an array is always a multiple of the number of ____ in an array.

subscript

In every programming language, when you access data stored in an array, you must use a ____ containing a value that accesses memory occupied by the array.

out of bounds

When a subscript is not within the range of acceptable subscripts, it is said to be ____.

temporary

When you write a program that stores a value in a variable, you are using ____ storage.

Permanent

____ storage is not lost when a computer loses power.

permanent

Files exist on ____ storage devices, such as hard disks, DVDs, USB drives, and reels of magnetic tape.

computer file

A ____ is a collection of data stored on a nonvolatile device in a computer system.

folders

Directories and ____ are organization units on storage devices.

path

The combination of the disk drive plus the complete hierarchy of directories in which a file resides is its ____.

Directory

____ is the more general term for an entity that organizes files.

bits

Characters are made up of smaller elements called ____.

Records

____ are groups of fields that go together for some logical reason.

fields

A database holds groups of files or ____ that together serve the information needs of an organization.

open the file

In most programming languages, before an application can use a data file, it must ____.

read

When you copy data from a file on a storage device into RAM, you ____ from the file.

sequential file

When a program uses a ____, it reads all the records in the file from beginning to end, processing them one at a time.

close

When you ____ a file, it is no longer available to your application.

backup file

A ____ is a copy that is kept in case values need to be restored to their original state.

control break

A ____ is a temporary detour in the logic of a program.

sequential

To generate a control break report, your input records must be organized in ____ order based on the field that will cause the breaks.

single-level control

A ____ break is a break in the logic of the program that is based on the value of a single variable.

Merging

____ files involves combining two or more files while maintaining the sequential order.

ascending

When the records in a file are sorted in order from lowest to highest values, the records are in ____ order.

transaction

The ____ file holds temporary data that is used to update the master file.

parent

The saved version of a master file is the ____ file; the updated version is the child file.

Batch processing

____ is processing that involves performing the same tasks with many records, one after the other.

Real-time

____ applications require that a record be accessed immediately while a client is waiting.

direct access

Because they enable you to locate a particular record directly (without reading all of the preceding records), random access files are also called ____ files.

Share This
Flashcard

More flashcards like this

NCLEX 10000 Integumentary Disorders

When assessing a client with partial-thickness burns over 60% of the body, which finding should the nurse report immediately? a) ...

Read more

NCLEX 300-NEURO

A client with amyotrophic lateral sclerosis (ALS) tells the nurse, "Sometimes I feel so frustrated. I can’t do anything without ...

Read more

NASM Flashcards

Which of the following is the process of getting oxygen from the environment to the tissues of the body? Diffusion ...

Read more

Unfinished tasks keep piling up?

Let us complete them for you. Quickly and professionally.

Check Price

Successful message
sending