CS508 Assignment No. 2 Spring 2020 Complete Solution with Code File by VU ACADEMY

Опубликовано: 18 Июнь 2026
на канале: VU Academy
3,120
49

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



GNAT Studio Download Link : https://mega.nz/file/cB5WDI6K#Hn1aMzg...

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

Solution File Download Link G Drive: https://drive.google.com/file/d/1K1PK...
Solution File Download Link MEGA Drive: https://mega.nz/file/IUokjKRT#wCDZXE7...