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
(Prefer mailing. Call in emergency )
ASSIGNMENT
DRIVE SUMMER 2017
PROGRAM Master of Business Administration – MBA
SEMESTER 4
SUBJECT CODE & NAME MI0041 JAVA AND WEB DESIGN
BK ID B2016
CREDITS 4
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.
Question. 1. Define JavaScript and the process of embedding
JavaScript in HTML.
Answer: Embedding JavaScript in HTML
Client-side JavaScript code is embedded within HTML documents in a number of ways:
 Between a pair of <script> and </script> tags
 From an external file specified by the src attribute
Question. 2. Differentiate Break and Continue statements in Java
with example program.
Answer: break leaves a loop, continue jumps to the next iteration.
Break statement:The breakstatementisusedwiththe conditional switchstatementandwiththe do,
for, and while loop statements. When a break statement is encountered inside a loop, the loop is
immediatelyterminatedandthe programcontrol resumesatthe nextstatementfollowing the loop.
Continue statement:Continuestatementworkslike breakbutinsteadof forcingtermination,itforces
the next iteration of the loop to take place and
Question. 3. Describe the life cycle of a servlet.
Answer: A servletlife cycle canbe definedasthe entire processfromitscreationtill the destruction.
The following are the paths followed by a servlet.
 The servlet is initialized by calling the init() method.
 The servlet calls service() method to process a client's request.
 The servlet is terminated by calling the destroy() method.
 Finally, servlet is garbage collected by the garbage collector of the JVM.
