SlideShare a Scribd company logo
Dear students get fully solved assignments
Send your semester & Specialization name to our mail id :
help.mbaassignments@gmail.com
or
call us at : 08263069601
FALL 2016, ASSIGNMENT
PROGRAM MCA(REVISED FALL 2012)
SEMESTER 1
SUBJECT CODE & NAME MCA 4030 - PROGRAMMING IN JAVA
CREDIT 4
BK ID B1477
MAX.MARKS 60
Note: Answer all questions. Kindly note that answers for 10 marks questions should be
approximately of 400 words. Each question is followed by evaluation scheme.
1 Describe the following:
a) Multi-threading.
Answer : Multithreading in java is a process of executing multiple threads simultaneously.
Thread is basically a lightweight sub-process, a smallest unit of processing. Multiprocessing and
multithreading, both are used to achieve multitasking.
But we use multithreading than multiprocessing because threads share a common memory area.
They don't allocate
b) Significance of Java Bytecode
Answer : Java is build on WODA (Write Once Deploy Anywhere) principle. This means you don't
have to tweak a Java source code if you want to deploy it in another OS. But at the end of the day,
java programsneed a JVMto run on and JVMbeing machine language specific cannot be platform-
neutral. So, we
2 Differentiate Break and Continue statements in Java with example program.
Answer:A breakstatementwhenappliedtoa loopendsthe statement.A continue statement ends
the iterationof the currentloopand returnsthe control to the loopstatement.If the break keyword
isfollowedbyanidentifierthatisthe label of a randomenclosingstatement,executiontransfersout
of thatenclosingstatement.If the continue keyword is followed by an identifier that is the label of
an enclosing loop, execution skips to the end of that loop instead.
break:breaksthe current loopandmovesthe cursor to nextline afterthe loop
e.g.
3 Differentiate between packages and Interfaces.
Answer : Packages
Definition: A package is a grouping of related types providing access protection and name space
management. Note that types refers to classes, interfaces, enumerations, and annotation types.
Enumerationsandannotationtypesare special kindsof classesandinterfaces,respectively,so types
are often referred to in this lesson simply as classes and interfaces.
Creating a Package:
4 What are Applets? What are the restrictions of Applets? Describe about applet class.
Answer : What is an Applet in Java ?
An Applet is a small java program that runs in a Java enabled web browser. Java Applet is a small
piece of java code that is embedded into HTML page, which gets executed when the HTML page
loadsintothe browser.Appletsprovide powerful client-side functionality.Asappletsare loadedfrom
remote machines and executed on client-side, there are various security restrictions on applets. –
Applets Restrictions
Applets have many restrictions over the
5 Compare JDBC and ODBC
Answer : Typically, software applications are written in a specific programming language (such as
Java, C#, etc.), while databases accept queries in some other database specific language (such as
SQL). Therefore, when a software application needs to access data in a database, an interface that
can translate languagestoeachother(applicationanddatabase) isrequired.Otherwise, application
programmers need to learn and
6 Describe about Java Beans and BeanBox.
Answer : A Java Bean is a reusable software component that can be manipulated visually in an
application builder tool. The idea is that one can start with a collection of such components, and
quickly wire them together to form complex programs without actually writing any new code.
Software components must, in general, adopt standard techniques for interacting with the rest of
the world. For example, all GUI components inherit the java.awt.Component class, which means
that one can rely on them to have certain standard methods like paint(), setSize(), etc. Java Beans
are not actually required to inherit a
Dear students get fully solved assignments
Send your semester & Specialization name to our mail id :
help.mbaassignments@gmail.com
or
call us at : 08263069601

More Related Content

What's hot (20)

DOCX
Bt0074, oops with java
smumbahelp
 
DOCX
Bt0074, oops with java
smumbahelp
 
DOCX
Mi0041 java and web design
Study Stuff
 
DOCX
Mi0041 java and web design
smumbahelp
 
DOCX
Bt8903,c# programming
smumbahelp
 
PPT
Java OOP s concepts and buzzwords
Raja Sekhar
 
DOCX
Bt0074, oops with java
smumbahelp
 
PPT
Java buzzwords
ramesh517
 
PPTX
Basic syntax
Ducat India
 
DOCX
Mit4021 c# and .net
smumbahelp
 
DOCX
Mi0041 java and web design
smumbahelp
 
PPTX
Concepts of core java
AkshitaMangrulkar
 
PPTX
Coding conventions
Thitipong Jampajeen
 
PPT
Java for C++ programers
Salahaddin University-Erbil
 
PPTX
Java PPT
Dilip Kr. Jangir
 
DOCX
Java interface
HoneyChintal
 
