Graded Discussion Board (GDB) Topic and
Schedule
Dear Students,
The graded Discussion Board
(GDB) of CS101 has been posted on VULMS in GDB Section. The discussion will be
opened on 1st of September 2022 and
will remain open for the next 48 hours (02 days -- on 1st September and 2nd
September 2022).
You can participate in the discussion on the 1st and 2nd September.
Graded Discussion Board Topic
You are quite familiar
that Algorithms can be designed using Loops and recursion structures. Both are
considered as alternatives to each other in their general syntax of
initialization, modification, and test / termination condition.
Suppose you have been hired as a software
developer in a team that is working on management system for a Hospital.
The hospital has multiple branches in various cities and system needs to handle
a large number of patients on per day basis. Moreover, there is no hardware
and/or infrastructural limitations for developing this system. Given the
circumstances, you have to write algorithms to efficiently search and sort the
records. For this purpose, you have two major design choices to write an
algorithm, as to either apply iterative structure or to incorporate recursion.
So, which of the following will be your
choice that fits-best for the above-mentioned scenario and why?
Choice 1: Recursion
Choice 2: Loops
Support your answer with suitable reasons.
Your answer should not be more than 6-8 lines.
Instructions:
1. Your answer must be relevant and precise, as long and irrelevant answer
will lead to deduction of your marks.
2. You need to use font style as “Times New Roman” and font size as “12”.
3. You need to write your answer by your own. Copying form Internet or any
other sources will be awarded zero marks.
4. You should post or submit your answer on the Graded Discussion Board
(GDB), not on the Moderated Discussion Board (MDB).
5. You can’t participate in the GDB after the due date via email.
6. Please remember that there is no grace day for GDB submission. So, submit
your answer within the specified 48 hours.
Solution:
Difference
between Recursion and Loop:
The
difference between recursion and loop is that recursion is a mechanism to call
a function within the same function while loop is a control structure that
allows executing a set of instructions again and again until the given
condition is true.
What I choose:
As per the given situation, as I
would like to think, recursion is awesome for a clinic to keep up with patient
records. Since
1. Recursion is a strategy for calling a capability
inside a similar capability.
2. Recursion is more decipherable when contrasted
with circles.
3. Recursion space intricacy is higher than loop.
4. Recursion has a lot of above when contrasted
with loops.
5. Recursion is particularly really great for
dealing with things that have numerous potential branches and are excessively
mind boggling for an iterative methodology.
Download Question File and Solution
Get Paid Services (Word Ready File)
Want more info, please press the below button
`
0 Comments
Please write us. Please write in detail that how may we help you