You are on page 1of 1

Bahria University, Lahore Campus

Department of Computer Science


Lab Journal 03
(Spring 2020)

Course: Data Structures and Algorithm - Lab Date: _______________


Course Code: CSL-221 Max Marks: 10
Faculty’s Name: Ms. Zupash Awais

Name: _____________________ Enroll No: ___________________ Class:


______________

Objective(s):
Upon completion of this lab session, learners will be able to:
• Sort the elements in array using different sorting techniques.

Lab Tasks:
Task 1
Create a program that take an array of 10 inputs from the user and generate the sorted out put
using the following Algorithms;
 Bubble Sort
 Insertion Sort
 Selection Sort

Task 2
Translate binary search and insertion algorithm into a program which finds either the location
LOC where ITEM appears in ARRAY or the location LOC where ITEM should be inserted
into ARRAY.

Lab Grading Sheet :


Max
Obtained
Task Mark Comments(if any)
Marks
s
1. 08
2. 02
Total 10 Signature

Note : Attempt all tasks and get them checked by your Lab Instructor.

You might also like