0% found this document useful (0 votes)
62 views

Cse 205 (Data STR and Algo)

This document outlines an assignment for a Data Structures and Algorithms course. It is divided into 7 sets, with each set containing 2 questions and being assigned to a different range of student roll numbers. The questions cover topics like algorithm complexity, asymptotic notation, sorting algorithms, searching algorithms, and operations on arrays. Students need to submit their solutions in PDF format within the given time frame and will be evaluated based on their explanations and examples.

Uploaded by

satyam patidar
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
62 views

Cse 205 (Data STR and Algo)

This document outlines an assignment for a Data Structures and Algorithms course. It is divided into 7 sets, with each set containing 2 questions and being assigned to a different range of student roll numbers. The questions cover topics like algorithm complexity, asymptotic notation, sorting algorithms, searching algorithms, and operations on arrays. Students need to submit their solutions in PDF format within the given time frame and will be evaluated based on their explanations and examples.

Uploaded by

satyam patidar
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Assignment-1

Set-I (For Roll Number 01 to 10)


COURSE CODE: CSE205
COURSE TITLE: DATA STRUCTURES AND ALGORITHMS
Max. Marks: 30
Read the following instructions carefully before attempting the Assignment.
1) Explanations must be in your words, do not copy from any resources.
2) Solutions must be unique for each student.
3) You have to submit pdf through UMS containing Questions and Solutions of your given set for Assignment.
4) Example will be more focused during evaluation.

Q1: What do you mean by best, average and worst case complexity of an algorithm? Explain with the help of suitable
example. [15 Marks]
Q2: Write an algorithm for insert an element into kth index of a linear array having n elements. Apply same algorithm on a
linear array having 10 elements and write the explanation for each step. (Where k<=n-1) [15 Marks]

Assignment-1
Set-II (For Roll Number 11 to 20)
COURSE CODE: CSE205
COURSE TITLE: DATA STRUCTURES AND ALGORITHMS
Max. Marks: 30
Read the following instructions carefully before attempting the Assignment.
1) Explanations must be in your words, do not copy from any resources.
2) Solutions must be unique for each student.
3) You have to submit pdf through UMS containing Questions and Solutions of your given set for Assignment.
4) Example will be more focused during evaluation.

Q1: What is asymptotic notation? Explain the entire notation by taking example for each notation of your own choice. [15
Marks]
Q2: Given arrays A and B are:
A: 1, 8, 20, 34, 67
B: 1, 2, 3, 4
Write an algorithm such that we get a final array C as follows:
C: 1, 1, 2, 3, 4, 8, 20, 34, 67
Apply same algorithm on given arrays A and B to get C and write the explanation for each step. [15 Marks]

Assignment-1
Set-III (For Roll Number 21 to 30)
COURSE CODE: CSE205
COURSE TITLE: DATA STRUCTURES AND ALGORITHMS
Max. Marks: 30
Read the following instructions carefully before attempting the Assignment.
1) Explanations must be in your words, do not copy from any resources.
2) Solutions must be unique for each student.
3) You have to submit pdf through UMS containing Questions and Solutions of your given set for Assignment.
4) Example will be more focused during evaluation.

Q1: Sort the given elements using insertion sort 12, 92, 11, 16, 12, 44, 19. Demonstrate all steps. What is the need of
measuring the complexity of an algorithm? Explain the time complexity of insertion sort. [15 Marks]
Q2: Write an algorithm of binary search? Explain with the help of suitable example. Give explanation about the best and
worst case complexity of binary search. [15 Marks]

Page 1 of 3
Assignment-1
Set-IV (For Roll Number 31 to 40)
COURSE CODE: CSE205
COURSE TITLE: DATA STRUCTURES AND ALGORITHMS
Max. Marks: 30
Read the following instructions carefully before attempting the Assignment.
1) Explanations must be in your words, do not copy from any resources.
2) Solutions must be unique for each student.
3) You have to submit pdf through UMS containing Questions and Solutions of your given set for Assignment.
4) Example will be more focused during evaluation.

Q1: What do you mean by time-space trade-off among algorithms? Sort the given elements using bubble sort. Demonstrate
all steps. 12, 92, 11, 16, 12, 44, 19 [15 Marks]
Q2: Write an algorithm for insert an element into kth position of a linear array having n elements. Apply same algorithm on
a linear array having 10 elements and write the explanation for each step. (Where k<=n) [15 Marks]

Assignment-1
Set-V (For Roll Number 41 to 50)
COURSE CODE: CSE205
COURSE TITLE: DATA STRUCTURES AND ALGORITHMS
Max. Marks: 30
Read the following instructions carefully before attempting the Assignment.
1) Explanations must be in your words, do not copy from any resources.
2) Solutions must be unique for each student.
3) You have to submit pdf through UMS containing Questions and Solutions of your given set for Assignment.
4) Example will be more focused during evaluation.

Q1: Sort the given elements using selection sort 12, 92, 11, 16, 12, 44, 19. Demonstrate all steps. What is algorithm
complexity and explain algorithm complexity for selection sort? [15 Marks]
Q2: Write an algorithm to delete an element from kth position of a linear array having n elements. Apply same algorithm on
a linear array having 10 elements and write the explanation for each step. (Where k<=n) [15 Marks]

Assignment-1
Set-VI (For Roll Number 51 to 60)
COURSE CODE: CSE205
COURSE TITLE: DATA STRUCTURES AND ALGORITHMS
Max. Marks: 30
Read the following instructions carefully before attempting the Assignment.
1) Explanations must be in your words, do not copy from any resources.
2) Solutions must be unique for each student.
3) You have to submit pdf through UMS containing Questions and Solutions of your given set for Assignment.
4) Example will be more focused during evaluation.

Q1: Q1: What is asymptotic notation? Explain the entire notation by taking example for each notation of your own choice.
[15 Marks]
Q2: Write an algorithm to delete an element from kth index of a linear array having n elements. Apply same algorithm on a
linear array having 10 elements and write the explanation for each step. (Where k<=n-1) [15 Marks]

Page 2 of 3
Assignment-1
Set-VII (For Roll Number 61 to 70)
COURSE CODE: CSE205
COURSE TITLE: DATA STRUCTURES AND ALGORITHMS
Max. Marks: 30
Read the following instructions carefully before attempting the Assignment.
1) Explanations must be in your words, do not copy from any resources.
2) Solutions must be unique for each student.
3) You have to submit pdf through UMS containing Questions and Solutions of your given set for Assignment.
4) Example will be more focused during evaluation.

Q1: What do you mean by best, average and worst case complexity of an algorithm? Explain with the help of suitable
example. [15 Marks]
Q2: Write an algorithm of binary search? Explain with the help of suitable example. Give explanation about the best and
worst case complexity of binary search. [15 Marks]

Page 3 of 3

You might also like