Docsity

spring handout for student, Exercises of Descriptive statistics

Toggle sidebar
bg1
CS508
Final Term Examination – Spring 2006
Time Allowed: 150 Minutes
Marks : 1
s “Hello guy”, to the student in alert box and gives him the message in message
ox “U shouldn’t be a student of graduation” if his / her age>40.
0)
) What is the difference between javascript and PHP? (5)
uestion No. 2 Marks : 3
e the statements of C# (5)
a = 15;
d th executing the given statement
(i) from left to right
(ii) from right to left
e can handle Aliasing problem in JAVA? Give examples (5)
Marks : 3
Question No. 1
A) Write a program in java script that prompts the student for his name and age. Then
display
b
(1
B
Q
A) Given ar
x = a++ + --a;
Fin e value of ‘x’ by
B) How w
Question No. 3
WWW.VUPages.Com
Connecting VU Students
pf2

Partial preview of the text

Download spring handout for student and more Exercises Descriptive statistics in PDF only on Docsity!

CS

Final Term Examination – Spring 2006

Time Allowed: 150 Minutes

Marks : 1

s “Hello guy”, to the student in alert box and gives him the message in message ox “U shouldn’t be a student of graduation” if his / her age>40.

) What is the difference between javascript and PHP? (5)

uestion No. 2 Marks : 3

e the statements of C# (5)

a = 15;

d th executing the given statement

(i) from left to right (ii) from right to left

e can handle Aliasing problem in JAVA? Give examples (5)

Marks : 3

Question No. 1

A) Write a program in java script that prompts the student for his name and age. Then display b (

B

Q

A) Given ar

x = a++ + --a;

Fin e value of ‘x’ by

B) How w

Question No. 3

WWW.VUPages.Com

Connecting VU Students

nvert the following code of PHP into C#

a = array(0 => 5, 1 => 6, 2 => 7, 3 => 8, 4 => 9);

equal to 5”;

equal to 6”;

equal to 7”;

equal to 8”;

echo “b equal to 9”;

echo “Doesn’t match the number”; break;

uestion No

value>= 3.5, prints Good a gpa value in the range of 3-3.5, prints Satisfactory to a gpa value in the range of 2-3.

Question

A) How do Ada and COBOL differ by syntax and semantics in referencing a record

B) Define and explain “throws Clause” and the “finally Clause” with respect to exception handling in Java. (5)

Co

switch ($b) { case 5: echo “b break; case 6: echo “b break; case 7: echo “b break; case 8: echo “b break; case 9:

break; default:

Q. 4 Marks : 1

Write a program in Ada that prints Excellent to a gpa to

No. 5 Marks : 1

element? Give examples of each (5)