Class 11 Java Programming Question Paper 2079 - 2022

Class 11 Java Programming Question Paper 2079 - 2022

Municipality Examination

Java Programming- Grade XI
Examination - 2079 (2022)
Regular Students
Time - 2 hrs
Full Marks - 50
Pass Marks - 18

Candidates are required to give their answers in their own words as far as practicable. The figures in the margin indicate full marks.
Group 'A'

Choose the best alternatives    (1x9=9)

1) Which components are used to compile, debug and execute the java program?
a) JRE
b) JDK
c) JIT
d) JVM

2) Which of these cannot be used for a variable name in java?
a) Identifier and keyword
b) Identifier
c) Keyword
d) None of the mentioned

3) Which of these are selection statements in java?
a) break
b) continue
c) for()
d) if()

4) Which of the following are not escape sequences?
a) \b
b) \t
c) \n
d) \a

5) What is the variable declared in a class for the use of all methods of the class called?
a) Object
b) Instance variable 
c) Reference variables
d) None

6) Find the output of the following code:

    class Solution
        public static void main(String args[]) 
            int i;
            for(i=1; i<6; i++) 
a) 3
b) 4
c) 5

7) Which of this keyword must be used to inherit a class?
a) Super 
b) this
c) extends
d) extent

8) System class is defined in ........
a) java.util package 
b) java.lang package
c) package
d) java.awt package

9) Which one of the following is a valid statement?
a) char[] c=new char();
b) char[] c=new char[5];
c) char[] c=new char(4)
d) char[] c=new char[];

Group 'B'

Give short answers to the following questions.     (5x5=25)

8) Define access modifier. Describe different types of access modifiers used in java.     [1+4]
9) Define the constructor. Demonstrate it with a suitable java program.     [1+4]
10) Define the array. Mention declaration and initialization process in a one-dimensional array with suitable examples.     [1+4]
11) How to create a string in java? Discuss any two-string manipulation methods with suitable examples.     [1+4]
12) Define the java applet. How to embed an applet in an HTML file? Illustrate with a suitable example.     [1+4]

Group 'C'

Give long answers to the following questions.     (8x2=16)

13) Define inheritance. Describe single inheritance with a suitable example.     [2+6]
14) Define looping. Differentiate between while and do.. while loop with syntax and example.     [2+6]

Class 11 Java Programming Question Paper 2079 - 2022

Also Check:-

If you want to ask anything, please contact us by Messaging us on Social Media.

Social Media links:-

Tags:-  Class 11Java Programming Question Paper 2079 - 2022, Class 11 Java Programming, Java Programming Question Papers,  Class 11 Java Programming question papers, Complete Question Paper.

Post a Comment

* Please Don't Spam Here. All the Comments are Reviewed by Admin.

Below Post Ad