We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

www.vustudents.ning.com

 www.bit.ly/vucodes + Link For Assignments, GDBs & Online Quizzes Solution www.bit.ly/papersvu + Link For Past Papers, Solved MCQs, Short Notes & More

Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

# CS502 Fundamentals of Algorithms Assignment No 01 Fall 2019 Solution & Discussion

CS502 Fundamentals of Algorithms Assignment No 01 Fall 2019 Solution & Discussion

+ How to Join Subject Study Groups & Get Helping Material?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?

Views: 2894

.

+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

### Replies to This Discussion

Our main purpose here discussion not just Solution

Discussed & be touched with this discussion. After discussion a perfect solution will come in a result at the end.

P.S:    Please always try to add the discussion in proper format title like “CS101 Assignment / GDB No 01 Solution & Discussion Due Date: ___________”

Then copy Questions from assignment file and paste in Discussion.

http://bit.ly/vucodes (For Assignments, GDBs & Online Quizzes Solution)

http://bit.ly/papersvu (For Past Papers, Solved MCQs, Short Notes & More)

# Assignment No. 01 SEMESTER Fall 2019 CS502- Fundamentals of Algorithms

Assignment Statement:

In mathematics Prime is a number which can be only divisible by 1 and itself. Examples of prime numbers are, 1 , 3 , 5 , 7 ,  11 , 13 , 17 , 19 , 23 , 29 , 31 etc. When these numbers get large, then it is very difficult to manually identify them as to be prime or not prime. For example the numbers like, 443 and 44371 cannot easily identify as Prime.

There may be many algorithms which can be written for the identification of a number to be prime or not prime.

Question No  01:   (Marks:  10)

You are required to design (write) a simple algorithm (Only Pseudo code) which can identify a number to be Prime or Not Prime.

Question No  02:   (Marks:  10)

You are required to calculate (Step by Step) the worst case time complexity T(n) of the algorithm designed in Question No. 01.

CS502 Assignment 1 Solution Idea Fall 2019

CS502 Assignment 1 Solution Idea Fall 2019

Sir Black color wali pic aesy hi upload krni hay ya word ky ander type karni hai

Type kar ke!!!

CS502 Solution

great ho gaya ab to mobile per bhi pata lag gaya ka screen shot kaysa layta haen wa ji wa

# *NEW SOLUTION 100% CORRECT CS502 assignment NO 1 solution 2019*

shabash Ap na pro ko khara dia lakin tariq bhai bhi pro haen thank you for the idea i will check the file and see if there are errors or not

## Latest Activity

Namood replied to ayesha's discussion cs609 GDB solution& Discussion Due date:28 jan 2020 in the group CS609 System Programming
7 minutes ago
ہاشم added a discussion to the group MCM401 Fundamentals of Public Relations

### MCM401 Assignment Solution 2 2020

43 minutes ago
ہاشم joined + M.Tariq Malik's group

### MCM401 Fundamentals of Public Relations

45 minutes ago
Rehan posted a status
"MGMT623 - Assignment # 1?????"
46 minutes ago
zari joined + M.Tariq Malik's group

### CS201 Introduction to Programming

53 minutes ago
zari and norina joined + M.Tariq Malik's group

### CS601 Data Communication

53 minutes ago
Iqra Khan left a comment for Mah noor naseer
55 minutes ago
Iqra Khan left a comment for Ahsan Ali Haider
1 hour ago
Iqra Khan left a comment for Aleena mouqadas
1 hour ago
1 hour ago
Iqra Khan left a comment for Mouzma Haider
1 hour ago
Iqra Khan left a comment for Nabeel Ahmad
1 hour ago

1

2

3