Professional Documents
Culture Documents
Fall 2023 - CS502 - 1
Fall 2023 - CS502 - 1
01
Total Marks: 20
Fall 2023
CS502- Fundamentals of Algorithms Due Date: 13-11-2023
Instructions
Please read the following instructions carefully before solving & submitting assignment:
It should be clear that your assignment will not get any credit (zero marks) if:
The assignment is submitted after due date.
The submitted assignment is other than MS Word file.
The submitted assignment does NOT open or file is corrupted.
The assignment is copied (from other student or ditto copy from handouts or internet).
List data in Question 2 is not your ID’s digits
Uploading instructions
For clarity and simplicity, you are required to upload/submit only one .doc/docx file.
Objectives
The objectives of this assignment are;
Good Luck!
You are required to design (write) a simple algorithm (Only Pseudo code) to:
Note: You can read about Arithemitc progression on the following link:
https://www.cuemath.com/algebra/nth-term-of-an-ap/
This results in a set of nested loops where i, j, and k are changing their values, with i incrementing, j
incrementing, and k decrementing, and the code prints the values of these variables at each step.
Deadline: Your assignment must be uploaded / submitted on or before Novermber 13, 2023
Total Marks: 20