You are on page 1of 3

College of Computing and Informatics

Computer Programming II
CS141

Discussion Board
Deadline: Thursday 10/02/2022 @ 23:59
[Total Mark for this Assessment is 3]
Pg. 1

Purpose
In this discussion board, you will post your answer to the question. You will also read
and respond to 2 other classmate's postings. This is an excellent way for you to interact
with your colleagues and to share your thoughts about their answers in a critical way.

Topic of the Discussion (100 – 200 words)

Discuss the importance of both Data structure and Algorithms. Can you rely on
only one of them and neglect the other? Explain your answer with an example.

Submission Instructions
 Access the discussion forum for this assignment by clicking on the discussion
forum title.
 Click on “Create Thread.”
 Enter a title for your response in the “Subject” line.
 Type your answer into the message field to answer the question.

Submission Requirements
 Your answer should be about 100 – 200 words.
 Assure uniqueness, qualities and academic writing when posting your discussion
 Respond to two other classmates’ postings by critically reviewing your
classmate's answer and stating with reasons which points you agree or disagree
with.
 An example of unacceptable replies: “I agree with you”, “good post, I like it”, “I
think your post is good” or any similar posts are not acceptable.

Submission Due Date


 Post your answer and your 2 comments on your classmates’ answers
before 10/02/2022 @ 11:59 PM.
 After the due date the discussion will not be available.

Marking Criteria (3 Marks)


 2 marks: for your original answer.
 1 mark: for 2 responses to your classmates’ answers (2 x 0.5)
Pg. 2

Answer the discussion question:

Data structures: helps describe the analysis problem and make it easier to write
lean and efficient code to obtain maximum utility from the data we have. Having
a good understanding of the concepts in data structures, you are halfway done in
coming up with software for whichever task you intend to subject it to.

Algorithms: refers to the step by step procedure to solve a problem. By


combining "data structure" and "algorithm", we optimize the codes in software
engineering.

We Can't rely on only one of them and neglect the other.becaus there is
strong relationship between algorithms and data structures.

Data structures are entities designed to hold information used by the algorithms.
Each data structure has a way to store the elements in memory and functions that
will help you to manipulate the data stored efficiently. Some data structures are
better to be used to solve determinate problems. An algorithm is a list of steps to
solve a problem. If you implement the algorithm on your computer, you can use
data structures implementations to store the data that you will use to solve the
problem.

For example, if you need to sort a list of numbers, you can use a list data
structure to store the numbers, and a sorting algorithm like insertion sort that
will sort the elements in that list.

You might also like