Save as PDF
Opens your browser print dialog — select "Save as PDF" to download.
Fifth Semester
Computer Science and Engineering/Information Technology
Technology
Scheme OCBC 2019
JAVA PROGRAMMING
Note : i) All 7 Questions are Compulsory. Internal choices has been given in each LO (Learning Outcome).
सभी 7 प्रश्न अनिवार्य है। आंतरिक विकल्प प्रत्येक LO (लर्निंग आउटकम) में दिए गए हैं।
ii) In case of any doubt or dispute, the English version question should be treated as final.
किसी भी प्रकार के संदेह अथवा विवाद की स्थिति में अंग्रेजी भाषा के प्रश्न को अंतिम माना जायेगा।
| Q. | LO | Questions | Marks |
|---|---|---|---|
| 1. | LO2 |
a)
Explain different data types in Java.
जावा में विभिन्न डाटा प्रकार की व्याख्या करें। |
5 |
|
b)
Describe class and object with example.
उ��ाहरण के साथ क्लास और ऑब्जेक्ट का वर्णन करें। OR/अथवा |
|||
|
a)
Explain constructors with their types.
Constructors को उनके प्रकार सहित समझाइए। |
|||
|
b)
Explain different kinds of operators in Java.
जावा में विभिन्न प्रकार के operators को समझाइए। |
|||
| 2. | LO5 |
a)
What is inheritance? Explain with its types.
Inheritance क्या है? इसके प्रकार सहित समझाइए। |
5 |
|
b)
Discuss various accessibility modes.
विभिन्न एक्सेसिबिलिटी मोड्स को बताइए। |
|||
| Q. | LO | Questions | Marks |
|---|---|---|---|
| 2. | LO13 |
a)
Differentiate between overriding and overloading.
ओवरराइडिंग तथा ओवरलोडिंग के मध्य अंतर कीजिए। |
5 |
|
b)
What is the use of final keyword in Java?
जावा में फाइनल कीवर्ड का क्या उपयोग है? |
|||
| 3. | LO6 |
a)
Differentiate between abstract class and interface.
एब्स्ट्रेक्ट क्लास और इंटरफ़ेस के मध्य अंतर कीजिए। |
5 |
|
b)
What is Polymorphism? Explain with its types.
पोलीमोरफिस्म क्या है? इसके प्रकारों सहित समझाइए। OR/अथवा |
|||
|
a)
Explain multiple inheritance. How it is implemented in Java?
मल्टीपल इनहेरिटेंस को समझाइए। जावा में इसे कैसे कार्यान्वित करते है? |
|||
|
b)
Differentiate between static and dynamic binding.
स्टैटिक तथा ड���यनामिक बाइंडिंग के मध्य अंतर कीजिए। |
|||
| 4. | LO9 |
a)
Explain life cycle of a thread.
थ्रेड की लाइफ साइकिल को समझाइए। |
5 |
|
b)
Describe the methods of creating a thread.
थ्रेड को क्रिएटिंग करने की विध��� को समझाइए। |
| Q. | LO | Questions | Marks |
|---|---|---|---|
| 4. |
a)
What is thread priority? How can you change thread priority?
थ्रेड प्रायोरिटी क्या है? थ्रेड प्रायोरिटी को कैसे बदला जा सकता है? |
6 | |
|
b)
Explain synchronization.
Synchronization को समझाइए। OR/अथवा |
4 | ||
|
Create your own exception and explain it.
स्वयं का exception बनाइये और उसे समझाइए। |
10 | ||
| 5. | LO10 |
a)
Explain types of errors in java.
जावा में एरर के प्रकारों को समझाइए। |
5 |
|
b)
List any five built-in exceptions and explain them.
कोई भी पाँच बिल्ट-इन exceptions की सूची बनाइये और उन्हें समझाइए। OR/अथवा |
5 | ||
|
Create your own exception and explain it.
स्वयं का exception बनाइये और उसे समझाइए। |
10 | ||
| 6. | LO12 |
a)
Explain byte and character stream classes in Java.
जावा में byte एवं character स्ट्रीम क्लासेस को समझाइए। |
5 |
|
b)
Explain in file handling in Java.
जावा में फाइल हैंडलिंग को समझाइए। OR/अथवा |
5 | ||
|
How a user can take input and output from stream class? Explain with example.
एक यूज़र किसी स्ट्रीम क्लास से इनपुट एवं आउटपुट किस तरह से ले सकता है? उदाहरण सहित समझाइए। |
10 | ||
| Q. | LO | Questions | Marks |
|---|---|---|---|
| 7. | LO14 |
a)
What is socket programming?
सॉकेट प्रोग्रामिंग क्या है? |
5 |
|
b)
Explain the process of client-side socket programming.
क्लाइंट-साइड सॉकेट प्रोग्रामिंग की प्रक्रिया को समझाइए। OR/अथवा |
|||
|
a)
Explain Datagram Socket which user UDP?
Datagram सॉकेट जो UDP का उपयोग करता है उसे समझाइए। |
|||
|
b)
Explain TCP and UDP.
TCP एवं UDP को समझाइए। |
|||