cs508middata

advertisement
cs508 modern programming languages
Mid Papers & Quizzes
For Recursion it is necessary that a language
1. Dynamic
2. Static
3. Both dynamic and static
4. Stack
Object in java script can be accessed through ………
1. Reference pointer method……….not in handouts….using dot notation is in handouts
2. None of the above
object in java script can be access different techniques




Java script
C++
C#
Ada
A … implicit.. is a default mechanism for specify types of variable?
A reserved word is a special word that cannot be used as a user-defined name
Variable use in VB without declaring decrease reliability and increase …..
1.
2.
3.
4.
Readably
Writeable
Cost
compile time
7).Dot operator in a …. SNOBOL?
1.
2.
3.
4.
Reference pointer
Unary pointer
Class pointer
Binary pointer
The GOTO statement in SNOBOL is …..
1.
2.
3.
4.
Explicit
Punter method
Implementation
An Indirect Reference
1|Page
Ada has … do while loop just like C++
1.
2.
3.
4.
Also
No
Defective
None of the above
We use tagged type in Ada…..
The last value execution in the …..LISP is the return value
1. Atom
2. Object
Dotimes loop of LIPS similar working to ada
1.
2.
3.
4.
For
Switch loop
Do while
While
Capital letter or underscore in PROLOG
variable
Variable in PROLOG …. Are any value is associated that can not be changed.
Control structure is a ……GOTO/jump..:)….. statement
……… anonymous ……….. is place holder value that is not required
One difference LISP and PROLOG is
1.
2.
3.
4.
AI
Puzzle
Game
All f the given
18)…PROLOG. Is very effective solving puzzle?
19)…java… is support oop?
20)Variable of ………. Is not an object of java
1.
2.
3.
4.
Primitive
Reference
Integer type
Both reference and Primitive
21)In ……… handling throw class is overloaded
C++
2|Page
Java
C#
C# and java
22)C## and C++ have …….. size
Same
Different
Distinct
None of the given
23) In C## struct are used as ………..
24) Javascript …related.. from java languafe
25) In … ….. we have to address the client side compatibility issue. vusr
26 _______exception inherits from exception class and _________ exception is anywhere in the
program.
Select correct option:
Java , C#
C++ , C# c
C# , Java
Java ,C++
www.vusr.net
Two example of predefined reference type in C#? 2 marks
Reference Types
arrays classes
There are no struct, union, enum, unsigned, typedef, or pointers types in Java
Differnet of C and C++ 2 marks
3|Page
C++ Differs from C in two ways:
1. The control expression can also be Boolean
2. The initial expression can include variable definitions (scope is from the definition to the end of
the function in which it is defined).
3. What is DOM?
4. Two example of atoms in PROLOG syntax?
Atoms:
AlphaNumaric start with lower letter
Quoted Atom sequence of character quoted by single quotes
Symbolic symbol & +-* special atom !;[]{}
Note language generality? 2marks
What term Class attribute in C#? marks
Difference between proper example Union type and ada discriminated type? 2marks
What is the function of cut(!) predicate in PROLOG? 2 marks
Division by zero is an expression? what type of error is this and either handled by compiler or it
through exception? 3marks
How Short circuit evolution is performed in Ada and fortran? 3 marks
Problem with Short Circuiting
(a > b) || (b++ / 3)
Short-circuit evaluation exposes the potential
problem of side effects in expressions
www.vusr.net
Discuss the issue related with declaring a method/class as final java? 3 marks
4|Page
Solution:
Final Fields and Methods
Fields and methods can also be declared final. A final method cannot be overridden in a subclass. A final
field is like a constant: once it has been given a value, it cannot be assigned to again.
Difference between Actual Parameter and Predicate parameter? 3 marks
With suitable examples the concept of boxing in C#. How C# is different there concept from other
languages? 3 marks
Sol:
Boxing
Boxing is converting any value type to corresponding object type and convert the resultant 'boxed' type
back again.
int i = 123;
object box = i; // value of i is copied to the object box
if (box is int){ // runtime type of box is returned as
// boxed value type
Console.Write("Box contains an int");
// this line is printed
}
Notation of actual /formal Parameters? 3 marks
Solution?
Actual/Formal Parameter Correspondence:
1. Positional
5|Page
2. Keyword
e.g. SORT(LIST => A, LENGTH => N);
Default Parameter Values
procedure SORT(LIST : LIST_TYPE;
LENGTH : INTEGER := 100);
...
SORT(LIST => A);
Dangling pointer how to state in java? 5marks
Aliasing Problem in java Script? with suitable examples. 5 marks
Solution:
Quiz Start Time: 06:16 PM
Time Left 88
sec(s)
Question # 1 of 15 ( Start time: 06:16:16 PM )
Total Marks: 1
In C# Managed code is executed under the control of
Select correct option:
CLR
CRL
Quiz Start Time: 06:16 PM
Time Left 89
sec(s)
Question # 2 of 15 ( Start time: 06:16:34 PM )
Total Marks: 1
_____is more strongly typed language then _________
Select correct option:
C++, C#
C#, C++
C++, Java
None of then given
6|Page
Quiz Start Time: 06:16 PM
Time Left 61
sec(s)
Question # 3 of 15 ( Start time: 06:17:30 PM )
The IS operator in C# is used for_________
Select correct option:
Run time type conversion
Run time type checking
Run time type casting
None of the given
Quiz Start Time: 06:16 PM
Time Left 68
sec(s)
Question # 4 of 15 ( Start time: 06:18:07 PM )
PHP is a __________typed language.
Select correct option:
Strongly
Dynamic
Static
None of Given
Total Marks: 1
Total Marks: 1
Quiz Start Time: 06:16 PM
Time Left 81
sec(s)
Question # 5 of 15 ( Start time: 06:18:35 PM )
Total Marks: 1
____ compile into machine independent language, independent code which run in a
managed execution environment.
Select correct option:
C#
Java
C++
Ada
Quiz Start Time: 06:16 PM
Time Left 82
sec(s)
Question # 6 of 15 ( Start time: 06:19:44 PM )
Total Marks: 1
PHP supported all major Databases including______.
Select correct option:
ODBC
Oracle
SQL Server
None Of given
7|Page
Quiz Start Time: 06:16 PM
Time Left 81
sec(s)
Question # 7 of 15 ( Start time: 06:20:42 PM )
Total Marks: 1
______compile initially to an intermediate. Which can be run by interpretation or
just in time compilation or an appropriate virtual machine?
Select correct option:
C++ and C#
C# and Java
Java and C++
Ada , C++
Quiz Start Time: 06:16 PM
Time Left 89
sec(s)
Question # 8 of 15 ( Start time: 06:21:16 PM )
Total Marks: 1
The keyword unsafe is used while dealing with_____
Select correct option:
Loop
Arrays
Pointers
Classes
Quiz Start Time: 06:16 PM
Time Left 89
sec(s)
Question # 9 of 15 ( Start time: 06:21:26 PM )
Total Marks: 1
Enumeration type in C# may take any type of _______ in contrast to C++ where it
take only _________
Select correct option:
Numeric value, integer value
Value type value, numeric value
Primitive type value, reference type value
Value type value, reference type value
Quiz Start Time: 06:16 PM
Time Left 89
sec(s)
Question # 10 of 15 ( Start time: 06:22:36 PM )
Total Marks: 1
Tasks in ____are processes and cannot share data but thread in _______ do it.
Select correct option:
C# , C++
C++ , Ada
Java , C#
Ada , Java
8|Page
Quiz Start Time: 06:16 PM
Time Left 73
sec(s)
Question # 11 of 15 ( Start time: 06:23:11 PM )
Total Marks: 1
C# code when compiled is converted into ________ code.
Select correct option:
MSIL
MISL
Quiz Start Time: 06:16 PM
Time Left 85
sec(s)
Question # 12 of 15 ( Start time: 06:23:36 PM )
Total Marks: 1
In C# _____can be inherited from other class but no inheritance from it. On the
other hand _________ cannot be inherited not inheritance is possible from it is
possible.
Select correct option:
Private class , public class
Sealed class ,struct in C#
struct in C# , Sealed class
public class , inherited class
Quiz Start Time: 06:16 PM
Time Left 89
sec(s)
Question # 13 of 15 ( Start time: 06:23:46 PM )
Total Marks: 1
The concept of sealed class in C# is similar to ________
Select correct option:
Struct in C#,
Struct in C++
Abstract class in C#
None of the given
Quiz Start Time: 06:16 PM
Time Left 90
sec(s)
Question # 14 of 15 ( Start time: 06:24:03 PM )
Total Marks: 1
Managed or safe code in_______ is executed under the control of common language
runtime (CLR) with automatic garbage collection, no explicit memory allocation and
de allocation and no explicit destructor.
Select correct option:
C++
Java
Ada and C++
9|Page
C#
Quiz Start Time: 06:16 PM
Time Left 80
sec(s)
Question # 15 of 15 ( Start time: 06:24:19 PM )
Total Marks: 1
In C# the if statement condition is an/a ________
Select correct option:
Arithmetic expression
Boolean expression
Numeric expression
Both Numeric expression and Boolean expression
Quiz Start Time: 06:27 PM
Time Left 89
sec(s)
Question # 1 of 15 ( Start time: 06:27:47 PM )
Total Marks: 1
Java code when compiled is converted into ________ code.
Select correct option:
Bit code
Byte code
Kbytes code
Giga byte Code
Quiz Start Time: 06:27 PM
Time Left 89
sec(s)
Question # 2 of 15 ( Start time: 06:27:59 PM )
PHP is a __________typed language.
Select correct option:
Strongly
Dynamic
Static
None of Given
Total Marks: 1
Quiz Start Time: 06:27 PM
Time Left 89
sec(s)
Question # 3 of 15 ( Start time: 06:28:10 PM )
Total Marks: 1
In ______ the relationship between a get and set method is inherited, while in
___________ it has to be maintained.
10 | P a g e
Select correct option:
Java , C++
C++ , C#
Ada , Java
C# , Java or C++
Quiz Start Time: 06:27 PM
Time Left 86
sec(s)
Question # 4 of 15 ( Start time: 06:31:18 PM )
Total Marks: 1
C# code when compiled is converted into ________ code.
Select correct option:
MSIL
MISL
Quiz Start Time: 06:27 PM
Time Left 89
sec(s)
Question # 5 of 15 ( Start time: 06:31:28 PM )
Total Marks: 1
In______ Boolean expression is convertible into integer type.
Select correct option:
C#
C++
JAVA
Ada
Quiz Start Time: 06:27 PM
Time Left 88
sec(s)
Question # 6 of 15 ( Start time: 06:32:04 PM )
PHP syntax looks like ____________
Select correct option:
ASP syntax
C/C++ syntax
Total Marks: 1
Quiz Start Time: 06:27 PM
Time Left 89
sec(s)
Question # 7 of 15 ( Start time: 06:32:12 PM )
Total Marks: 1
For narrowing conversion which type conversion is appropriate?
Select correct option:
Implicit Conversion
Explicit Conversion
11 | P a g e
Quiz Start Time: 06:27 PM
Time Left 89
sec(s)
Question # 8 of 15 ( Start time: 06:32:19 PM )
In Java we can make pointer of_________.
Select correct option:
Any type
Reference type only
Total Marks: 1
Quiz Start Time: 06:27 PM
Time Left 89
sec(s)
Question # 9 of 15 ( Start time: 06:32:31 PM )
Total Marks: 1
In C# the value type and reference type variable are interconvert able through
________ concept.
Select correct option:
Tagged type
Boxing
Interfaces
None of the given
Quiz Start Time: 06:27 PM
Time Left 89
sec(s)
Question # 10 of 15 ( Start time: 06:32:43 PM )
Total Marks: 1
C# support only_________ inheritance and it achieve_________ inheritance through
the concept of interfaces.
Select correct option:
Multiple, multiple
Single, multiple
Quiz Start Time: 06:27 PM
Time Left 89
sec(s)
Question # 11 of 15 ( Start time: 06:32:54 PM )
Total Marks: 1
Tasks in ____are processes and cannot share data but thread in _______ do it.
Select correct option:
C# , C++
C++ , Ada
Java , C#
Ada , Java
Quiz Start Time: 06:27 PM
Time Left 90
12 | P a g e
sec(s)
Question # 12 of 15 ( Start time: 06:33:03 PM )
Total Marks: 1
The concept of package in Java is similar to _________
Select correct option:
Assembly in C#
Global class in C#
Quiz Start Time: 06:27 PM
Time Left 89
sec(s)
Question # 13 of 15 ( Start time: 06:33:36 PM )
Total Marks: 1
The concept of C# jagged array is similar in function to _________
Select correct option:
C++ rectangular Array
Java Array of Array
Java pointer Array
C# Array
Quiz Start Time: 06:27 PM
Time Left 88
sec(s)
Question # 14 of 15 ( Start time: 06:34:17 PM )
Total Marks: 1
In C# _____can be inherited from other class but no inheritance from it. On the
other hand _________ cannot be inherited not inheritance is possible from it is
possible.
Select correct option:
Private class , public class
Sealed class ,struct in C#
struct in C# , Sealed class
public class , inherited class
Quiz Start Time: 06:27 PM
Time Left 89
sec(s)
Question # 15 of 15 ( Start time: 06:34:49 PM )
Total Marks: 1
The concept of sealed class in C# is similar to ________
Select correct option:
Struct in C#,
Struct in C++
Abstract class in C#
None of the given
July 20, 2012 at 6:47pm
My Today’s current paper of cs508
1. What is the run time environment in case of C# similar to JVM in case of Java programming
language ?
2. Explain the Concept of Explicit and Implicit heap, dynamic variables and stack dynamic storage
13 | P a g e
binding? clarify the concept with suitable examples
3. Can we define members and length function of our own in LISP?if yes then explain your answer
with suit able example
4. Specify the Java aliasing problem in Java script array ? Give proper Example when and where
needed
5. What will happen if user does not provide the string array as the argument to the method in
Java,will there be any kind of error or not ?
6. Write Ada language procedure (Code) to display your name on screen
7. Davison by Zero is an Expansion error ?what type of error is this and either it is handled by
compiler or it through Exception ?
8. In C# how many Allocation is handled through manage Code
9. Do we have pointers for reference types in case of C#?
10. Give two examples of errors when pointor are wrongly used
11. How many character types are supported in Ada language
Read more: CS508 Current Final Term Papers July 2012, (Spring 2012) pattern - Virtual University of
Pakistan http://vustudents.ning.com/group/cs508modernprogramminglanguages/forum/topics/cs508-currentfinal-term-papers-july-2012-spring-2012-pattern#ixzz2PDT7HARk
Pointer's concept in C/C++ and Access Types in Ada comparison (5 marks)
for loop in Ada and dotime and doloop in LISP comparisin (5 marks)
Snobol stands for (2 marks)
Read more: CS508 Please share your current paper here 11/5/2012 to 22/5/2012 - Virtual University of
Pakistan http://vustudents.ning.com/group/cs508modernprogramminglanguages/forum/topics/cs508-pleaseshare-your-current-paper-here-11-5-2012-to-22-5-2012#ixzz2PDTuCG8B
1.
2.
3.
4.
5.
6.
SNOBOL stands for what?
Why it is necessary to use (:) in control flow statement?
What is the goal of orthogonality in language?
Write a code in SNOBOL by using indirect referencing which decreases the value by 1.
What is inference mechanism in Prolog? Give example.
Write a program in Ada that prints the text Area of your course for example “BS-Computer
Sciences.”
Read more: CS508 Please share your current paper here 11/5/2012 to 22/5/2012 - Virtual University of
Pakistan http://vustudents.ning.com/group/cs508modernprogramminglanguages/forum/topics/cs508-pleaseshare-your-current-paper-here-11-5-2012-to-22-5-2012#ixzz2PDU38qQo
....Why it is necessary to use (:) in control flow statement?
.....Pointer's concept in C/C++ and Access Types in Ada comparison
.....whose better among C/C++ and Ada according to overloading concept..
......Write types of loop in Ada.
....... Brief note on Orthogonality.
14 | P a g e
Read more: CS508 Please share your current paper here 11/5/2012 to 22/5/2012 - Virtual University of
Pakistan http://vustudents.ning.com/group/cs508modernprogramminglanguages/forum/topics/cs508-pleaseshare-your-current-paper-here-11-5-2012-to-22-5-2012#ixzz2PDU8CdZL
1)S=0
S=o
-- N=LT(N,13)N+1:F(DONE)
SUM=SUM+_N:(ADD)
DONE OUTPUT=SUM
2)SYNTACALLY SHOW HOW CAN WE DEFINE THE LISP?
3)DEFERENTIATE BETWEEN TEH daa record type and c/c++??
4)define struct with the proper example
5)elemnet of lisp
6)is pholymorphism allowed in ada????
7)orthogonality???
8)algo main feature???
Read more: CS508 Current Mid Term Papers Nov 2011, (Fall 2011) - Virtual University of Pakistan
http://vustudents.ning.com/group/cs508modernprogramminglanguages/forum/topics/cs508-current-midterm-papers-nov-2011-fall-2011#ixzz2PDUfwty1
why parallal programing is use in ADA? (3) marks
Babbage’s Analytical Engine (2)
Orthogonality and its role (5)
why ADA is stically starment language?(3)
or aik yaad nhi aa rha
abhi
code dono snobol k thay
Read more: CS508 Current Mid Term Papers Nov 2011, (Fall 2011) - Virtual University of Pakistan
http://vustudents.ning.com/group/cs508modernprogramminglanguages/forum/topics/cs508-current-midterm-papers-nov-2011-fall-2011#ixzz2PDUkWPON
December 1, 2010 at 8:23pm
1-12-2010 CS508 Mid term paper total 40 marks, 20 mcq, 2Q 2 marks, 2 Q 3marks, 2Q 5 Marks
What is the difference between >(intersection L1,L2) and (set-difference L1,L2) Lisp functions. 5
Give silent features of packages in Ada 5
Creating list functions in Lisp may be written as (append ‘(ab)’(cd)) so why we use the single quote
(‘) in front of atom or list. 3
What is batting-average in Ada explain with suitable example. 3
Write an pattern matching statement in SNOBOL. 2
What are the additional features added in Cobol Language. 2
Read more: CS508 Mid Term Papers Fall 2010 (01~12 Dec 2010) All in One Discussion - Virtual
University of Pakistan
http://vustudents.ning.com/group/cs508modernprogramminglanguages/forum/topics/cs508-mid-termpapers-fall#ixzz2PDUrQN3v
15 | P a g e
November 4, 2011 at 10:35pm
Please reconfirm the answers before the attempting
Quiz Start Time: 08:30 AM Time Left 67
sec(s)
Question # 1 of 15 ( Start time: 08:30:41 AM ) Total Marks: 1
SNOBOL was designed for ___________ purpose.
Select correct option:
****String manipulation
AI
Business
Scientific
Quiz Start Time: 08:30 AM Time Left 56
sec(s)
Question # 2 of 15 ( Start time: 08:31:21 AM ) Total Marks: 1
Pattern . Variable Upon successful completion of pattern matching, the
substring matched by the pattern is assigned to the variable as
________
Select correct option:
Value
****String
Integer
Real numbers
Quiz Start Time: 08:30 AM Time Left 19
sec(s)
Question # 3 of 15 ( Start time: 08:32:10 AM ) Total Marks: 1
Computer architecture has a major influence on the design of
programming language.
16 | P a g e
Select correct option:
*** True
False
Quiz Start Time: 08:30 AM Time Left 74
sec(s)
Question # 4 of 15 ( Start time: 08:33:23 AM ) Total Marks: 1
Too much simplicity in language design can also cause problems.
Select correct option:
True
***False
Quiz Start Time: 08:30 AM Time Left 32
sec(s)
Question # 5 of 15 ( Start time: 08:33:58 AM ) Total Marks: 1
A language evaluation criteria includes following factors EXCEPT
Select correct option:
Readability
Writabilty
Portability
****Modularity
Quiz Start Time: 08:30 AM Time Left 24
sec(s)
17 | P a g e
Question # 6 of 15 ( Start time: 08:35:16 AM ) Total Marks: 1
COBOL is mainly designed for _______.
Select correct option:
Scientific experiments
****Business application
AI applications
Publishing and writing algorithm
Quiz Start Time: 08:30 AM Time Left 10
sec(s)
Question # 7 of 15 ( Start time: 08:36:25 AM ) Total Marks: 1
The variable name have profound effect on _______________.
Select correct option:
Readability
Writability
**** Orthogonality
Portability
Quiz Start Time: 08:30 AM Time Left 34
sec(s)
Question # 8 of 15 ( Start time: 08:37:48 AM ) Total Marks: 1
SIZE function in SONOBOL language is used to return the size of _________
Select correct option:
***String
Operator
Variable
Keyword
18 | P a g e
Quiz Start Time: 08:30 AM Time Left 25
sec(s)
Question # 9 of 15 ( Start time: 08:38:52 AM ) Total Marks: 1
Indirect referencing in SONOBOL is same as of _____in C.
Select correct option:
Arrays
***Pointers
Aliasing
Stack
Quiz Start Time: 08:30 AM Time Left 15
sec(s)
Question # 10 of 15 ( Start time: 08:40:12 AM ) Total Marks: 1
Following factors influences a portable language design EXCEPT
Select correct option:
Computer architecture
Readability
***Programmer’s time
Windows XP
Quiz Start Time: 08:30 AM Time Left 76
sec(s)
19 | P a g e
Question # 11 of 15 ( Start time: 08:41:32 AM ) Total Marks: 1
The more is the Simplicity of a language, the more it will always be readable.
Select correct option:
***True
False
Quiz Start Time: 08:30 AM Time Left 46
sec(s)
Question # 12 of 15 ( Start time: 08:41:48 AM ) Total Marks: 1
+ Sign is used for _______ in SONOBOL.
Select correct option:
****Line Continuation
Line Breakge
Quiz Start Time: 08:30 AM Time Left 58
sec(s)
Question # 13 of 15 ( Start time: 08:42:56 AM ) Total Marks: 1
Which of the following is an incorrect option from the following
statements regarding ‘objectives of learning new languages ’?
Select correct option:
Help to compare different languages.
Help in transition from one language to other language.
****Help in understanding the language piracy policy.
Help to choose a language for development of a certain application.
20 | P a g e
Question # 14 of 15 ( Start time: 08:43:31 AM ) Total Marks: 1
_______ was the first object oriented language.
Select correct option:
COBOL
LISP
JAVA
****SIMULA
In SONOBOL 2 spaces can be used, the purpose of 1st space is for _____
and 2nd for
Select correct option:
*** Pattern matching, String Concatenation
String concatenation, Pattern matching
December 14, 2012 at 10:44pm
1) write three concepts which are introduced in LISP firs time
2) Ada is strongly typed language describe how?
3) write a function in LISP to concatenate two lists List a=(3 4 5) List b=(c d 6)
4) type big is mod 8
big :Big :=3; this code will genertae an error in ada ?
5) In C++ ^ and ~ are used for bitwise exclusive OR and bitwise NOT write there equivalent in ada
2 questions of marks 2, 3 and 5
20 MCQS
1. Write Output of the code following code. ………5
Procedure Color is
Color= BasicColor(Red, green, blue, yellow)
begin BasicColor
21 | P a g e
Color:=BasicColor'PRED(RED)
end color
(It is not exact but code was like this. i am not good at ADA, have been forgot)
2. What code in LISP language used to computer power of x to y. [page 76]
Marks3:
1. Give any three major concept which introduced in LISP language for first time.
2. A code was given about ADA case concept. Please refer topic "Case statement" [Page 58]
Marks2:
1. How to type comment in PROLOG language.
2. How can we determing the size of Array in SNOBOL
MCQS all are easy. conceptual and mind storming based. student should listen lecture and read
handouts. History questions and differences in between languages should conceptually build up in
mind otherwise you would not score good grades.
May 11, 2012 at 5:10pm
2 questions of 5 marks
1.write code in LISP to compute power of x to y page 76
2. Write maps data types in SNOBOL.
3 marks questions
write IO header file for Ada..
name functions that are used in List construction
2 marks questions
What are operators for Logical AND && and Logical OR || used in ADA.
features added in COBOL not included in SNOWBOL.
2013 spring mid paper:
1. what is the functionality of KEYWORD INT|CAHR IN snobol4
22 | P a g e
2
2.what is error in it >(sqrt x) in LISP 3
3. how many element in it (a (d e)) related to lisp 2
what is predicate in snobol ya lisp ma language conform ni ha 3
what is valid or invalid statment in ADA language
5
a=(1....5) integer
b=(1....5) integer
c,d=(1....5) float
condition
a=b
a=c
b=a
--------------
1.write two comparative operator used as function for numerical values in lisp programming language ? 2
marks
2. cas A is
when 1 =>fly;
when 11|14 => null;
when 22|20.....30 =>swim;
when others => complain ;
end case;
what will be executed if A condition is 12. ...... 2 marks
3. which data structure map pairs of associated data object in snobol? 3 makrs its answer is TABLE data
structure
4. which language first provided exception handling among c++ , ada? .... 3 marks
5. write a complete program in ada to print this out put by only using put_line command. use the loop isn't
allowed.
print this code
*
23 | P a g e
***
*****
*******
(this star sign we gonna print . m telling this bcz may be people got confuse that it might be some other code
)
6. write program in ada using loop to print this code
code :
*
**
***
****
***** (these star have to print using loop)
==============
24 | P a g e
Download