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

  Develop a model that can be described

Develop a model that can be described in yes/no (boolean) terms. Use boolean algebra, truth tables, or logic gates to describe this model. Attach a diagram or drawing to explain your concept.

  Who is holding return real time big data analysis

Who is holding return realtime bigg data analyssis? what is the future of data big?

  Identify potential obstacles to wireless transmission

Describe the quality of service (QoS) assurance methods critical to converged networks, including RSVP and DiffServ.

  Item number in the inventory

Write a console program that will ask the user for an item number in the inventory and display the name of that item. Stay in a loop so that the user may enter the item number multiple times. Use the letter E to exit the application. Show an error me..

  Asynchronous transaction processing mode

When operating in an asynchronous transaction processing mode, what information must be present in both the pending request and the received response messages for the response to be exclusively matched to its associated pending request?

  Explain cyberspace arena for human social interaction

Do you believe cyberspace is a whole new arena for human social interaction, or is it simply one more tool which humans put to remarkable range of uses without actually changing in any fundamental way?

  Create two arrays with 5 elements each

Create two arrays with 5 elements each: one will hold Strings and the second will hold integers.

  Explain format for storing-laying out objects on page

Describe the format for storing, laying out, and managing the objects on a page. Explain the advantages to the use of this format over other formats, such as that used by HTML.

  What normalization is used for and why

What normalization is used for and why

  Drawing class diagram to show instructor serves department

One instructor also serves a department chair. Draw a detailed class diagram to represent the above information.

  Briefly describe what the notion

Briefly describe what the notion of "normal operation" means to an executing computer program

  Using the expand, guess, and verify method find closed

Using the expand, guess, and verify method find closed form solutions for the following recurrence relations.

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