PPTX
computer science JAVA ppt
brijesh kumar
 
PDF
Java exam 2017
Manish Swarnkar
 
PPTX
Coding conventions
systemcrashed
 
PPTX
Java
raj esaki
 
Bt0074, oops with java
smumbahelp
 
Bt0074, oops with java
smumbahelp
 
Mi0041 java and web design
Study Stuff
 
Mi0041 java and web design
smumbahelp
 
Bt8903,c# programming
smumbahelp
 
Java OOP s concepts and buzzwords
Raja Sekhar
 
Bt0074, oops with java
smumbahelp
 
Java buzzwords
ramesh517
 
Basic syntax
Ducat India
 
Mit4021 c# and .net
smumbahelp
 
Mi0041 java and web design
smumbahelp
 
Concepts of core java
AkshitaMangrulkar
 
Coding conventions
Thitipong Jampajeen
 
Java for C++ programers
Salahaddin University-Erbil
 
Java interface
HoneyChintal
 
computer science JAVA ppt
brijesh kumar
 
Java exam 2017
Manish Swarnkar
 
Coding conventions
systemcrashed
 
Java
raj esaki
 

Viewers also liked (20)

PPTX
Argentina estado Chubut
valeriaterralavoro
 
PDF
EXPLICACION DEL LIBRO DE APOCALIPSIS
Abimael Romero López
 
PPTX
Tugasan 2.ppt
Ti Whan Seeh
 
PPT
RED ALAMBRICA
aratoca1
 
PPTX
argentina
valeriaterralavoro
 
PPTX
Gestalt
damaleroamna
 
PPTX
Educación virtual
qfbruce
 
PPTX
Las aulas virtuales
Leanny Diecisiete
 
PDF
Artemide_Final Presentation 1presenting
Dannielle Simpson
 
PPTX
Servicios publicos domiciliarios2
JessiiCa Rojas
 
PPTX
Argentina estado pampa
valeriaterralavoro
 
DOC
Referencia mundial colombia
damaleroamna
 
PPTX
IMPACTOS EN LOS NIVELES DE EDUCACION
PaticoDay
 
PPTX
Las aulas virtuales
Leanny Diecisiete
 
DOCX
Mb0048 operations research (1)
smumbahelp
 
PPTX
Transfusión
Diana Cornejo
 
DOCX
Mca 4040 analysis and design of algorithm
smumbahelp
 
Argentina estado Chubut
valeriaterralavoro
 
EXPLICACION DEL LIBRO DE APOCALIPSIS
Abimael Romero López
 
Tugasan 2.ppt
Ti Whan Seeh
 
RED ALAMBRICA
aratoca1
 
Gestalt
damaleroamna
 
Educación virtual
qfbruce
 
Las aulas virtuales
Leanny Diecisiete
 
Artemide_Final Presentation 1presenting
Dannielle Simpson
 
Servicios publicos domiciliarios2
JessiiCa Rojas
 
Argentina estado pampa
valeriaterralavoro
 
Referencia mundial colombia
damaleroamna
 
IMPACTOS EN LOS NIVELES DE EDUCACION
PaticoDay
 
Las aulas virtuales
Leanny Diecisiete
 
Mb0048 operations research (1)
smumbahelp
 
Transfusión
Diana Cornejo
 
Mca 4040 analysis and design of algorithm
smumbahelp
 
Ad

Similar to Mca 4030 programming in java (20)

DOCX
Mit103 object oriented programming
smumbahelp
 
PPT
1- java
Krishna Sujeer
 
PPT
Fundamentals of JAVA
KUNAL GADHIA
 
PPTX
java tutorial for beginner - Free Download
TIB Academy
 
DOCX
Srgoc java
Gaurav Singh
 
PPTX
Fundamentals of JAVA
Swapnika Godbole
 
DOCX
198970820 p-oooooooooo
homeworkping4
 
DOCX
Notes of java first unit
gowher172236
 
PDF
Introduction to Java
Professional Guru
 
DOC
OBJECT ORIENTED PROGRAMMING LANGUAGE - SHORT NOTES
suthi
 
PDF
Java Programming.pdf
IthagoniShirisha
 
PPTX
Introduction to java
Steve Fort
 
PPTX
1_Introduction to Java.pptx java programming
amitraj53904
 
PPT
00 intro to java
Deia Abdullah
 
DOCX
Mcs 024 assignment solution (2020-21)
smumbahelp
 
PPTX
Java Introduction
javeed_mhd
 
PPTX
Unit1 introduction to Java
DevaKumari Vijay
 
PPTX
CS8392 OOP
DhanalakshmiVelusamy1
 
