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

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...

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

.

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

Replies to This Discussion

Thanks Alot JazakALLAH

LMS Open ni ho rhaaaaa

RSS

Latest Activity

Mian Ali added a discussion to the group MCM520 Contemporary Mass Media
3 minutes ago
Mian Ali joined + M.Tariq Malik's group
4 minutes ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion EDU302 Human Development and Learning Assignment No 01 Fall 2019 Solution & Discussion in the group EDU302 Human Development and Learning
5 minutes ago
Profile IconMian Ali, Muhammad Daniyal and Usman Mughal joined + M.Tariq Malik's group
7 minutes ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion CS508 Assignment No 01 Fall 2019 Solution & Discussion Due Date: 12-11-2019 in the group CS508 Modern Programming Languages
7 minutes ago
+ !! SARAH replied to Rana Ali's discussion Tell some words in the Shan of Hazart Muhammad (S.A.W)
9 minutes ago
Hiba Sani joined + M.Tariq Malik's group
11 minutes ago
+ M.Tariq Malik liked + M.Tariq Malik's discussion MTH301 Calculus II GDB Fall 2019 Solution & Discussion
12 minutes ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion MTH301 Calculus II GDB Fall 2019 Solution & Discussion in the group MTH301 Calculus II
12 minutes ago
+ M.Tariq Malik added a discussion to the group MTH301 Calculus II
14 minutes ago
Preçîõûš replied to + M.Tariq Malik's discussion MGT101 Assignment No 01 Fall 2019 Solution & Discussion Due Date: 13-11-2019 in the group MGT101 Financial Accounting
15 minutes ago
Hiba Sani replied to + M.Tariq Malik's discussion CS401 Assignment No 01 Fall 2019 Solution & Discussion in the group CS401 Computer Architecture and Assembly Language Programming
16 minutes ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion BIO201 Basic Cell Biology Assignment No 01 Fall 2019 Solution & Discussion in the group BIO201 Basic Cell Biology
18 minutes ago
+ M.Tariq Malik liked + M.Tariq Malik's discussion BIO201 Basic Cell Biology Assignment No 01 Fall 2019 Solution & Discussion
18 minutes ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion BIO202 Biochemistry-I Assignment No 01 Fall 2019 Solution & Discussion in the group BIO202 Biochemistry-I
18 minutes ago
+ M.Tariq Malik liked + M.Tariq Malik's discussion BIO202 Biochemistry-I Assignment No 01 Fall 2019 Solution & Discussion
18 minutes ago
+ M.Tariq Malik added a discussion to the group BIO201 Basic Cell Biology
18 minutes ago
Hiba Sani joined + M.Tariq Malik's group
18 minutes ago
+ M.Tariq Malik added a discussion to the group BIO202 Biochemistry-I
19 minutes ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion MCM431 Development Communication Assignment No 01 Fall 2019 Solution & Discussion in the group MCM431 Development Communication
21 minutes ago

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

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