Latest Activity In Study Groups

Join Your Study Groups

VU Past Papers, MCQs and More

We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.

CS201 Assignment No 02 Solution & Discussion Due Date: 02 Dec 2016




  • Write a program that takes input of 10 integers into an array.
  • Give two options to the user:

1= copy odd numbers from the array to a new array (odd[] array) and sort “odd[]”  array in ascending order


2= copy even numbers from the array to a new array (even[] array) and sort “even[]” array in ascending order



  • Write a function that accept (odd[] or even[]) array and sort it
  • Use bubble sort technique to sort the given array
  • Display the sorted array.

    Hint:: you can use 3 arrays like arry[], odd[], even[].





Sample output:



  • Taking input for array from user




  • Ask user for an option




  • Pass array to function and display sorted array









The deadline to submit your assignment solution is 2nd December, 2016. Your assignment must be submitted within the due date through VULMS. No assignment will be accepted through email after the due date.


Views: 4113

Replies to This Discussion

Please Discuss here about this assignment.Thanks

Our main purpose here discussion not just Solution

We are here with you hands in hands to facilitate your learning and do not appreciate the idea of copying or replicating solutions. Read More>>



For Important Helping Material related to this subject (Solved MCQs, Short Notes, Solved past Papers, E-Books, FAQ,Short Questions Answers & more). You must view all the featured Discussion in this subject group.

For how you can view all the Featured discussions click on the Back to Subject Name Discussions link below the title of this Discussion & then under featured Discussion corner click on the view all link.

Or visit this link 

Click Here For Detail.


.•°How to Download past papers from study groups°•. 

Dear Student Here is Complete Solution of CS201 Assignment No.2  Follow this video to understand assignment and complete solution 

CS201 Assignment No.2 Complete Solution by Faisal Shazad

Completed..!!! Completed...!!!!


Not working

CS201 Assignment #2 Complete & Final Solution for Students.

Fulfills all the requirements...
• Array manipulation
• Array passing to functions
• Sorting Of Array (Bubble sort)
Download the attachment File
Feel Free to ask any question OR query


cs101 ki assignment 2 me directory kaha likni ha wo bta dy taky submit karty waqt image display ho jaye sir ko

CS201 solution 


Check this 


CS201 Assignment#02 Solution 

Solution File


Tariq bhai kindly guide me i have zero error on this assignment. Still when i am trying to take user input from user program console crashed down. I dont know why?? could you please help me.

Deep programmer could you please help me your solution crashing down when it comes up on user choice part.


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

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