Question: ( 1 0 points ) Update the Array with the given commands. Draw a new picture for each part. table [ [ 0 ,

(10 points) Update the Array with the given commands. Draw a new picture for each part.
\table[[0,1,2,3,4,5,6,7,8,9],[,,,,,,,,,]]
a. Add the following Strings to the array: "John", "Jonas", "Hans", "Jani", "Juan", "Gio", "Joao", "Jana", "Johnny", "Jon" in that order.
b. Replace index 6, with "Ivan."
c. What happens if we add "Jane" at the end of the array?
Please doit like this
a. Add the following Strings to the array: "John", "Juan", "Jon", "Jean", "Jonas", "Johnny", "Joao", "Jani", "Giovanni", "Hans" in that order
b. Replace index 3, with "Ivan"
c. What happens if we add "Jhon" at the end of the array?
d. What happens if we add "Jan" by index 5 what do we get?
e. What happens if remove the elements in index 4 and 6 what do you get?
Ia
16
\table[[0,1,2,3,4,5,6,7,8,9],["John","Juan,"Jonn,"Ivan" "J,,,,,,]]
Ic
\table[[0,1,2,3,4,5,6,7,8,9]]
 (10 points) Update the Array with the given commands. Draw a

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!