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

DOCX
Mca 4030 programming in java
DOCX
Mit103 object oriented programming
DOCX
Mi0041 java and web design
DOCX
Mi0041 java and web design
DOCX
Bt0074, oops with java
DOCX
Mi0041 java and web design
DOCX
Bca 4020 java programming
DOCX
Bt0074
Mca 4030 programming in java
Mit103 object oriented programming
Mi0041 java and web design
Mi0041 java and web design
Bt0074, oops with java
Mi0041 java and web design
Bca 4020 java programming
Bt0074

What's hot (20)

DOCX
Bt0074, oops with java
DOCX
Bt0074, oops with java
DOCX
Mi0041 java and web design
DOCX
Mi0041 java and web design
DOCX
Bt8903,c# programming
PPT
Java OOP s concepts and buzzwords
DOCX
Bt0074, oops with java
PPT
Java buzzwords
PPTX
Basic syntax
DOCX
Mit4021 c# and .net
DOCX
Mi0041 java and web design
PPTX
Concepts of core java
PPTX
Coding conventions
PPT
Java for C++ programers
PPTX
DOCX
Java interface
PPTX
computer science JAVA ppt
PDF
Java exam 2017
PPTX
Coding conventions
PPTX
Java
Bt0074, oops with java
Bt0074, oops with java
Mi0041 java and web design
Mi0041 java and web design
Bt8903,c# programming
Java OOP s concepts and buzzwords
Bt0074, oops with java
Java buzzwords
Basic syntax
Mit4021 c# and .net
Mi0041 java and web design
Concepts of core java
Coding conventions
Java for C++ programers
Java interface
computer science JAVA ppt
Java exam 2017
Coding conventions
Java
Ad

Viewers also liked (13)

PPTX
Announcement- Thursday December 22, 2016
DOCX
Aprende a comunicarte con tus hijos
PDF
Nhung dua-tre-thong-minh-nhat-the-gioi
PDF
Nhung cach-nuoi-day-tri-tue-va-ky-nang-cua-tre-smith-n
DOCX
консультация для родителей
PDF
Canal Yoga - Kris Fondran
PDF
brochure with projects
PPTX
Presentación geografía
PDF
Πόθεν έσχες Βουλευτού Απόστολου Νάνου - Έτος 2015
PPSX
Aplicación de powerpoint a problemas resueltos de elipses t1 elipse egv1 nº 1-01
PPTX
Обжалование действий или бездействия
DOCX
HLTHST382 Fa16-Individual Paper Assignment-Craig Peters-Draft 8
DOCX
Unidad educativa
Announcement- Thursday December 22, 2016
Aprende a comunicarte con tus hijos
Nhung dua-tre-thong-minh-nhat-the-gioi
Nhung cach-nuoi-day-tri-tue-va-ky-nang-cua-tre-smith-n
консультация для родителей
Canal Yoga - Kris Fondran
brochure with projects
Presentación geografía
Πόθεν έσχες Βουλευτού Απόστολου Νάνου - Έτος 2015
Aplicación de powerpoint a problemas resueltos de elipses t1 elipse egv1 nº 1-01
Обжалование действий или бездействия
HLTHST382 Fa16-Individual Paper Assignment-Craig Peters-Draft 8
Unidad educativa
Ad

Similar to Mca 4030 programming in java (20)

DOCX
Bt0074 oop with java
DOCX
Mi0041 java and web design
PDF
Beginning Java with WebSphere Expert s Voice in Java Janson Robert W
DOCX
Mit103 object oriented programming
DOCX
Viva file
PPT
00 intro to java
DOCX
Bt8903, c# programming
PPT
Classes and Objects
PPT
Professional-core-java-training
PDF
Professional-core-java-training
PDF
Sybsc cs sem 3 core java
PDF
Bt0074 oops with java2
PDF
JAVA INTERVIEW QUESTIONS.pdf java developer engineer
PDF
JAVA TECHNICAL INTERVIEW.pdf java developer engineer
PDF
PJ_M01_C01_PPT_Introduction to Object Oriented Programming Using Java.pdf
PDF
PRG 420 NERD Education Counseling--prg420nerd.com
PPT
Java Standard edition(Java ) programming Basics for beginner's
PDF
PRG 420 NERD Become Exceptional--prg420nerd.com
PDF
PRG 420 Education for Service--prg420.com
DOCX
PRG 420 Inspiring Innovation--prg420.com
Bt0074 oop with java
Mi0041 java and web design
Beginning Java with WebSphere Expert s Voice in Java Janson Robert W
Mit103 object oriented programming
Viva file
00 intro to java
Bt8903, c# programming
Classes and Objects
Professional-core-java-training
Professional-core-java-training
Sybsc cs sem 3 core java
Bt0074 oops with java2
JAVA INTERVIEW QUESTIONS.pdf java developer engineer
JAVA TECHNICAL INTERVIEW.pdf java developer engineer
PJ_M01_C01_PPT_Introduction to Object Oriented Programming Using Java.pdf
PRG 420 NERD Education Counseling--prg420nerd.com
Java Standard edition(Java ) programming Basics for beginner's
PRG 420 NERD Become Exceptional--prg420nerd.com
PRG 420 Education for Service--prg420.com
PRG 420 Inspiring Innovation--prg420.com

Recently uploaded (20)

PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PPTX
PPH.pptx obstetrics and gynecology in nursing
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
Complications of Minimal Access Surgery at WLH
PDF
01-Introduction-to-Information-Management.pdf
PPTX
GDM (1) (1).pptx small presentation for students
PDF
RMMM.pdf make it easy to upload and study
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
Pre independence Education in Inndia.pdf
PDF
Microbial disease of the cardiovascular and lymphatic systems
PPTX
Cell Types and Its function , kingdom of life
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
Computing-Curriculum for Schools in Ghana
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
O7-L3 Supply Chain Operations - ICLT Program
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Supply Chain Operations Speaking Notes -ICLT Program
PPH.pptx obstetrics and gynecology in nursing
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Complications of Minimal Access Surgery at WLH
01-Introduction-to-Information-Management.pdf
GDM (1) (1).pptx small presentation for students
RMMM.pdf make it easy to upload and study
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Pre independence Education in Inndia.pdf
Microbial disease of the cardiovascular and lymphatic systems
Cell Types and Its function , kingdom of life
Renaissance Architecture: A Journey from Faith to Humanism
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Microbial diseases, their pathogenesis and prophylaxis
Computing-Curriculum for Schools in Ghana
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
O7-L3 Supply Chain Operations - ICLT Program

Mca 4030 programming in java

  • 1. 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
  • 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 : help.mbaassignments@gmail.com or call us at : 08263069601