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

Looking For Something at vustudents.ning.com? Click Here to Search

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

How to Add New Discussion in Study Group ? Step By Step Guide Click Here.

Assignment No. 01
SEMESTER Fall 2019

CS502- Fundamentals of Algorithms

 

Total Marks: 20

 

Due Date: 13/11/2019

Instructions

Please read the following instructions carefully before solving & submitting assignment:

It should be clear that your assignment will not get any credit  if:

·         The assignment is submitted after due date.

·         The submitted assignment does not open or file corrupt.

·         The assignment is full or partially copied from (other student or ditto copy from handouts or internet).

·         Student ID is not mentioned in the assignment File or name of file is other than student ID.

·         The assignment is not submitted in .doc or .docx format.

Uploading instructions

Your submission must include:

 

·         Assignment should be in .doc or .docx format.

·         Save your assignment with your ID (e.g. bx180200786.doc).

Assignment submission through email is NOT acceptable

Objective

The objective of this assignment is

·         To give basic knowledge and understanding of Algorithms.

·         To be able to design simple algorithms.

·         To be able to understand and calculate the complexity of algorithms.

 

 

Note:

Your answer must follow the below given specifications.

·          Font style: “Times New Roman”

·          Font color: “Black”

·          Font size: “12”

·          Bold for heading only.

·          Font in Italic is not allowed at all.

·          No formatting or bullets are allowed to use.

·         Your answer should be precise and to the point, avoid irrelevant detail.

 

Lectures Covered: This assignment covers Lecture # 01 - 06

Deadline

Your assignment must be uploaded/submitted at or before 13/11/2019.

 

 

 

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.

 

=====================================Ended=======================================

 

For any query about the assignment, contact at CS502@vu.edu.pk

 

GOOD LUCK

 

 

 

+ How to Follow the New Added Discussions at Your Mail Address?

+ 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?


See Your Saved Posts Timeline

Views: 25

.

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

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

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)

Reply to This

Replies to This Discussion

Kindly study discussion ko study group mien he Post Kary...!

https://vustudents.ning.com/group/cs502fundamentalsofalgorithms/for...

RSS

Latest Activity

+ "αяsαℓ " Ќąƶµяɨ •" replied to 彡JK彡 ❤️'s discussion Don't Look for Perfection........ LOVE lies in imperfection
12 minutes ago
+ "αяsαℓ " Ќąƶµяɨ •" liked 彡JK彡 ❤️'s discussion Don't Look for Perfection........ LOVE lies in imperfection
12 minutes ago
+ "αяsαℓ " Ќąƶµяɨ •" replied to UMER UMER's discussion What is Love?
13 minutes ago
+ "αяsαℓ " Ќąƶµяɨ •" liked UMER UMER's discussion What is Love?
13 minutes ago
+ "αяsαℓ " Ќąƶµяɨ •" replied to 彡JK彡 ❤️'s discussion If you have sOmething stupid to saY............
13 minutes ago
+ "αяsαℓ " Ќąƶµяɨ •" liked 彡JK彡 ❤️'s discussion If you have sOmething stupid to saY............
13 minutes ago
+ "αяsαℓ " Ќąƶµяɨ •" replied to مخلص's discussion Samsung Galaxy S11 Leaked Camera Features
14 minutes ago
+ "αяsαℓ " Ќąƶµяɨ •" liked مخلص's discussion Samsung Galaxy S11 Leaked Camera Features
14 minutes ago
+ "αяsαℓ " Ќąƶµяɨ •" replied to Aijaz khan's discussion CS608 - Software Verification and Validation Assignment No. 2 Need Solution
15 minutes ago
+ "αяsαℓ " Ќąƶµяɨ •" replied to Moji's discussion MCM301 assignment no 1
15 minutes ago
+ "αяsαℓ " Ќąƶµяɨ •" replied to Moji's discussion CS 502 Assignment no 2
16 minutes ago
+ "αяsαℓ " Ќąƶµяɨ •" replied to Azhar Sagar's discussion How to make srs Software Requirements Specification
16 minutes ago
+ "αяsαℓ " Ќąƶµяɨ •" liked Azhar Sagar's discussion How to make srs Software Requirements Specification
17 minutes ago
+ "αяsαℓ " Ќąƶµяɨ •" replied to Abdul Majid Jamil's discussion for assignment of zoogy on topic wildlife counting
17 minutes ago
+ "αяsαℓ " Ќąƶµяɨ •" replied to + IUUOƆƎUT +'s discussion Kabhi aye haqeeqat e muntizir
18 minutes ago
+ "αяsαℓ " Ќąƶµяɨ •" liked + IUUOƆƎUT +'s discussion Kabhi aye haqeeqat e muntizir
18 minutes ago
+ "αяsαℓ " Ќąƶµяɨ •" replied to zobialatif's discussion hazrat ali says
19 minutes ago
+ "αяsαℓ " Ќąƶµяɨ •" liked zobialatif's discussion hazrat ali says
19 minutes ago
+ ! ​daShiNg DudE꧂ updated their profile
1 hour ago

Today Top Members 

© 2019   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service