SlideShare a Scribd company logo
1 of 3
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

What's hot

Mi0041 java and web design
Mi0041  java and web designMi0041  java and web design
Mi0041 java and web designsmumbahelp
 
Mi0041 java and web design
Mi0041  java and web designMi0041  java and web design
Mi0041 java and web designsmumbahelp
 
Bt8903,c# programming
Bt8903,c# programmingBt8903,c# programming
Bt8903,c# programmingsmumbahelp
 
Bt8903, c# programming
Bt8903, c# programmingBt8903, c# programming
Bt8903, c# programmingsmumbahelp
 
Mca1020 programming in c
Mca1020  programming in cMca1020  programming in c
Mca1020 programming in csmumbahelp
 
Mi0041 java and web design
Mi0041  java and web designMi0041  java and web design
Mi0041 java and web designStudy Stuff
 
Bt0074, oops with java
Bt0074, oops with javaBt0074, oops with java
Bt0074, oops with javasmumbahelp
 
Bt0074, oops with java
Bt0074, oops with javaBt0074, oops with java
Bt0074, oops with javasmumbahelp
 
Mca2030 object oriented programming – c++
Mca2030  object oriented programming – c++Mca2030  object oriented programming – c++
Mca2030 object oriented programming – c++smumbahelp
 
Mi0041 java and web design
Mi0041   java and web designMi0041   java and web design
Mi0041 java and web designsmumbahelp
 
Java OOP s concepts and buzzwords
Java OOP s concepts and buzzwordsJava OOP s concepts and buzzwords
Java OOP s concepts and buzzwordsRaja Sekhar
 
Abstract Class In Java | Java Abstract Class Tutorial | Java Tutorial For Beg...
Abstract Class In Java | Java Abstract Class Tutorial | Java Tutorial For Beg...Abstract Class In Java | Java Abstract Class Tutorial | Java Tutorial For Beg...
Abstract Class In Java | Java Abstract Class Tutorial | Java Tutorial For Beg...Simplilearn
 
Mit4021 c# and .net
Mit4021   c# and .netMit4021   c# and .net
Mit4021 c# and .netsmumbahelp
 
Mca2030 object oriented programming – c++
Mca2030  object oriented programming – c++Mca2030  object oriented programming – c++
Mca2030 object oriented programming – c++smumbahelp
 
Bt0074, oops with java
Bt0074, oops with javaBt0074, oops with java
Bt0074, oops with javasmumbahelp
 
Java buzzwords
Java buzzwordsJava buzzwords
Java buzzwordsramesh517
 
Presentation on adapter pattern
Presentation on adapter patternPresentation on adapter pattern
Presentation on adapter patternTanim Ahmed
 
Adapter design pattern
Adapter design pattern Adapter design pattern
Adapter design pattern manik_114
 
Mit4021–%20 c# and .net
Mit4021–%20 c# and .netMit4021–%20 c# and .net
Mit4021–%20 c# and .netsmumbahelp
 

What's hot (19)

Mi0041 java and web design
Mi0041  java and web designMi0041  java and web design
Mi0041 java and web design
 
Mi0041 java and web design
Mi0041  java and web designMi0041  java and web design
Mi0041 java and web design
 
Bt8903,c# programming
Bt8903,c# programmingBt8903,c# programming
Bt8903,c# programming
 
Bt8903, c# programming
Bt8903, c# programmingBt8903, c# programming
Bt8903, c# programming
 
Mca1020 programming in c
Mca1020  programming in cMca1020  programming in c
Mca1020 programming in c
 
Mi0041 java and web design
Mi0041  java and web designMi0041  java and web design
Mi0041 java and web design
 
Bt0074, oops with java
Bt0074, oops with javaBt0074, oops with java
Bt0074, oops with java
 
Bt0074, oops with java
Bt0074, oops with javaBt0074, oops with java
Bt0074, oops with java
 
Mca2030 object oriented programming – c++
Mca2030  object oriented programming – c++Mca2030  object oriented programming – c++
Mca2030 object oriented programming – c++
 
Mi0041 java and web design
Mi0041   java and web designMi0041   java and web design
Mi0041 java and web design
 
Java OOP s concepts and buzzwords
Java OOP s concepts and buzzwordsJava OOP s concepts and buzzwords
Java OOP s concepts and buzzwords
 
Abstract Class In Java | Java Abstract Class Tutorial | Java Tutorial For Beg...
Abstract Class In Java | Java Abstract Class Tutorial | Java Tutorial For Beg...Abstract Class In Java | Java Abstract Class Tutorial | Java Tutorial For Beg...
Abstract Class In Java | Java Abstract Class Tutorial | Java Tutorial For Beg...
 
Mit4021 c# and .net
Mit4021   c# and .netMit4021   c# and .net
Mit4021 c# and .net
 
Mca2030 object oriented programming – c++
Mca2030  object oriented programming – c++Mca2030  object oriented programming – c++
Mca2030 object oriented programming – c++
 
Bt0074, oops with java
Bt0074, oops with javaBt0074, oops with java
Bt0074, oops with java
 
Java buzzwords
Java buzzwordsJava buzzwords
Java buzzwords
 
Presentation on adapter pattern
Presentation on adapter patternPresentation on adapter pattern
Presentation on adapter pattern
 
Adapter design pattern
Adapter design pattern Adapter design pattern
Adapter design pattern
 
Mit4021–%20 c# and .net
Mit4021–%20 c# and .netMit4021–%20 c# and .net
Mit4021–%20 c# and .net
 

Viewers also liked

Путевки в Тайланд горящие туры
Путевки в Тайланд горящие турыПутевки в Тайланд горящие туры
Путевки в Тайланд горящие турыPicky Trips
 
