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

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.

CS508 Assignment No 02 Spring 2020 Solution & Discussion Due Date: 12-06-2020

InstructionsInstructions

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. 

 Submission detailsFollowing files must be submitted in a single zip or rar file.Code file(.adb file) 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)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.ObjectiveThe objective of this assignment is to give students idea on how to implement object oriented concepts in ADA.
Lectures Covered: This assignment covers Lecture # 13 – 17You will develop Ada console application in GNAT IDE. You can also use any online compiler to compile Ada. Problem Statement:As you know that we cannot implement inheritance in Ada directly as there is no concept of class in Ada, we need to use a mix of tagged types and packages.You are required to create a tagged type as person and then another as men, the tagged type men will inherit from person type.The person type has following attributes:Name: StringAge: Integer Gender: Boolean
Functions:And also a function named print() [This function will print all three attributes of type person]The tagged type men have following attributesHeight: floatID: StringFunctions:           This type will also have one function named print() which must print all the attributes of type men and   person as well.When application starts an instance of type men will be created and detail of men will be taken from user input and assigned to men type object after that the added details will be printed on the console screen.


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

Replies to This Discussion

Please upload solution idea if anyone have.

CS508 Modern Programming Languages Assignment 2 Solution & Discussion Spring 2020


 

Assignment No. 02
Semester Spring 2020

CS508- Modern Programming Languages

Total Marks: 20

Due Date:12 June 2020

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.

Submission details

Following files must be submitted in a single zip or rar file.

·       Code file(.adb file)

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

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.

Objective

The objective of this assignment is to give students idea on how to implement object oriented concepts in ADA.

 

Lectures Covered: This assignment covers Lecture # 13 – 17

You will develop Ada console application in GNAT IDE. You can also use any online compiler to compile Ada.

 

Problem Statement:

As you know that we cannot implement inheritance in Ada directly as there is no concept of class in Ada, we need to use a mix of tagged types and packages.

You are required to create a tagged type as person and then another as men, the tagged type men will inherit from person type.

The person type has following attributes:

·       Name: String

·       Age: Integer

·       Gender: Boolean

 

Functions:

And also a function named print() [This function will print all three attributes of type person]

The tagged type men have following attributes

·       Height: float

·       ID: String

 

Functions:

           This type will also have one function named print() which must print all the attributes of type men and   person as well.

When application starts an instance of type men will be created and detail of men will be taken from user input and assigned to men type object after that the added details will be printed on the console screen.

#CS508 #CS508Assignment2 #CS508Assignment2Solution
CS508 Assignment No. 2 Spring 2020 Solution Demo

CS508 Modern Programming Languages Assignment No. 2 Spring 2020 Solution Demo

Objective
The objective of this assignment is to give students idea on how to implement object oriented concepts in ADA.

Problem Statement:
As you know that we cannot implement inheritance in Ada directly as there is no concept of class in Ada, we need to use a mix of tagged types and packages.
You are required to create a tagged type as person and then another as men, the tagged type men will inherit from person type.
The person type has following attributes:
• Name: String
• Age: Integer
• Gender: Boolean

Functions:
And also a function named print() [This function will print all three attributes of type person]
The tagged type men have following attributes
• Height: float
• ID: String
Functions:
This type will also have one function named print() which must print all the attributes of type men and person as well.
When application starts an instance of type men will be created and detail of men will be taken from user input and assigned to men type object after that the added details will be printed on the console screen.

#CS508
#CS508Assignment2
#CS508Assignment2Solution
#CS508Assignment2020
#CS508SolutionSpring2020
#VU
#VUACADEMY
#Assignment
#ADA
#VUAssignment
#AssignmentSolution
#GNAT
#ModernProgrammingLanguages
#VUACADEMYSOLUTIONS
#CS508Spring2020
#CS508Assignment2Spring2020
#CS508SolutionFIle
#CS508AssignmentNo2Solution
#CS508CompleteSolution
#CS508Pdf
#CS508SolutionLink
#CS508Assignment2SolutionSpring2020

