Programming Logic and Design 8th Edition Chapter 8 Review

Programming Logic and Design 8th Edition Chapter 8 Review

Assessment

Quiz

•

Computers

•

11th Grade - Professional Development

•

Practice Problem

•

Medium

Created by

Jaida Tinsley

Used 8+ times

FREE Resource

Student preview

quiz-placeholder

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

1.Employee records stored in order from highest-paid to lowest-paid have been sorted in_____________order.

a. recursive

b. ascending

c. staggered

d. descending

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

2.Student records stored in alphabetical order by last name have been sorted in_____________order.

a. recursive

b.ascending

c. staggered

d. descending

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

3.When computers sort data,they always_____________order.

a. place items in ascending order

b. use a bubble sort

c. use numeric values when making comparisons

d. begin the process by locating the position of the lowest value

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

4. Which of the following code segments correctly wasps the players of variables named x and y?

a. x = y, y = temp, x = temp

b. temp = x, x = y, y = temp

c. x = y , temp = x, y = temp

d. temp = x, y = x, y = temp

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

5. Which type of sort compares list items in pairs, swapping any two adjacent values that are out of order?

a. insertion sort

b. indexed sort

c. bubble sort

d. selection sort

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

6. To sort a lost 15 values using a bubble sort, the great number of times you would have to pass through the list making comparisons is_____________

a. 12

b. 13

c. 14

d. 15

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

7. To completely sort a lost of eight values using a bubble sort, the greatest possible number of required pair comparisons is_____________.

a. seven

b. eight

c.49

d.64

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?