Preguntas orientadoras
Preguntas orientadorasPreguntas orientadoras
Preguntas orientadorasLuis Lagos P.
 
Notice thermoluminescence et osl en archéologie
Notice thermoluminescence et osl en archéologieNotice thermoluminescence et osl en archéologie
Notice thermoluminescence et osl en archéologieres-artes
 
The Rousing Story of the Queen of Catering Business - Rhona Silver
The Rousing Story of the Queen of Catering Business - Rhona SilverThe Rousing Story of the Queen of Catering Business - Rhona Silver
The Rousing Story of the Queen of Catering Business - Rhona SilverRhona Silver
 
Dive Asia Now 2011
Dive Asia Now 2011Dive Asia Now 2011
Dive Asia Now 2011diveasianow
 
Tv progammes marcos jonathan
Tv progammes marcos jonathanTv progammes marcos jonathan
Tv progammes marcos jonathantokieder
 
Semillas ok
Semillas okSemillas ok
Semillas okUNAM
 
Participacion e inclucion de la comunidad a traves de tic
Participacion e inclucion de la comunidad a traves de ticParticipacion e inclucion de la comunidad a traves de tic
Participacion e inclucion de la comunidad a traves de ticmanuelfonseca571
 

Viewers also liked (20)

Путевки в Тайланд горящие туры
Путевки в Тайланд горящие турыПутевки в Тайланд горящие туры
Путевки в Тайланд горящие туры
 
There are
There areThere are
There are
 
Preguntas orientadoras
Preguntas orientadorasPreguntas orientadoras
Preguntas orientadoras
 
Fase v
Fase vFase v
Fase v
 
Presentación2
Presentación2Presentación2
Presentación2
 
Sqlite
SqliteSqlite
Sqlite
 
Notice thermoluminescence et osl en archéologie
Notice thermoluminescence et osl en archéologieNotice thermoluminescence et osl en archéologie
Notice thermoluminescence et osl en archéologie
 
Intro
IntroIntro
Intro
 
The Rousing Story of the Queen of Catering Business - Rhona Silver
The Rousing Story of the Queen of Catering Business - Rhona SilverThe Rousing Story of the Queen of Catering Business - Rhona Silver
The Rousing Story of the Queen of Catering Business - Rhona Silver
 
похід вихідного дня 200914
похід вихідного дня 200914похід вихідного дня 200914
похід вихідного дня 200914
 
Dive Asia Now 2011
Dive Asia Now 2011Dive Asia Now 2011
Dive Asia Now 2011
 
juli_1674
juli_1674juli_1674
juli_1674
 
Linck
LinckLinck
Linck
 
I like that my actions
I like that my actionsI like that my actions
I like that my actions
 
Tv progammes marcos jonathan
Tv progammes marcos jonathanTv progammes marcos jonathan
Tv progammes marcos jonathan
 
Semillas ok
Semillas okSemillas ok
Semillas ok
 
Readme
ReadmeReadme
Readme
 
Participacion e inclucion de la comunidad a traves de tic
Participacion e inclucion de la comunidad a traves de ticParticipacion e inclucion de la comunidad a traves de tic
Participacion e inclucion de la comunidad a traves de tic
 
Pp bullying
Pp bullyingPp bullying
Pp bullying
 
Codigo ascii.
Codigo ascii.Codigo ascii.
Codigo ascii.
 

Similar to Mit103 object oriented programming

Similar to Mit103 object oriented programming (20)

Mca 4030 programming in java
Mca 4030   programming in javaMca 4030   programming in java
Mca 4030 programming in java
 
Bca 4020 java programming
Bca 4020   java programmingBca 4020   java programming
Bca 4020 java programming
 
Mit103 object oriented programming
Mit103  object oriented programmingMit103  object oriented programming
Mit103 object oriented programming
 
Mi0041 java and web design
Mi0041   java and web designMi0041   java and web design
Mi0041 java and web design
 
Viva file
Viva fileViva file
Viva file
 
Java for C++ programers
Java for C++ programersJava for C++ programers
Java for C++ programers
 
Classes and Objects
Classes and ObjectsClasses and Objects
Classes and Objects
 
Sybsc cs sem 3 core java
Sybsc cs sem 3 core javaSybsc cs sem 3 core java
Sybsc cs sem 3 core java
 
00 intro to java
00 intro to java00 intro to java
00 intro to java
 
C# interview
C# interviewC# interview
C# interview
 
Professional-core-java-training
Professional-core-java-trainingProfessional-core-java-training
Professional-core-java-training
 
Professional-core-java-training
Professional-core-java-trainingProfessional-core-java-training
Professional-core-java-training
 
Mcs 024 assignment solution (2020-21)
Mcs 024 assignment solution (2020-21)Mcs 024 assignment solution (2020-21)
Mcs 024 assignment solution (2020-21)
 
Bt0074 oops with java2
Bt0074 oops with java2Bt0074 oops with java2
Bt0074 oops with java2
 
JAVA VIVA QUESTIONS_CODERS LODGE.pdf
JAVA VIVA QUESTIONS_CODERS LODGE.pdfJAVA VIVA QUESTIONS_CODERS LODGE.pdf
JAVA VIVA QUESTIONS_CODERS LODGE.pdf
 
Java1
Java1Java1
Java1
 
Java
Java Java
Java
 
C# interview-questions
C# interview-questionsC# interview-questions
C# interview-questions
 
Core java part1
Core java  part1Core java  part1
Core java part1
 
Synapse India Reviews
Synapse India ReviewsSynapse India Reviews
Synapse India Reviews
 

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