Answer to Question #256509 in Programming & Computer Science for Benny

Question #256509

I. ONE-DIMENSIONAL ARRAY: Given the declaration statements below, provide what is

being asked in each item.


String prodName[] = {“Nova”, “Ding-Dong”, “Mr. Chips”, “Clover”, “Cheetos”, “Oreo”};


1. What is the name of the array declared? (1 point)

2. What is the data type of the array declared? (1 point)

3. What is the size or length of the array declared? What does that mean? (3 points)

4. What is the subscript of the last element? (1 point)

5. What is the subscript of the first element? (1 point)

6. What is the subscript of the 4th element? (1 point)

7. What is the 3rd element? (1 point)

8. What is the 6th element? (1 point)

9. What is the 5th element? (1point)

10. What is the value of prodName [3]? (1 point)

11. What is the value of prodName[5]? (1 point)

12. What is the value of prodName [1]? (1 point)

13. What is the value of prodName[0]? (1 point)


1
Expert's answer
2021-10-25T09:11:05-0400
Dear Benny, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS