How To Exam?

a knowledge trading engine...


SRM University 2007 B.Tech Computer Science and Engineering BANK : JAVA PROGRAMMING - Question Paper

Wednesday, 30 January 2013 10:40Web
*type of account.
*balance amount in the account.
Methods:
*to assign initial values.
*to deposit an amount.
*to withdraw an amount after checking balance
*to display the name and balance.
12.Write the program to depict hierarchical inheritance?
13.An election is conducted by five candidates. the candidates are numbered one to five and the voting is done by marking the candidate number on the ballot paper. WAP to learn the ballot and count the votes by every candidates. In case a number learn is outside the range one to 5,the ballot should be considered as a spoilt ballots.
15.Given are 2 1-dimentional array A and B which are sorted in ascending order. WAP to merge them into a single sorted array C that contains every item from arrays A and B,in ascending order.
16.WAP to do the subsequent.
a.print”who is the inventor of java”.
b.to accept an ans.
c.to print “good” and then stop if the ans is accurate.
d.print”try again” , if the ans is wrong.
e.to display the accurate ans when the ans is wrong even at the 3rd attempt and stop.
17.WAP to extract a portion of a char string and print the exracted string.Assume that m char are extracted, starting with the ‘n’th char.
18.WAP which will learn a text and count all occurrences of a particular word?
19.WAP which will learn a string and rewrite it in the alphabetical order.for eg .
STRING should be written as GNIRTS.
20.The annual examination outcome of 100 students are as follows
------------------------------------------
R.NO SUB1 SUB2 SUB3
------------------------------------------
.
.
.
-------------------------------------------
WAP to learn the data and determine the subsequent.
a.total marks found by every learner.
b.the highest marks found in every subject and rollno of the learner who secured it.
c.the learner who found the highest total marks.

********************

Unit-3:
2 marks:
1. What is inheritance? elaborate its types?
2.What is the use of super keyword in java?
3. What is method overloading?
4. What is overriding of methods?
5. What is the need of overridden methods?
6. What is dynamic method dispatch?
7.What is the use of final class in Java?
8. describe an abstract class with suitable examples?
9. elaborate the characteristics of an abstract class?



( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER SRM University 2007 B.Tech Computer Science and Engineering BANK : JAVA PROGRAMMING - Question Paper