GNAT Studio Download Link :https://mega.nz/file/cB5WDI6K#Hn1aMzgmnY4iUZGlBVKet2MxiZ-Dz0wSRl3WP...

ScreentoGif Download Link : https://mega.nz/file/FJxhWIyS#CiC740f8XkJzYZfUgn32prVBKOxEXSqx1Qz_B...

"Declarations must come before begin" ye error aa rha hai jab single file me compile karen is ko kese thek karen gen??

#CS508 #CS508Assignment2 #CS508Assignment2Solution
CS508 Assignment No. 2 Spring 2020 Complete Solution with Code File

CS508 Modern Programming Languages Assignment No. 2 Spring 2020 Solution by VU ACADEMY

Objective
The objective of this assignment is to give students idea on how to implement object oriented concepts in ADA.

Problem Statement:
As you know that we cannot implement inheritance in Ada directly as there is no concept of class in Ada, we need to use a mix of tagged types and packages.
You are required to create a tagged type as person and then another as men, the tagged type men will inherit from person type.
The person type has following attributes:
• Name: String
• Age: Integer
• Gender: Boolean

Functions:
And also a function named print() [This function will print all three attributes of type person]
The tagged type men have following attributes
• Height: float
• ID: String
Functions:
This type will also have one function named print() which must print all the attributes of type men and person as well.
When application starts an instance of type men will be created and detail of men will be taken from user input and assigned to men type object after that the added details will be printed on the console screen.

#CS508
#CS508Assignment2
#CS508Assignment2Solution
#CS508Assignment2020
#CS508SolutionSpring2020
#VU
#VUACADEMY
#Assignment
#ADA
#VUAssignment
#AssignmentSolution
#GNAT
#ModernProgrammingLanguages
#VUACADEMYSOLUTIONS
#CS508Spring2020
#CS508Assignment2Spring2020
#CS508SolutionFIle
#CS508AssignmentNo2Solution
#CS508CompleteSolution
#CS508SolutionPdf
#CS508SolutionLink
#CS508Assignment2SolutionSpring2020
#CS508AssignmentSolution2
#CS508AssignmentLink

Thanks.

RSS

Latest Activity

+!!! ❤️ Shadow Girl❤️!!! liked zohaib iftikhar's blog post !!!!SACH KAHN TO YEH ANWAN BURA LAGTA HAI!!!!*
21 minutes ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion CS501 Assignment 01 Fall 2020 Solution / Discussion Due Date: 30-11-2020 in the group CS501 Advance Computer Architecture
26 minutes ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion CS501 Assignment 01 Fall 2020 Solution / Discussion Due Date: 30-11-2020 in the group CS501 Advance Computer Architecture
27 minutes ago
+M.Tariq Malik liked +M.Tariq Malik's discussion CS501 Assignment 01 Fall 2020 Solution / Discussion Due Date: 30-11-2020
27 minutes ago
+M.Tariq Malik added a discussion to the group CS501 Advance Computer Architecture
28 minutes ago
+ " J i y a " ♥ posted photos
36 minutes ago
Profile IconAshraf Butt, sara khan, jawad ali and 14 more joined Virtual University of Pakistan
46 minutes ago
Mani Siddiqui Ex replied to +M.Tariq Malik's discussion CS508 Assignment 01 Fall 2020 Solution / Discussion in the group CS508 Modern Programming Languages
49 minutes ago
+!!! ❤️ Shadow Girl❤️!!! replied to jawad's discussion Tum Se pahle woh Jo shaks takat nashin tha || Habib jalib poetry|| Urdu poetry
50 minutes ago
+!!! ❤️ Shadow Girl❤️!!! liked jawad's discussion Tum Se pahle woh Jo shaks takat nashin tha || Habib jalib poetry|| Urdu poetry
50 minutes ago
مخلص posted a discussion
51 minutes ago
+!!! ❤️ Shadow Girl❤️!!! liked ++!!Zuni Khan(Am Cyco)'s discussion تم سمندر کی بات کرتے ہو...لوگ آنکھوں میں ڈوب جاتے ہیں
59 minutes ago

Looking For Something? Search Here

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

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

.