Filters
Question type

Study Flashcards

An insertion sort is another name for a bubble sort.

Correct Answer

verifed

verified

Match each term with a statement below. -Algorithm


A) physical order
B) ascending order
C) table
D) mean
E) descending order
F) logical order
G) sequential order
H) a list of instructions that accomplish a task
I) median
J) addresses

Correct Answer

verifed

verified

One way to access records in a desired order,even though they might not be physically stored in that order,is to create a(n) ____.


A) linked list
B) array
C) matrix
D) table

Correct Answer

verifed

verified

When you ____ records,you store a list of key fields paired with the storage address for the corresponding data record.


A) store
B) tab
C) reference
D) index

Correct Answer

verifed

verified

When you store data records,they exist in ____.


A) some type of order
B) the reverse order from how they were entered
C) the same default ordering for all systems
D) ascending order

Correct Answer

verifed

verified

When you use an index,you can store records on a ____ storage device.


A) linear-access
B) random-access
C) sequential-access
D) uniform-access

Correct Answer

verifed

verified

Match each term with a statement below. -A virtual order based on any criterion you choose


A) physical order
B) ascending order
C) table
D) mean
E) descending order
F) logical order
G) sequential order
H) a list of instructions that accomplish a task
I) median
J) addresses

Correct Answer

verifed

verified

To correctly swap two values,you create a(n) ____ variable to hold one of the values.


A) per-swap
B) inversion
C) conversion
D) temporary

Correct Answer

verifed

verified

D

When you sort records,two possible approaches are to place related data items in parallel arrays and to ____.


A) sort records as a whole
B) sort fields in records individually
C) place unrelated data items in parallel arrays
D) sort data in spreadsheets

Correct Answer

verifed

verified

When you learn a method like sorting,programmers say you are learning a(n) ____.


A) matrix
B) addressed location
C) algorithm
D) linked list

Correct Answer

verifed

verified

In a(n) ____,if an element is out of order relative to any of the items earlier in the list,you move each earlier item down one position and then insert the tested element.


A) selection sort
B) bubble sort
C) sync sort
D) insertion sort

Correct Answer

verifed

verified

Each element in a two-dimensional array requires ____ subscript(s) to reference it.


A) one
B) two
C) three
D) four

Correct Answer

verifed

verified

B

When using a bubble sort to sort a 10-element array,on the fourth pass through the array list you detect that no swap has occurred.This indicates ____.


A) the elements in the array were badly out of order
B) all elements in the array are already in the correct order
C) you must make one more pass through the array
D) you must make a total of 10 passes through the array

Correct Answer

verifed

verified

Explain why you might want to use a two-dimensional array.

Correct Answer

verifed

verified

Sometimes locating a value in an array d...

View Answer

Describe an insertion sort.

Correct Answer

verifed

verified

When you use an insertion sort,you look ...

View Answer

In its simplest form,creating a(n)____________________ list involves creating one extra field in every record of stored data.

Correct Answer

verifed

verified

linked

An array whose elements you can access using a single subscript is a ____ array.


A) one-dimensional
B) multi-dimensional
C) non-dimensional
D) single-dimensional

Correct Answer

verifed

verified

The sorting process is usually reserved for a relatively large number of data items.

Correct Answer

verifed

verified

A record's ____ field is the field whose contents make the record unique among all records in a file.


A) primary
B) column
C) secondary
D) key

Correct Answer

verifed

verified

If you are performing a(n)____________________ bubble sort,then after you have made one pass through the list,the largest value is guaranteed to be in its correct final position at the bottom of the list.

Correct Answer

verifed

verified

Showing 1 - 20 of 60

Related Exams

Show Answer