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
ASSIGNMENT
PROGRAM Master of Science in Information Technology(MSc IT)Revised
Fall 2011
SEMESTER 1
SUBJECT CODE & NAME MIT103- OBJECT ORIENTED PROGRAMMING
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
Mca 4030 programming in java
DOCX
Bt0074 oop with java
DOCX
Bt0074, oops with java
DOCX
Mca2030 object oriented programming – c++
DOCX
Mi0041 java and web design
DOCX
Bt0074
DOCX
Mca2030 object oriented programming – c++
Mca 4030 programming in java
Mca 4030 programming in java
Bt0074 oop with java
Bt0074, oops with java
Mca2030 object oriented programming – c++
Mi0041 java and web design
Bt0074
Mca2030 object oriented programming – c++

What's hot (19)

DOCX
Mi0041 java and web design
DOCX
Mi0041 java and web design
DOCX
Bt8903,c# programming
DOCX
Bt8903, c# programming
DOCX
Mca1020 programming in c
DOCX
Mi0041 java and web design
DOCX
Bt0074, oops with java
DOCX
Bt0074, oops with java
DOCX
Mca2030 object oriented programming – c++
DOCX
Mi0041 java and web design
PPT
Java OOP s concepts and buzzwords
PPTX
Abstract Class In Java | Java Abstract Class Tutorial | Java Tutorial For Beg...
DOCX
Mit4021 c# and .net
DOCX
Mca2030 object oriented programming – c++
DOCX
Bt0074, oops with java
PPT
Java buzzwords
PPTX
Presentation on adapter pattern
PPTX
Adapter design pattern
DOCX
Mit4021–%20 c# and .net
Mi0041 java and web design
Mi0041 java and web design
Bt8903,c# programming
Bt8903, c# programming
Mca1020 programming in c
Mi0041 java and web design
Bt0074, oops with java
Bt0074, oops with java
Mca2030 object oriented programming – c++
Mi0041 java and web design
Java OOP s concepts and buzzwords
Abstract Class In Java | Java Abstract Class Tutorial | Java Tutorial For Beg...
Mit4021 c# and .net
Mca2030 object oriented programming – c++
Bt0074, oops with java
Java buzzwords
Presentation on adapter pattern
Adapter design pattern
Mit4021–%20 c# and .net
Ad

Viewers also liked (20)

PDF
Путевки в Тайланд горящие туры
RTF
There are
PPTX
Preguntas orientadoras
TXT
Fase v
PPTX
Presentación2
PDF
Notice thermoluminescence et osl en archéologie
DOCX
DOC
The Rousing Story of the Queen of Catering Business - Rhona Silver
DOCX
похід вихідного дня 200914
PPTX
Dive Asia Now 2011
TXT
juli_1674
TXT
TXT
I like that my actions
PDF
Tv progammes marcos jonathan
PPTX
Semillas ok
TXT
DOC
Participacion e inclucion de la comunidad a traves de tic
PPTX
Pp bullying
PDF
Codigo ascii.
Путевки в Тайланд горящие туры
There are
Preguntas orientadoras
Fase v
Presentación2
Notice thermoluminescence et osl en archéologie
The Rousing Story of the Queen of Catering Business - Rhona Silver
похід вихідного дня 200914
Dive Asia Now 2011
juli_1674
I like that my actions
Tv progammes marcos jonathan
Semillas ok
Participacion e inclucion de la comunidad a traves de tic
Pp bullying
Codigo ascii.
Ad

Similar to Mit103 object oriented programming (20)

DOCX
Mca 4030 programming in java
DOCX
Bca 4020 java programming
DOCX
Mi0041 java and web design
DOCX
Mit103 object oriented programming
PPTX
Object Oriented concept-JAVA-Module-1-PPT.pptx
PPTX
OOP-JAVA-UNIT-1-PPT updated.pptx object oriented programming language using java
PPTX
java tutorial for beginner - Free Download
PDF
Java Programming.pdf
PPT
Fundamentals of JAVA
PPTX
MODULE_1_The History and Evolution of Java.pptx
PDF
Introduction to Java
PPTX
Java Fundamentals in Mule
DOC
OBJECT ORIENTED PROGRAMMING LANGUAGE - SHORT NOTES
DOCX
198970820 p-oooooooooo
PPTX
Java Introduction
PPT
00 intro to java
PPTX
DOCX
Notes of java first unit
PPT
Java presentation
PPTX
1_Introduction to Java.pptx java programming
Mca 4030 programming in java
Bca 4020 java programming
Mi0041 java and web design
Mit103 object oriented programming
Object Oriented concept-JAVA-Module-1-PPT.pptx
OOP-JAVA-UNIT-1-PPT updated.pptx object oriented programming language using java
java tutorial for beginner - Free Download
Java Programming.pdf
Fundamentals of JAVA
MODULE_1_The History and Evolution of Java.pptx
Introduction to Java
Java Fundamentals in Mule
OBJECT ORIENTED PROGRAMMING LANGUAGE - SHORT NOTES
198970820 p-oooooooooo
Java Introduction
00 intro to java
Notes of java first unit
Java presentation
1_Introduction to Java.pptx java programming

Mit103 object oriented programming

  • 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 ASSIGNMENT PROGRAM Master of Science in Information Technology(MSc IT)Revised Fall 2011 SEMESTER 1 SUBJECT CODE & NAME MIT103- OBJECT ORIENTED PROGRAMMING 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