Question. 4. What are Applets? What are the restrictions of Applets?
Describe about applet class.
Answer:A Java appletisasmall applicationwhichiswritteninJavaoranotherprogramminglanguage
that compilestoJavabytecodeanddeliveredtousersinthe formof thatbytecode.The userlaunches
the Java appletfromawebpage,andthe appletisthenexecutedwithinaJavaVirtual Machine (JVM)
in a process separate from the web browser itself. A Java applet can appear in a frame of the web
page, a new application window, Sun's AppletViewer, or a stand-alone tool for testing applets. Java
applets were introduced in the first
Question. 5. Compare JDBC and ODBC.
Answer:Typically,software applicationsare writteninaspecificprogramminglanguage (suchasJava,
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 languages to each other (application and database) is required. Otherwise, application
programmers need to learn and incorporate database
Question. 6. Describe about Java Beans.
Answer: In computing based on the Java Platform, JavaBeans are classes that encapsulate many
objects into a single object (the bean). They are serializable,have a zero-argument constructor, and
allowaccesstopropertiesusinggetterandsettermethods.The name"Bean"wasgiventoencompass
this standard, which aims to create reusable software components for Java.
Dear students get fully solved assignments
Send your semester & Specialization name to our mail id :
“ help.mbaassignments@gmail.com ”
or
Call us at : 08263069601
(Prefer mailing. Call in emergency )

More Related Content

DOCX
Mi0041 java and web design
DOC
DOCX
Mi0041 summer-2016
DOCX
Bt0083 server side programming-theory
DOCX
Bt0083 server side programming-theory
PPTX
Getting Started with J2EE, A Roadmap
DOCX
Mi0041 java and web design
PPTX
Java Overview
Mi0041 java and web design
Mi0041 summer-2016
Bt0083 server side programming-theory
Bt0083 server side programming-theory
Getting Started with J2EE, A Roadmap
Mi0041 java and web design
Java Overview

What's hot (17)

PPTX
Java
PPTX
A sneak peek into the similarities and differences between java and java script
PPT
Online gas booking project in java
PDF
Jsp tutorial
DOC
Strayer cis 406 week 10 assignment 2 u grade new
DOC
Strayer cis 406 week 10 assignment 2 u grade new
DOC
Strayer cis 406 week 10 assignment 2 u grade new
DOCX
AkashChopra
PPTX
concept of core java
PDF
Introduction to Loops in Java | For, While, Do While, Infinite Loops | Edureka
PDF
Asp net-mvc-3 tier
PDF
Core java introduction
PPTX
What’s new in Visual Studio 2012 & .NET 4.5
PDF
learn mvc project in 7 day
DOCX
VKV TECHNOLOGIES BEST CORE JAVA TRAINING IN CHENNAI
PPT
J2EE and Servlet
PPTX
online project
Java
A sneak peek into the similarities and differences between java and java script
Online gas booking project in java
Jsp tutorial
Strayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade new
AkashChopra
concept of core java
Introduction to Loops in Java | For, While, Do While, Infinite Loops | Edureka
Asp net-mvc-3 tier
Core java introduction
What’s new in Visual Studio 2012 & .NET 4.5
learn mvc project in 7 day
VKV TECHNOLOGIES BEST CORE JAVA TRAINING IN CHENNAI
J2EE and Servlet
online project
Ad

Similar to Mi0041 java and web design (20)

DOCX
Mca 4030 programming in java
DOCX
Mca 4030 programming in java
DOCX
Mca 4030 programming in java
DOCX
Bca 4020 java programming
DOCX
Mi0041 java and web design
DOCX
Mi0041 java and web design
DOCX
Mi0041 java and web design
DOCX
Bt0074, oops with java
DOCX
Mi0041 java and web design
DOCX
Mi0041 java and web design
DOCX
Bt0074 oop with java
PDF
Bea weblogic job_interview_preparation_guide
PDF
Struts 2 Design and Programming A Tutorial 2nd Edition Budi Kurniawan
PDF
Struts 2 Design and Programming A Tutorial 2nd Edition Budi Kurniawan
DOCX
Mi0041 java and web design
DOC
Strayer cis 406 week 10 assignment 2 u grade new
DOC
Strayer cis 406 week 10 assignment 2 u grade new
DOC
Strayer cis 406 week 10 assignment 2 u grade new
DOC
Strayer cis 406 week 10 assignment 2 u grade new
DOCX
Mi0041 java and web design
Mca 4030 programming in java
Mca 4030 programming in java
Mca 4030 programming in java
Bca 4020 java programming
Mi0041 java and web design
Mi0041 java and web design
Mi0041 java and web design
Bt0074, oops with java
Mi0041 java and web design
Mi0041 java and web design
Bt0074 oop with java
Bea weblogic job_interview_preparation_guide
Struts 2 Design and Programming A Tutorial 2nd Edition Budi Kurniawan
Struts 2 Design and Programming A Tutorial 2nd Edition Budi Kurniawan
Mi0041 java and web design
Strayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade new
Mi0041 java and web design
Ad

Recently uploaded (20)

PDF
Computing-Curriculum for Schools in Ghana
PDF
Trump Administration's workforce development strategy
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
Supply Chain Operations Speaking Notes -ICLT Program
DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
PDF
Complications of Minimal Access Surgery at WLH
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PPTX
master seminar digital applications in india
PDF
Classroom Observation Tools for Teachers
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
PDF
VCE English Exam - Section C Student Revision Booklet
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PPTX
Lesson notes of climatology university.
PPTX
Cell Types and Its function , kingdom of life
Computing-Curriculum for Schools in Ghana
Trump Administration's workforce development strategy
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Supply Chain Operations Speaking Notes -ICLT Program
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
Complications of Minimal Access Surgery at WLH
Abdominal Access Techniques with Prof. Dr. R K Mishra
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Microbial diseases, their pathogenesis and prophylaxis
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
master seminar digital applications in india
Classroom Observation Tools for Teachers
O5-L3 Freight Transport Ops (International) V1.pdf
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
VCE English Exam - Section C Student Revision Booklet
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
Lesson notes of climatology university.
Cell Types and Its function , kingdom of life

Mi0041 java and web design

  • 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 (Prefer mailing. Call in emergency ) ASSIGNMENT DRIVE SUMMER 2017 PROGRAM Master of Business Administration – MBA SEMESTER 4 SUBJECT CODE & NAME MI0041 JAVA AND WEB DESIGN BK ID B2016 CREDITS 4 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. Question. 1. Define JavaScript and the process of embedding JavaScript in HTML. Answer: Embedding JavaScript in HTML Client-side JavaScript code is embedded within HTML documents in a number of ways:  Between a pair of <script> and </script> tags  From an external file specified by the src attribute Question. 2. Differentiate Break and Continue statements in Java with example program. Answer: break leaves a loop, continue jumps to the next iteration. Break statement:The breakstatementisusedwiththe conditional switchstatementandwiththe do, for, and while loop statements. When a break statement is encountered inside a loop, the loop is immediatelyterminatedandthe programcontrol resumesatthe nextstatementfollowing the loop. Continue statement:Continuestatementworkslike breakbutinsteadof forcingtermination,itforces the next iteration of the loop to take place and
  • 2. Question. 3. Describe the life cycle of a servlet. Answer: A servletlife cycle canbe definedasthe entire processfromitscreationtill the destruction. The following are the paths followed by a servlet.  The servlet is initialized by calling the init() method.  The servlet calls service() method to process a client's request.  The servlet is terminated by calling the destroy() method.  Finally, servlet is garbage collected by the garbage collector of the JVM. Question. 4. What are Applets? What are the restrictions of Applets? Describe about applet class. Answer:A Java appletisasmall applicationwhichiswritteninJavaoranotherprogramminglanguage that compilestoJavabytecodeanddeliveredtousersinthe formof thatbytecode.The userlaunches the Java appletfromawebpage,andthe appletisthenexecutedwithinaJavaVirtual Machine (JVM) in a process separate from the web browser itself. A Java applet can appear in a frame of the web page, a new application window, Sun's AppletViewer, or a stand-alone tool for testing applets. Java applets were introduced in the first Question. 5. Compare JDBC and ODBC. Answer:Typically,software applicationsare writteninaspecificprogramminglanguage (suchasJava, 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 languages to each other (application and database) is required. Otherwise, application programmers need to learn and incorporate database Question. 6. Describe about Java Beans. Answer: In computing based on the Java Platform, JavaBeans are classes that encapsulate many objects into a single object (the bean). They are serializable,have a zero-argument constructor, and allowaccesstopropertiesusinggetterandsettermethods.The name"Bean"wasgiventoencompass this standard, which aims to create reusable software components for Java. Dear students get fully solved assignments Send your semester & Specialization name to our mail id : “ help.mbaassignments@gmail.com ” or
  • 3. Call us at : 08263069601 (Prefer mailing. Call in emergency )