Specification and representation information for a data type

Assignment Help Basic Computer Science
Reference no: EM13315444

Question
One important difference between languages that provide syntax to encapsulate the definition of user defined data types is whether the syntax requires the specification details to be separated from the implementation details. Ada requires such a separation. In Ada, the specification information must be placed in the package specification and the implementation details in the package body. Where must the representation details be placed?

Compare Ada with both C++ and Java in this regard. Take and defend a position as to whether requiring separation of the specification and representation information for a data type is a good language design decision.

Reference no: EM13315444

Questions Cloud

Calculate the deflection and the manometer liquid is mercury : A hemispherical bowl of radius r connected to a U-tube of constant radius r. Initially the the bowl is empty and the air/manometer liquid interface in both legs is at the level of the bottom of the bowl.
What is its coefficient of performance : A refrigerator does 18 kj of work while moving 115 kg of thermal energy from inside the refrigerator. What is its coefficient of performance
Determine what power must be supplied by the pump : The length of the pipeline in the building is 60 m, the water temperature is 20.C, and the water pressure on the top floor must be at least 150 kPa. Will a booster pump be required for the building If so, what power must be supplied by the pump
Methods of assessment described in the article : How reliable are the methods of assessment described in the article and explain your answer with supporting evidence from the information provided in the article.
Specification and representation information for a data type : Compare Ada with both C++ and Java in this regard. Take and defend a position as to whether requiring separation of the specification and representation information for a data type is a good language design decision.
Why are the pressure for different in fluid mechanices : why are the pressure for those p2/p1 different than whats given for question 3.2.3 in Fluid mechanices with engineering application 10ed
compute the maximum speed of the object : A 0.58-kg object connected to a light spring with a force constant of 21.0 N/m oscillates on a frictionless horizontal surface. Determine the maximum speed of the object
Determine the speed of the bag as it hit the ground : If the bag is released with the same upward velocity of 6m/s when t=0 and hits the ground when t-8 seconds, determine the speed of the bag as it hit the ground and altitude of the balloon at this instant (t=8s).
What is the magnitude of the induced current in the coil : The component of the external magnetic field along the central axis of a 50-turn coil of radius 5.6 cm increases from 0 T to 1.8 T in 3.6 s, what is the magnitude of the induced current in the coil

Reviews

Write a Review

 

Basic Computer Science Questions & Answers

  Draw the uml diagram and implement

Draw the UML diagram and implement the new GeometricObject class. Write a test program that uses the max method to find the larger of two circles and the larger of two rectangles.

  What is the difference between println and printf

What is the difference between println and printf? Show an example of the usage of each.

  Contact a local company who uses information systems

Contact a local company who uses information systems

  Formulate the lp model to minimize weekly shipping cost

Formulate the LP model to minimize weekly shipping cost and formulate the LP model to minimize production and inventory costs and meet the demand for the next four months.

  Determine the maximum number

Determine the maximum number Determine the range (maximum - minimum) Displays a histogram that shows the numbers in each five-unit range.

  Explaining kind of malicious software

What kind of malicious software is this? if username and password are valid return ALLOW_LOGIN else return DENY_LOGIN.

  Buy special equipment to prepare high-quality publications

buy special equipment to prepare high-quality publications itself or lease the equipment from another company. Suppose that leasing the equipment costs $240 per day. If you decide to purchase the equipment, the initial investment is 6,800, and operat..

  Encryrption of some unknown

Assume (A1,B1) is an encryrption of some unknown m1. Prove that (A1,B2g^(m2) mod p) is a valid  encryption of m1 + m2 mod p. More generally, if (A2,B2) is an encryption of m2, what is (A1A2  mod p,B1B2 mod p) an encryption of?

  Write a method that has the radius of the circle passed

Write a method that has the radius of the circle passed into it. It computes the area, and returns the area to the main method.

  Does the diagram above represent a function f: x ? y

Does the diagram above represent a function f: X → Y? Explain why or why not

  Develop an i/o port decoder

Using a PLD, develop an I/O port decoder that generates the following high-bank I/O strobes: 300DH, 300BH, 00B6H, and 00EEH.

  Which processes were loaded normally is running in safe

Next, boot the system into safe Mode and use Task Manager to list running processes. Which processes that were loaded normally are not loaded when the system is running in safe Mode?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd