Multiple Choice
Case-Based Critical Thinking Questions Case 9-1 Melissa, a computer science engineering student, is learning the basics of programming by exploring arrays. She learns about different array methods. She wishes to learn more on inserting and deleting array items. She creates monthName array to extract only the three spring months-March, April, and May-from a calendar. Melissa wants to extract the spring months and store them in the monthName array. Identify a method Melissa should choose to perform this task.
A) springMonths = monthName.slice(2, 5) ;
B) springMonths = monthName.splice(2, 3) ;
C) springMonths = monthName.slice(3, 5) ;
D) springMonths = monthName.splice(5, 3) ;
Correct Answer:

Verified
Correct Answer:
Verified
Q1: Identify a method that is used to
Q18: Identify the expression used to reference array
Q35: What is the output of the following
Q36: Case-Based Critical Thinking Questions Case 9-1 Melissa,
Q37: Case-Based Critical Thinking Questions Case 9-2 Gregor,
Q39: Identify the output of the following code.
Q42: What is the output of the following
Q43: The <u>getDate</u>()method in a calendar app returns
Q60: Identify a method that decreases array by
Q86: The _ method creates a new array