PPTX
Java Fundamentals in Mule
Anand kalla
 
PPT
Java basic
Arati Gadgil
 
Mit103 object oriented programming
smumbahelp
 
Fundamentals of JAVA
KUNAL GADHIA
 
java tutorial for beginner - Free Download
TIB Academy
 
Srgoc java
Gaurav Singh
 
Fundamentals of JAVA
Swapnika Godbole
 
198970820 p-oooooooooo
homeworkping4
 
Notes of java first unit
gowher172236
 
Introduction to Java
Professional Guru
 
OBJECT ORIENTED PROGRAMMING LANGUAGE - SHORT NOTES
suthi
 
Java Programming.pdf
IthagoniShirisha
 
Introduction to java
Steve Fort
 
1_Introduction to Java.pptx java programming
amitraj53904
 
00 intro to java
Deia Abdullah
 
Mcs 024 assignment solution (2020-21)
smumbahelp
 
Java Introduction
javeed_mhd
 
Unit1 introduction to Java
DevaKumari Vijay
 
Java Fundamentals in Mule
Anand kalla
 
Java basic
Arati Gadgil
 
Ad

Recently uploaded (20)

PPTX
PATIENT ASSIGNMENTS AND NURSING CARE RESPONSIBILITIES.pptx
PRADEEP ABOTHU
 
PPSX
HEALTH ASSESSMENT (Community Health Nursing) - GNM 1st Year
Priyanshu Anand
 
PDF
LAW OF CONTRACT (5 YEAR LLB & UNITARY LLB )- MODULE - 1.& 2 - LEARN THROUGH P...
APARNA T SHAIL KUMAR
 
PPTX
How to Manage Large Scrollbar in Odoo 18 POS
Celine George
 
PPT
Talk on Critical Theory, Part One, Philosophy of Social Sciences
Soraj Hongladarom
 
PPTX
How to Set Maximum Difference Odoo 18 POS
Celine George
 
PDF
community health nursing question paper 2.pdf
Prince kumar
 
PPTX
How to Convert an Opportunity into a Quotation in Odoo 18 CRM
Celine George
 
PDF
Isharyanti-2025-Cross Language Communication in Indonesian Language
Neny Isharyanti
 
PDF
The dynastic history of the Chahmana.pdf
PrachiSontakke5
 
PDF
Dimensions of Societal Planning in Commonism
StefanMz
 
PPTX
Unit 2 COMMERCIAL BANKING, Corporate banking.pptx
AnubalaSuresh1
 
PDF
LAW OF CONTRACT ( 5 YEAR LLB & UNITARY LLB)- MODULE-3 - LEARN THROUGH PICTURE
APARNA T SHAIL KUMAR
 
PDF
The Different Types of Non-Experimental Research
Thelma Villaflores
 
PDF
The History of Phone Numbers in Stoke Newington by Billy Thomas
History of Stoke Newington
 
PPTX
MENINGITIS: NURSING MANAGEMENT, BACTERIAL MENINGITIS, VIRAL MENINGITIS.pptx
PRADEEP ABOTHU
 
PPTX
HYDROCEPHALUS: NURSING MANAGEMENT .pptx
PRADEEP ABOTHU
 
PDF
People & Earth's Ecosystem -Lesson 2: People & Population
marvinnbustamante1
 
PPTX
STAFF DEVELOPMENT AND WELFARE: MANAGEMENT
PRADEEP ABOTHU
 
PDF
ARAL_Orientation_Day-2-Sessions_ARAL-Readung ARAL-Mathematics ARAL-Sciencev2.pdf
JoelVilloso1
 
PATIENT ASSIGNMENTS AND NURSING CARE RESPONSIBILITIES.pptx
PRADEEP ABOTHU
 
HEALTH ASSESSMENT (Community Health Nursing) - GNM 1st Year
Priyanshu Anand
 
LAW OF CONTRACT (5 YEAR LLB & UNITARY LLB )- MODULE - 1.& 2 - LEARN THROUGH P...
APARNA T SHAIL KUMAR
 
How to Manage Large Scrollbar in Odoo 18 POS
Celine George
 
Talk on Critical Theory, Part One, Philosophy of Social Sciences
Soraj Hongladarom
 
How to Set Maximum Difference Odoo 18 POS
Celine George
 
community health nursing question paper 2.pdf
Prince kumar
 
How to Convert an Opportunity into a Quotation in Odoo 18 CRM
Celine George
 
Isharyanti-2025-Cross Language Communication in Indonesian Language
Neny Isharyanti
 
The dynastic history of the Chahmana.pdf
PrachiSontakke5
 
