BACHELOR OF COMPUTER APPLICATIONS (BCA) (Pre-Revised) Term - End Examination 7 1. e) June, 2016 -
CS-74 : INTRODUCTION TO INTERNET PROGRAMMING Time : 2 hours
Maximum Marks : 60
Note : Question number 1 is compulsory. Attempt any three questions from the rest. Use Java programming language in your answers.
1. (a) What is inheritance ? How is inheritance implemented in Java ? Create a class named `University' and create another class 'School' by extending the University class. "School" has attributes "discipline", "faculty", "programmes". (b)
(c)
CS 74 -
Write an Applet program which draws a circle inside a rectangle. Fill the circle with red colour.
7
5
What does the keyword 'Synchronize' mean in Java ? When do you use it ? What are the disadvantages of synchronization ? 5 1 P.T.O.
(d)
"Static function can only use static data of the class." Is this statement correct ? Explain your answer.
(e) (f)
2.
What is a final class ? Give two examples of final classes defined in Java API.
4
Write a program to pick out the second biggest number in an array of n integers.
5
(a) What is a thread ? How do you implement threads in Java ? How do you stop a thread in Java ? Explain your answer with a Java 7
program. (b) Give the usage of the three Java access specifiers with the complete Java declaration for each method. 3.
(a) How are packages imported in Java ? Explain the benefits of importing a package into your program. (b) What is meant by garbage collection ? How is it done in Java ?
4.
4
(a) What is a Built-in Exception ? Explain user-defined exceptions using a Java program fragment. (b) Write a Java program to read 10 names from the keyboard and sort them in alphabetical order.
CS-74
2
3
5.
(a) What is an interface ? Can you extend an interface in Java ? Explain your answer with the help of a program fragment. 5 (b) Explain the concept of method overloading and method overriding with examples.
BACHELOR OF COMPUTER APPLICATIONS. (BCA) (Pre-Revised). 7 1. Term-End ... with the help of a program fragment. 5. (b) Explain the concept of method ...
Maximum Marks : 50. Note : Attempt five questions in all. Each question is to ... Define identity achievement. Make difference 2+8 between Erikson's identity crisis ...
Oct 15, 2012 - (i) How many data input and data output lines does this RAM need to have? (ii) How many address lines will ... What construct do you use in Linux/Unix instead of FAT? Explain the differences .... forms of recreation to draw people away
Oct 15, 2012 - Passenger pigeons, whose massive flocks once darkened American skies, were shot in thousands in the presumption that they could never become extinct. .... about the study like name of the study centre, name of the regional centre, name
interview. 10 . What is cognitive testing ? Discuss the utility of data from tests of cognitive functions. 2 +8. 4. Describe the nature, administration and scoring.
r r -1:cr l r, 10 Tzt I 9z-1 9 . wrrrq -Etr-ffuff -vrff Tzt 4;1. I TITIFTft t mil)k-7-4T. )0I- -terT*74 Yid. IR I. (q) 111:1T7 p1T 2IT 13. T -g3TE rig t-u trTdT 2TT Feb 3Tcrq 3TK1 ...
Jun 3, 2015 - arithmetic with rounding, find whether. (a + b) + c = a + (b + c), or not. 5 ... Solve the following equations by Cramer's rule : 5. 3x + y + 2z = 3.
Discuss the Upper Palaeolithic culture of. Europe. 20. 10. Write short notes on any two of the following : 10+10. (a) River Terrace. (b) Holocene. (c) Levalloisian ...