Exam 13: Array Applications

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

What is the value of X if X = INT(3.4)+ INT(7.9)?

Free
(Multiple Choice)
4.9/5
(30)
Correct Answer:
Verified

A

A binary search should be considered when

Free
(Multiple Choice)
4.8/5
(38)
Correct Answer:
Verified

D

After the first pass of an ascending sort operation is completed,the first value in the group is definitely known to contain the smallest value.

Free
(True/False)
4.7/5
(43)
Correct Answer:
Verified

True

Looking up values in a table is often referred to as

(Multiple Choice)
4.8/5
(30)

A sequence check must always be performed on data that will be searched.

(True/False)
4.7/5
(41)

The keywords AND and OR are examples of

(Multiple Choice)
4.9/5
(45)

Arranging the values in a table in a certain sequence is often referred to as

(Multiple Choice)
4.9/5
(35)

The name of the field that is in either ascending or descending order and will be searched when a table-lookup is performed is called the search key.

(True/False)
4.8/5
(37)

In a binary search,the search begins with an entry at the beginning of the table.

(True/False)
4.9/5
(32)

The condition IF A = 5 OR B > 10 will be true if

(Multiple Choice)
4.9/5
(38)

What is the name of the field that is in either ascending or descending order and will be searched when a table-lookup is performed?

(Multiple Choice)
4.8/5
(36)

The result of an AND operation will be true if all of the conditions are met.

(True/False)
4.8/5
(34)

If X = INT(6.5)then the value of X is 7.

(True/False)
4.7/5
(30)

In a binary search,the entries in the table being searched must be in either ascending or descending sequence.

(True/False)
4.9/5
(27)

Loading a table is usually done in the initialization portion of a program.

(True/False)
4.8/5
(31)

After the first pass of a descending sort operation is completed,the last value in the group is definitely known to contain the smallest value.

(True/False)
4.9/5
(40)

What is the value of X after the instructions corresponding to the following pseudocode are executed? =5 =7 IF INT(5.4)=X\operatorname { INT } ( 5.4 ) = \mathrm { X } AND INT(6.9) =Y= \mathrm { Y } THEN X=X+Y\mathrm { X } = \mathrm { X } + \mathrm { Y } ELSE Y=Y+1\mathrm { Y } = \mathrm { Y } + 1 ENDIF

(Multiple Choice)
4.9/5
(43)

What is the value of COUNT after the steps in the following pseudocode are executed? COUNT =0 TOTAL =5 PASS =4 DOWHILE PASS < TOTAL NEXT = PASS +1 DOWHILE NEXT \leq TOTAL COUNT = COUNT +1 NEXT = NEXT +1 ENDDO PASS = PASS +1 ENDDO

(Multiple Choice)
4.9/5
(40)

Reading a table into computer storage is often referred to as

(Multiple Choice)
4.8/5
(44)

The result of an OR operation will be true if one but not both of the conditions are met.

(True/False)
4.8/5
(40)
Showing 1 - 20 of 30
close modal

Filters

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