We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>
+ Link For Assignments, GDBs & Online Quizzes Solution
+ 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.
Question No. 01:
b. Write the program in SNOBOL that outputs the square of numbers between 1 and 15. Marks: 06
Question No. 02:
Ada is one of the strongest and standardized programming languages. Like C/C++, Ada also has rich set of operators. Consider the following C++ code and write code in Ada programming language to get the similar results by using the same variables, loop etc. Marks : 10
main (int argc, char *argv)
cout"please enter a number\n";
For any query about the assignment, contact at CS508@vu.edu.pk
.+ 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)
Ada was designed for military projects and its programs are portable for embedded military quipment.
Adavantages of Ada 95:
Ada is one language,
Ada includes tasking as a part of the language.
Ada has stronger typing.
Ada provides better control over procedure parameter access modes.
Ada includes modules.
Ada is more portable
Ada has no equivalent to Pascal's "with" statement (if you've maintained a
lot of Pascal code, you know why this is an advantage).
Since Ada was mandated by the DOD a continued presence is assured.
Ada includes machine representation clauses.
Most of the features (except stronger typing) that are available in Ada are
available in one way or another in various dialects of Pascal. They are
just not portable and often awkward.
Ada is a modern programming language designed for large, long-lived applications – and embedded systems in particular – where safety and security are essential.
QUESTION 2 KA KOI SOLUTION DO PLEASE ANY GENIOUS
koi second question ka idea b share kr dy
Haya read kar lo
In Ada, there are two types of subprograms: procedures and functions. Unlike C, we can
also have nesting of subprograms. A subprogram defined inside another subprogram an
be used by its parent, children, or sibling subprograms only.
This is demonstrated in the following example:
Procedure My_procedure(x, y : IN OUT integer) is
function aux_func(a : Integer) return integer is
Temp : float;
return integer(temp) * a; -- retrun temp * a is not allowed
begin -- begin of My_procedure
koi to send kar da solution
I cant solve the quetion 2 any one plz help
share the code today is extend day
Here is a simple SNOBOL4 program to add the integers between 1 and 1000:
sum = 0
term = 1
loop sum = sum + term
term = term + 1
OUTPUT = "The sum is " sum
i complete my assignment
thanks bro.. i completed 2nd q part 2 just few minites ago.. just thori si changes karni thi.. :)