Start Discovering Solved Questions and Your Course Assignments
TextBooks Included
Active Tutors
Asked Questions
Answered Questions
problem1 justify through examples the following statement on pascal since subtypes are defined by the language as new
problem1 define monomeric and polymorphic type systems2 compare genericity in ada or c and in ml which can be defined
problem1 discuss the truth or falsity of the following statement and discuss its relevance a program can be unsafe and
problem1 write a short report illustrating how array manipulation facilities are richer in ada than in pascal or c2
problem1 ada supports discriminated unions through variant records write a short report describing how ada does this
problem1 use protected types in ada to implement semaphores2 define an ada protected type to implement a shared
problemsome computers provide an indivisible machine-instruction test and set ts that can be used for synchronization
problem1 explain why aliasing makes the effect of implementing parameter passing by reference and by value result
problem1 show how pointers to procedures or functions can be used in ada to pass procedures or functions as parameters2
problemsometimes inheritance is used improperly for example consider defining an automobile class we have an existing
problemimplement a c class employee that supports a virtual method print which prints the name and age of an employee
problem1 write a short paper on c macros comparing them with routines what are the binding policies adopted by the
problem1 check a guage of your choice eg pascal or c to see if it allows expressions to be passed by reference specify
problem1 referring to the previous exercise assume that own variables are not automatically initialized to certain
problem1 define an algorithm that performs the linkage step for c22 write the sequence of simplesem instructions
problem1 describe the two ways named vs positional provided by ada to associate actual and formal parameters2 discuss
problem1 c also allows functions to accept more parameters than are specified in the function definition why and how is
problem1 in general it is not possible to check statically that the rvalue of an unitialized variable will not be used
problemcompare the implementation of ada generics versus c templates does the source of a c template function need to
problem1 ada defines two kinds of types private type and limited private type what is the difference between these two
problemassume that i buy a software library from a vendor the library contains the specification of an abstract object
problem1 describe the tools that an ideal program-development system should provide to support independent development
problem1 design the interface of an ada module that provides a symbol table for a translator eg an assembler and show
problem1 write an ml function to do a sort merge on a list2 explain why the ml function bigger gives a type error fun
problem1 provide a succinct characterization of imperative vs nonconventional functional and logic languages2 take one