In this section you will find some programs which are set as part of the A2 course.
Write an implementation of the scheduling algorithm first come first served. Use the round robin example code to help you. You need to log in or create an account to submit code!
Write a program which will generate an array of 100 numbers and then run quick sort on it. Quick sort must be implemented recursivly to get the points. You need to log in or create an account to submit code!
The code below will generate a list of 2000 numbers randomly. Your task is to sort them into ascending order using bubble sort. import random randomNumbers = [] count = 0 while count < 2000: randomNumbers.append(random.randint(0,10000)) count += 1 In order to do this task you must first research bubble sort to find out how […]
Leave a Reply