Question: When you do not know how many items need to be sorted in a program, you can create an array that has _____. a. Variable-sized

When you do not know how many items need to be sorted in a program, you can create an array that has _____.

a. Variable-sized elements

b. At least as many elements as the number you predict you will need

c. At least one element less than the number you predict you will need

d. You cannot sort items if you do not know the number of items when you write the program.

Step by Step Solution

3.31 Rating (151 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

b At least as ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Logic & Design Questions!