Skip to content
VUBuddy

CS502 Assignment 1 Solution Fall 2026

Fundamentals of Algorithms Lesson 6: Asymptotic Notation 15 marks No solution

About CS502 Assignment 1

CS502 Assignment No 1 for Fall 2026 is from Fundamentals of Algorithms. It covers lesson 6: Asymptotic Notation, carries 15 marks and closed on VULMS on Friday 6 November 2026. No solution was added before it closed.

Course
CS502 Fundamentals of Algorithms
Assignment
Assignment No 1
Semester
Fall 2026
Lesson
6: Asymptotic Notation
Total marks
15
End date
Fri 6 Nov, 11:59 pm

What CS502 Assignment 1 asks

This assignment focuses on analyzing the time complexity of a provided algorithm that calculates and counts the factors of a positive integer. You are required to examine the execution frequency of each statement within the algorithm. The final output involves completing a specific table and deriving the total time complexity function T(n).

  1. Question 01

    10 marks

    Analyze the provided algorithm to determine how many times each of the six statements executes. You must present your findings by filling in the provided table with the execution count or time complexity for each step.

  2. Question 02

    5 marks

    Calculate the total time complexity T(n) for the algorithm analyzed in the previous question. Provide the final expression representing the overall complexity.

What to submit
One .doc or .docx file.
Topics covered
Time complexity Algorithm analysis Asymptotic notation Statement execution frequency Factor calculation

A summary of the assignment file, Fall 2026_CS502_1.pdf. Download the file for the full wording before you start.

Lesson covered

Lesson 6: Asymptotic Notation CS502 · Fundamentals of Algorithms

The questions in this assignment come from this lesson. Read it in the CS502 handout before you open the assignment file, then practise it with the MCQs and past papers.

Solution

No solution was added before this assignment closed. The assignment file stays here so you can revise lesson 6.

Before you submit on VULMS

  1. 1 This assignment closed without a solution. Use the assignment file to revise lesson 6 before your exams.
  2. 2 Write the final answer in your own words. VU checks assignments for copying, and copied work gets zero marks.
  3. 3 Save your answer in the file type the assignment file asks for, and name it with your student ID, for example BC260012345.
  4. 4 Open the file once more to check it is not empty or corrupted, then upload it on VULMS before 11:59 pm on Fri 6 Nov.

Questions about this assignment

When is CS502 Assignment 1 due?

It closed on Friday 6 November 2026. VULMS no longer accepts files for it, but the assignment stays here for revision.

Will a solution be added?

No. Solutions are written only while an assignment is open on VULMS, and this one closed on Friday 6 November 2026. The assignment file stays here for revision.

Can I submit the solution as it is?

No. VU checks assignments for copying, and copied work gets zero marks. Use the solution to check your method, then write your own answer.

What file do I submit?

The assignment file says which file type to upload and lists any extra instructions from your instructor. Name the file with your student ID before you upload it on VULMS.

Get more out of VUBuddy, for free

Android app Free on Google Play
  • Unlimited downloads
  • The explanation behind every MCQ answer
  • Study offline on slow data
Get the Android app
Chrome extension Free on the Chrome Web Store
  • 30 downloads a day instead of 3
  • Sign in and buy Pro Semester here
Add to Chrome

One Pro Semester membership works in both the extension and the app.