Answer:
def insSort(arr):
ct=0;
for i in range(1, len(arr)):
key = arr[i]
j = i-1
while j >=0 and key < arr[j] :
arr[j+1] = arr[j]
j -= 1
ct=ct+1;
arr[j+1] = key
return arr,ct;
print(insSort([2,1]))
Output of the program is also attached.
The cd command, also known as chdir (change directory), is a command-line shell command used to change the current working directory in various operating systems. It can be used in shell scripts and batch files.
Answer:
C) Multiple reviewers have to be able to view one another's changes after they are made.
Explanation:
1. B joint application design
2. A it is necessary to write most of the new code manually
3. D since users have been involved in the pro typing, managers can be confident that the system can handle large numbers of users
4. B extreme programming
5. C code that is produced using OOD is easy to secure
6. A more testing is preferable to less testing
7. C object-oriented development
8. D component-based development
9. A object
10. B the code can only represent information as objects