Question: Section C, A1C (5 marks): Short Questions * IMPORTANT: - TYPE your answers in a single document file. Then save the file in PDF format
Section C, A1C (5 marks): Short Questions * IMPORTANT: - TYPE your answers in a single document file. Then save the file in PDF format and submit to SOUL - Handwriting is NOT accepted - Add student information (student name, student id) at the top of the document Name your PDF file as IDS.__Al__yourname>_.pdf - eg., IDSA_AI_CHANSiuMing_20004016.pdf Submission work not following requirements may be penalized or not be assessed. Questions: Answer the following questions based on your Python code developed in A1B1. Py: (1) Describe in your own words the process of inserting a new element ' P ' into position 2 (i.e, elt =P and pos=2) of the following fixed-size array-list (No more than 100 words). (2) Describe the program's response if we try to insert another new element into position 3 of the above list after inserting element ' P ' (No more than 100 words)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