Dimensions of Societal Planning in Commonism
StefanMz
 
Unit 2 COMMERCIAL BANKING, Corporate banking.pptx
AnubalaSuresh1
 
LAW OF CONTRACT ( 5 YEAR LLB & UNITARY LLB)- MODULE-3 - LEARN THROUGH PICTURE
APARNA T SHAIL KUMAR
 
The Different Types of Non-Experimental Research
Thelma Villaflores
 
The History of Phone Numbers in Stoke Newington by Billy Thomas
History of Stoke Newington
 
MENINGITIS: NURSING MANAGEMENT, BACTERIAL MENINGITIS, VIRAL MENINGITIS.pptx
PRADEEP ABOTHU
 
HYDROCEPHALUS: NURSING MANAGEMENT .pptx
PRADEEP ABOTHU
 
People & Earth's Ecosystem -Lesson 2: People & Population
marvinnbustamante1
 
STAFF DEVELOPMENT AND WELFARE: MANAGEMENT
PRADEEP ABOTHU
 
ARAL_Orientation_Day-2-Sessions_ARAL-Readung ARAL-Mathematics ARAL-Sciencev2.pdf
JoelVilloso1
 

Mca 4030 programming in java

  • 1. Dear students get fully solved assignments Send your semester & Specialization name to our mail id : [email protected] or call us at : 08263069601 FALL 2016, ASSIGNMENT PROGRAM MCA(REVISED FALL 2012) SEMESTER 1 SUBJECT CODE & NAME MCA 4030 - PROGRAMMING IN JAVA CREDIT 4 BK ID B1477 MAX.MARKS 60 Note: Answer all questions. Kindly note that answers for 10 marks questions should be approximately of 400 words. Each question is followed by evaluation scheme. 1 Describe the following: a) Multi-threading. Answer : Multithreading in java is a process of executing multiple threads simultaneously. Thread is basically a lightweight sub-process, a smallest unit of processing. Multiprocessing and multithreading, both are used to achieve multitasking. But we use multithreading than multiprocessing because threads share a common memory area. They don't allocate b) Significance of Java Bytecode Answer : Java is build on WODA (Write Once Deploy Anywhere) principle. This means you don't have to tweak a Java source code if you want to deploy it in another OS. But at the end of the day, java programsneed a JVMto run on and JVMbeing machine language specific cannot be platform- neutral. So, we 2 Differentiate Break and Continue statements in Java with example program. Answer:A breakstatementwhenappliedtoa loopendsthe statement.A continue statement ends the iterationof the currentloopand returnsthe control to the loopstatement.If the break keyword isfollowedbyanidentifierthatisthe label of a randomenclosingstatement,executiontransfersout
  • 2. of thatenclosingstatement.If the continue keyword is followed by an identifier that is the label of an enclosing loop, execution skips to the end of that loop instead. break:breaksthe current loopandmovesthe cursor to nextline afterthe loop e.g. 3 Differentiate between packages and Interfaces. Answer : Packages Definition: A package is a grouping of related types providing access protection and name space management. Note that types refers to classes, interfaces, enumerations, and annotation types. Enumerationsandannotationtypesare special kindsof classesandinterfaces,respectively,so types are often referred to in this lesson simply as classes and interfaces. Creating a Package: 4 What are Applets? What are the restrictions of Applets? Describe about applet class. Answer : What is an Applet in Java ? An Applet is a small java program that runs in a Java enabled web browser. Java Applet is a small piece of java code that is embedded into HTML page, which gets executed when the HTML page loadsintothe browser.Appletsprovide powerful client-side functionality.Asappletsare loadedfrom remote machines and executed on client-side, there are various security restrictions on applets. – Applets Restrictions Applets have many restrictions over the 5 Compare JDBC and ODBC Answer : Typically, software applications are written in a specific programming language (such as Java, C#, etc.), while databases accept queries in some other database specific language (such as SQL). Therefore, when a software application needs to access data in a database, an interface that can translate languagestoeachother(applicationanddatabase) isrequired.Otherwise, application programmers need to learn and 6 Describe about Java Beans and BeanBox. Answer : A Java Bean is a reusable software component that can be manipulated visually in an application builder tool. The idea is that one can start with a collection of such components, and quickly wire them together to form complex programs without actually writing any new code. Software components must, in general, adopt standard techniques for interacting with the rest of the world. For example, all GUI components inherit the java.awt.Component class, which means
  • 3. that one can rely on them to have certain standard methods like paint(), setSize(), etc. Java Beans are not actually required to inherit a Dear students get fully solved assignments Send your semester & Specialization name to our mail id : [email protected] or call us at : 08263069601