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. 02
Semester Spring 2019
CS508- Modern Programming Languages
Total Marks: 20

Due Date: May 31, 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 is corrupt.
• The assignment is completely or partially copied from (other student or ditto copied 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 .rar format.
Uploading instructions
Your submission must include:
• Assignment should be in .rar format.
• Save your assignment with your ID (e.g. bx180200786.rar).
Assignment submission through email is NOT acceptable
Objective
The objective of this assignment is to give hands on practice on Ada programming language.

Lectures Covered: This assignment covers Lecture # 13 – 15
Deadline
Your assignment must be uploaded/submitted at or before May 31, 2019.
You are required to create an Ada Console Program using GNAT.
Problem Statement:
Create an Ada program which will take Student Name, Student ID and CGPA then store it in file named studentdata.txt.
Ask the user to input name, id and CGPA one by one, and then write it in the file. Existing data must not be overwritten by current data, to accomplish this you can first read the file and store all the existing data and later on combine new and existing data and write into the file or you can use other methods to embed the new text.
• If file does not already exist then program must create new file.
• You need to record a gif file to show the working of your program.
• Do insert data of 2 students to show the proper working i.e. the data is not being overwritten.
Make sure to write your id on top of the program otherwise your assignment will not be accepted.



Output.gif has been attached with this Assignment file please observe this file carefully your program’s output must be like this output file.
Submission details
Following Files Must be submitted in a single zip or rar file.
• Code file(s)
• A .gif file which shows working of your Application(For Recording .gif a software named Screentogif is uploaded on LMS, or you can use any other gif recording tool as well)
You are not required to submit the complete project, only copy these files from project folder. Please note if you submit doc or txt file you will be awarded 0 marks. Make sure to write your own VU ID in the assignment file(s) otherwise assignment will not be accepted.
If you do not submit any of the above mentioned file 50% marks per file will be deducted.

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

.

+ 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

iski output .gif m kese krni….. like template
ya jxt ss ly kr snd kr dena
guide me plz

By software 

U can download from vlums in download section with the name "ScreenToGif". 

Replace with "output.txt" at the end

Output.text ki jagah par

ye b kr dya ha per b ni ho rha

same error while building to check syntax and compile even after putting output.txt 

constant component are not permitted

Attachments:

Try use the code I have given earlier

And do not use name string with 50

if you will use 

with ada.Strings.Unbounded;
use ada.Strings.Unbounded;
with Text_IO.Unbounded_IO;
use Text_IO.Unbounded_IO;

and 

names: Unbounded_String;

and

Put_Line("Enter Your Name");
Unbounded_IO.Get_Line(names);

and 

Unbounded_IO.Put_Line(F, names);

you can take any number of characters , try use this :)

aoa koi bhai meri help kar sakta hy kia

Gr8

plz khuramm mujy kr do meri id bc150404154 wali mail mail kro m btati  mera gnat p ni run ho rha plz h 

aoa bhai plz mjhy bana do yar 

03462040540

contact me

RSS

Latest Activity

Profile Iconprinceahsanali, + ! ! ! ! Mehαr Mαh꧂ and khurram us salam joined + M.Tariq Malik's group
4 minutes ago
Profile IconRubina Aslam, Malik Ali, Bushra Iqbal and 17 more joined Virtual University of Pakistan
45 minutes ago
+¢αяєℓєѕѕ gιяℓ replied to +¢αяєℓєѕѕ gιяℓ's discussion MCM301 Quiz Nov 19, 2019 12:00 AM Nov 20, 2019 11:59 PM in the group MCM301 Communication skills
1 hour ago
+¢αяєℓєѕѕ gιяℓ added a discussion to the group MCM301 Communication skills
1 hour ago
+ ! ! ! ! ! ! ! ! ! AG liked ༺łℳℜ₳₦༻ immy's discussion Marriage about after and before
1 hour ago
+ ! ! ! ! ! ! ! ! ! AG liked +¢αяєℓєѕѕ gιяℓ's discussion Best Place Of Propose Someone :-P
1 hour ago
Asad farooq liked + M.Tariq Malik's discussion GSC201 Solved Final Temp Papers
1 hour ago
Asad farooq liked A.RASHID's discussion Please share solution Assignment on Teaching of General Science Assignment 1 (Fall, 2017)
1 hour ago
Asad farooq replied to +'innocent" BSc's discussion Teaching of General Science (EDU201) Assignment I (Fall 2019) in the group GSC201 Teaching of General Science
1 hour ago
Asad farooq joined + M.Tariq Malik's group
1 hour ago
+¢αяєℓєѕѕ gιяℓ replied to +¢αяєℓєѕѕ gιяℓ's discussion MCM301 Quiz
1 hour ago
+¢αяєℓєѕѕ gιяℓ posted discussions
1 hour ago
Asmat replied to + M.Tariq Malik's discussion MGT501 Human Resource Management Assignment No 01 Fall 2019 Solution & Discussion in the group MGT501 Human Resource Management
1 hour ago
Salman Baig replied to + M.Tariq Malik's discussion ECO401 Economics GDB Fall 2019 Solution & Discussion in the group ECO401 Economics
1 hour ago
Profile Iconsamar bilal, + '' Tanveer '' and Zain Arshad joined + M.Tariq Malik's group
1 hour ago
Ikra butt added a discussion to the group CS504 Software Engineering - I
1 hour ago
Qaisar nadeem replied to + M.Tariq Malik's discussion How to Prepare The Mid Term Exams & Study in VU
1 hour ago
Qaisar nadeem replied to + M.Tariq Malik's discussion How to Prepare The Mid Term Exams & Study in VU
1 hour ago
Ikra butt joined + M.Tariq Malik's group
1 hour ago
+ ! ! ! ! Mehαr Mαh꧂ replied to +¢αяєℓєѕѕ gιяℓ's discussion Best Place Of Propose Someone :-P
1 hour ago

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

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