Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
9 views

java programming 2080

This document is a final examination paper for Computer Engineering 11, focusing on JAVA programming. It includes multiple-choice questions, short answer questions, and programming tasks, covering various Java concepts such as classes, objects, and features of Java. The exam is structured into three groups with varying levels of complexity and marks allocation.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views

java programming 2080

This document is a final examination paper for Computer Engineering 11, focusing on JAVA programming. It includes multiple-choice questions, short answer questions, and programming tasks, covering various Java concepts such as classes, objects, and features of Java. The exam is structured into three groups with varying levels of complexity and marks allocation.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

SHREE MAHUNYAL SECONDARY SCHOOL

Bardagoriya – 06, Baskoti, Kailali


Final examination 2079

Program: Computer Engineering 11 FM:-50


Class 11 PM=18
Subject: JAVA programming
Time: 2hr
Candidates are required to give their answers in their own words as far as 5) Which of the following is a mutable class in java?
practicable. The figures in the margin indicate full marks. a) java.lang.String
Group A b) java.lang.Byte
Multiple choice (Objective question) 1x9=9 c) java.lang.Short
1) Which of the following option leads to the portability and d) java.lang.StringBuilde
security of Java?
a) Bytecode is executed by JVM 6) What is meant by the classes and objects that dependents on each
b) The applet makes the Java code secure and portable other?
c) Use of exception handling a) Tight Coupling
d) Dynamic binding between objects b) Cohesion
2) Which of the following is not a Java features? c) Loose Coupling
a) Dynamic d) None of the above
b) Architecture Neutral 7) What is the return type of the hashCode() method in the Object
c) Use of pointers class?
d) Object-oriented a) Object
3) Which of these components are used in a Java program for b) int
compilation, debugging, and execution? c) long
a) JDK d) void
b) JVM 8) Which keyword is used for accessing the features of a package?
c) JRE a) package
d) JIT b) import
4) Which of the following is an immediate subclass of the c) extends
Panel class? d) export
a) Applet class 9) The purpose of a Java constructor is __.............
a. Initialization of variables with passed data
b) Window class
b. Writing custom code
c) Frame class c. Accepting other objects as inputs
d) Dialog class d. All the above
Group B
Attempt any five question (5x5=25)
1) Define java programming? List features of java
programming explain any five.
2) Define variable? Explain types of variable in java.
3) Define JRE and JDK and JVM? Write component s of
JDK.
4) What is a mutable string? Write a program to
concatenate twostrings.
5) Define Nested loop? Write program to print series of
natural number less than 100.
6) What are java applets? Write advantage using applets in java.
7) Define object in java? Write a program to create a class
student and having field name and id create object and
display information of class.

Group C
Attempt any two question (2x8=16)
1) Define class in java? Write a program to create class
employee and having member eid, name and salary of
employee read records of employee and display them
using multiple objects.
2) What is constructor in java? List types of
constructor.WAP to create parameterized constructor
of student class and read information of student's id,
name and marks of student and display them by using
multiple objects.

...................................Best of Luck.............................................

You might also like