0% found this document useful (0 votes)
151 views2 pages

Assignment 1 BCA-401

This document contains an assignment for a 4th semester BCA class on Programming in Java. It includes 25 questions to be answered for marks ranging from 1 to 6 marks each. The questions cover topics like the differences between JRE and JVM, purpose of JIT compiler, valid Java file names, constructors, access modifiers, arrays, parameterize constructors, and more. It also lists 8 recommended textbooks and reference books for the subject.

Uploaded by

ANGRY CAPTAIN
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
151 views2 pages

Assignment 1 BCA-401

This document contains an assignment for a 4th semester BCA class on Programming in Java. It includes 25 questions to be answered for marks ranging from 1 to 6 marks each. The questions cover topics like the differences between JRE and JVM, purpose of JIT compiler, valid Java file names, constructors, access modifiers, arrays, parameterize constructors, and more. It also lists 8 recommended textbooks and reference books for the subject.

Uploaded by

ANGRY CAPTAIN
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

M. M.

Institute of Computer Technology & Business Management Assignment 01


(M.M. Deemed to be University), Mullana
(Section-A)
Session : 2022-2023 (Even) Class/Semester : BCA – 4th Semester
Subject Code: BCA-401 Subject Name: Programming in Java
Lecture : 4 Tutorial : 0
Max. Marks Theory: 60 Max. Marks Sessional: 40 Credits : 4.0
Assigned Date: 21-02-2023 Submission Date:28-02-2023 Evaluated/Distributed On:
Q. Question Marks Remarks
No.

1. a) What is the difference between JRE and JVM? 01


b) What is the purpose of JIT compiler? 01
c) Can we save the java source file without any name? 01
d) Why java use the concept of Unicode system? 01
e) Is java platform independent? 01
f) What is class loader? 01
g) Is only .java file name is valid source file name? 01
h) What is constructor? 01
i) Does constructor return any value? 01
j) What is role of private modifier in java? 01
k) What is object cloning? 01
l) What is method overloading? 01

2. How many types of memory areas are allocated to JVM? 02


3. Why main method is static? 02
4. What is the difference between static method and instance method? 02
5. Why is Java known as Architecture-neutral? 02
6. Briefly describe the working of JVM, JDK and JRE. 02
7. Write a short note on JDK. 02
8. What is the role of command line argument in java? 02
9. WAP to check weather a given number is even or odd. 02
10. Differentiate pre-increment and post-increment operator? 02
11. WAP to take multiple inputs in single line. 02
12. WAP to print the reference of an object. 02
13. What is StringTokenizer? 02
14. What is difference between overloading and overriding? 04
15. Explain the different types of data types in java? 04
16. What is the difference between constructor and method? 04
17. Write about Scanner and BufferedReader Class. 04
18. What is the role of access modifiers? Draw the table for modifiers. 04
19. Explain constructor overloading with the help of example. 04
20. What is an array discuss different types of array? and WAP to reverse an Array 04
element.
21. How to declare parameterize constructor in java language. 04
22. Explain the features of java language. 06
23. WAP for selection and bubble short using switch case. 06
24. Explain the concept of overriding in java with suitable example. 06
25. Explain the different types of operators in java language with the help of suitable 06
example.

Text Books:
1. H.M. Deitel, P.J. Deitel, Java How to Program, Pearson Education, 7th ed., 2012.
2. Herbert Schildt, The Complete Reference Java 2, Tata McGrawHill, 8th ed., 2012.
3. E. Balaguruswami, Programming with Java, Tata McGrawHill, 5th ed., 2015.
4. MP Bhava & S A Patekar, Programming with Java, Pearson Education, 2011.

Reference Books:
5. Mughal K.A., Rasmussen R.W., A Programmer’s Guide to Java Certification, Addison-Wesley,
2nded., 2000.
6. Cay S. Horstmann, Gray Cornell, Core Java 2, Volume I-Fundamentals and Volume II-Advanced
Features, Sun Microsystems Press, Pearson Education, 9th ed., 2013.
7. David Flanagan, Java in a Nutshell, fourth edition, O’Reilly, 2nd ed., 2004.
8. Jonni Kanerva, The Java FAQ, Pearson Education, 7th ed., 2005.

You might also like