CS506 Midterm Current Paper 19 dec 2016
CS506 Midterm Current Paper |
20 Mcqs (20 Marks) Mostly new only some questions from past
6 Short Question all new no one from past papers.
1) What does this.age and stdAge refer? (2marks)
this.age-stdAge;
2) Write a statement that generate random variable 0 to 8? (2 marks)
3) How many ways that program handle exceptions? (3 Marks)
4) Given code ko rewrite karna tha error detect karna tha and serialization karna tha.(3 marks)
5) Simple write java program that display following massage on comand line "This is Simple Java Program" ? (5 Marks)
6) Program diya tha os ma mazeed functions add kar ka rewrite karna tha jis ma database name,version,driver and isreadonly ki values get karni thi or osey camand line paa display karnwanna tha. (5 Marks)
Paper is very easy and buhat achaw ho gaya
0 comments: