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.  1
Semester: Fall 2015

CS201 – Introduction to Programming

 

Total Marks: 20

 

Due Date:

December 01, 2015

 

Instructions

Please read the following instructions carefully before submitting assignment:

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

 

  • Assignment is submitted after due date.
  • Submitted assignment does not open or file is corrupt.
  • Assignment is copied (From internet/ to from students).

 

Software allowed to develop Assignment

-          Dev C++

 

Assignment Submission Instructions

You have to submit only.cpp file on the Assignments interface of CS201 at VULMS. Assignment submitted in any other format will not be accepted and will be graded zero marks.

 

Assignment

 

Task 1: [Marks = 05]

 

Adobe Connect Lab Session Participation Marks (Already completed)

 

Task 2: [Marks = 15]

 

Write a c++ program that initially takes an integer value from the user as the loop’s limit. It means that the loop will execute the same times as the input from the user. The loop will then take integervalues as input from the user until it reaches loop limit.

You are required to use only one variable which will be used to take input repeatedly from the userinside the loop. It means you are not allowed to use the array or multiple variables for this purpose. After that your program will calculate sum of entered values, their average, minimum and maximumvalues along with position on which these values were entered.

 

NOTE: You can use different variables for storing the values for sum, average, minimum and maximum numbers etc. The restriction of using a single variable is just for getting input repeatedly inside the loop.

 

Marks distribution:

 

  • Ø 7 Marks for using only one variable for getting input values within loop
  • Ø 1 Mark  for calculating sum and average of entered values
  • Ø 2 Marks for identifying Minimum and Maximum values
  • Ø 3 Marks are for keeping track and printing the positions/indexes of minimum and maximum values
  • Ø 2 Marks to follow the sample output (Sample output screen is attached below)

 

Sample output screen is provided below; [You are required to follow same output pattern as provided]

 

 

 

 

Deadline:

Your assignment must be uploaded on or before December 01, 2015. We will not accept your solution through email after the due date.

+ 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: 6378

.

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

Attachments:

Replies to This Discussion

I have error on system("pause")

Please anyone can help...?

RSS

Latest Activity

Aisha RD left a comment for M_Asim
9 minutes ago
zuha shah joined + M.Tariq Malik's group
20 minutes ago
+ ! ❤️ ░S░I░N░G░E░R replied to + ! ! ! ! ! ! ! ! ! ! ! ! ! ! !'s discussion 100 Instructions from the Quran
24 minutes ago
+ ! ❤️ ░S░I░N░G░E░R liked + ! ! ! ! ! ! ! ! ! ! ! ! ! ! !'s discussion 100 Instructions from the Quran
24 minutes ago
+ ! ❤️ ░S░I░N░G░E░R liked + !! "AS" !!'s discussion Jis Tarah ..
24 minutes ago
+ ! ❤️ ░S░I░N░G░E░R liked + !! "AS" !!'s discussion Baat Karna ...
24 minutes ago
+ ! ❤️ ░S░I░N░G░E░R liked + !! "AS" !!'s discussion Yaha Har Cheez ..
25 minutes ago
+ ! ❤️ ░S░I░N░G░E░R liked + !! "AS" !!'s discussion Alfaaz Ki Nisbat..
25 minutes ago
+ ! ❤️ ░S░I░N░G░E░R liked ٥ دن's discussion Gunahon ki gehrai
25 minutes ago
+ ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! replied to + "αяsαℓ " Ќąƶµяɨ •"'s discussion Happy Marriage to "Zee" & " Nomi weds Noor"....!
34 minutes ago
Qaisar nadeem replied to + M.Tariq Malik's discussion ENG201 Business and Technical English Writing Assignment No 01 Fall 2019 Solution & Discussion in the group ENG201 Business and Technical English Writing
36 minutes ago
Profile IconQaisar nadeem and Isha Chuhdary joined + M.Tariq Malik's group
36 minutes ago
+ ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! posted a discussion
47 minutes ago
+ !! "AS" !! replied to + !! "AS" !!'s discussion Jis Tarah ..
1 hour ago
+ !! "AS" !! replied to + !! "AS" !!'s discussion Baat Karna ...
1 hour ago
+ !! "AS" !! replied to + !! "AS" !!'s discussion Ghalti...
1 hour ago
+ !! "AS" !! replied to + !! "AS" !!'s discussion Yaha Har Cheez ..
1 hour ago
+ !! "AS" !! replied to + !! "AS" !!'s discussion Alfaaz Ki Nisbat..
1 hour ago
Profile IconSafdar Mehmood, Shayaan, Hafiz muhammad sufyan and 28 more joined Virtual University of Pakistan
1 hour ago
+ ! ! ! ! ! ! ReBeL replied to ٥ دن's discussion Gunahon ki gehrai
1 hour ago

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

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