We have been working very hard since 2009 to facilitate in your learning Read More. We can't keep up without your support. Donate Now.

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ Link For Past Papers, Solved MCQs, Short Notes & More

CS508: Modern Programming Languages
Assignment No. 02 Graded
Semester: Spring 2018 

In this assignment, you have to write and execute ADA program. This ADA program will save records of students of Computer Science. This program will contain 3 parts as described below: 
Part 1: [5 Marks]

Data of each student will be StudentID, Marks, and Status (Pass/Fail). Use appropriate data type for these attributes.
The record should be used to save student data and you are required to initialize records of 2 students only by assigning proper values. While initializing, StudentID should be your VU Roll Number in both records. For Marks, and Status field, use arbitrary values.

Part 2: [2 Marks] 

After completing Part 1, define your own type by the name of FinalScore. Its range should be from 50 to 100. After that, create a variable Marks1 of FinalScore data type.

Part 3: [8 Marks] 

After completing Part 2, initialize Marks1 with 50 and then begin a loop. During each iteration of the loop, increment the value of Marks1 by 10. Following output should be shown in each iteration:
      If Marks1 is greater than or equal to 50 and less than or equal to 65, the output will be:      Marks range is 50-65, PASS, Needs Improvement
      If Marks1 is greater than 65 and less than or equal to 75, the output will be:      Marks range is 65-75, PASS, Average
      If Marks1 is greater than 75 and less than equal to 90, the output will be:     Marks range is 75-85, PASS, Very Good


After completing the program, run the code in gnatmake 8.1.0 [see Note below], take the screenshot, and paste it in your solution file.
Your solution file must be a single Word file (.doc or .docx) containing the following:
1)Complete code written in Word [you can use Consolas font for enhancing the readability of the code]
2)Output screenshot (take multiple screenshots by scrolling appropriate area if your code and output window do not fit in one screen) 



Read more at https://www.vu-lms.tk/2018/05/cs508-assignment-no-2-solution-and.ht...


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


Views: 4386

Replies to This Discussion

Help For ADA and other help data for cs508
Discuss about assignment

share kryn solution bhi iska

Solve CS508 assignment by watching bellow video!!!




I hope its very helpful to all students.

Best Regards: Asif Jalal

Ya Error file ha 

Correct code share karay plz

yar ap sab kese ye keh rhe ho mene video mein compile kr k dikhaya hai ap theek se code copy ni kr he hu only code copy krna h file mein se sath koi text copy ni hona chahye like .. php code is given bellow , screenshot etc.

Share  your code

values change karny sy baar baar needs improvement hi ata hy, plz guide.

is it work ? error ha 

yar ap sab kese ye keh rhe ho mene video mein compile kr k dikhaya hai ap theek se code copy ni kr he hu only code copy krna h file mein se sath koi text copy ni hona chahye like ..code is given bellow , screenshot etc.

Dear Asif 

I tried but there is error. please share the complete codes

yar sab ne error error lagay hoi hai can you tell me keh kya error a rha hia.?

RSS

Latest Activity

+M.Tariq Malik replied to yasmeen anwer's discussion MCS 1st Quiz
2 hours ago
+M.Tariq Malik liked yasmeen anwer's discussion MCS 1st Quiz
2 hours ago
Profile IconSehrish Mumtaz, Nazir shah, Shahid Iqbal and 8 more joined Virtual University of Pakistan
2 hours ago
+M.Tariq Malik replied to Imtiaz Waqar's discussion COST AND MANAGEMENT ACCOUNTING (MGT402) ASSIGNMENT NO. 01 in the group MGT402 Cost & Management Accounting
2 hours ago
+M.Tariq Malik replied to Muhammad Kashif's discussion FIN611 GDB No 1 Fall 2020 Solution / Discussion in the group FIN611 Advanced Financial Accounting
2 hours ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion FIN611 GDB No 1 Fall 2020 Solution / Discussion in the group FIN611 Advanced Financial Accounting
2 hours ago
yasmeen anwer posted a discussion
2 hours ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion ENG201 Online Quiz No 01 Fall 2020 Solution Discussion Last Date: 27-11-2020 in the group ENG201 Business and Technical English Writing
2 hours ago
HAFIZA AREESHA ASLAM replied to +M.Tariq Malik's discussion SOC101 SOC101 Short Notes Glossary - SOC101 Short Questions Answers - SOC101 Subjective Solved Questions in the group SOC101 Introduction to Sociology
2 hours ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion PHY301 Assignment 01 Fall 2020 Solution / Discussion in the group PHY301 Circuit Theory
3 hours ago
+M.Tariq Malik liked Muhammad Kashif's discussion FIN611 GDB No 1 Fall 2020 Solution / Discussion
3 hours ago
乇メ-丂イひり3刀イ. replied to 乇メ-丂イひり3刀イ.'s discussion *** My Drawing ***
3 hours ago

Looking For Something? Search Here

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

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

.