BSC It-A0317

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Roll No. ...................... Total No. of Questions : 13] [Total No.

of Pages : 02

Paper ID [A0317]
(Please fill this Paper ID in OMR Sheet)

B.Sc. IT (05) 501 (S05 / Old) B.Sc. IT 401 (New) CORE JAVA PROGRAMMING
Time : 03 Hours Maximum Marks : 75

Instruction to Candidates: 1) 2) Section -A is Compulsory. Attempt any Nine questions from Section - B. Section - A Q1) a) Consider the following java program segment. Count=0; For (I=0;I<10;I++) For (j=0;j;j++) System. out. println (count); What is outputted after the execution of the above? Give java declaration for creation of 10* 10 int array. In java, objects are passed to the functions by ______ To refer static variables in java, you need to specify the name of their ___followed by dot operator. One cannot instantiate objects of ________classes. _____key word is used to prevent a class from being inherited. Which of the following are true? (There can be more than one answer. List all of them) i) A class can implement more than one interface. ii) Java interpreter generates machine language code. Give any two examples of when Action Event is generated. ____is the default layout manager in java. What is meant by remote method invocation?
<

(15 2 = 30)

b) c) d) e) f) g)

h) i) j)

J-8645[S-9700649]

P.T.O.

k) l)

Explain?: operator. What is an unchecked exception?

m) What do you mean by a package in java? n) What is the difference between private and protected access? o) Explain with example conditional operator. Section - B Q2) Q3) Q4) Q5) Q6) Q7) Q8) Q9)
<

Explain object oriented concepts in Java. Explain applets and applications in Java. Different forms of inheritance in java. Give Example. Describe a package and its relationship with classes.

(9 5 = 45)

Write java class circle with constructor methods and methods for finding area and circumference. Explain Exception handling mechanism in Java. Explain the difference between operator precedence and associativity. Explain with example about constructor overloading in Java.

Q10) Explain thread groups and synchronization in Java. Q11) Write java abstract class shape with a method Area() and two derived classes Rectangle and circle. Q12) How an array is created in Java. What are the different ways to initialize the array? Q13) How java differs from C++.

J-8645[S-9700649]

U
2

You might also like