SlideShare uma empresa Scribd logo
1 de 3
Dear students get fully solved SMU MBA 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 WINTER DRIVE 2014
PROGRAM MBADS (SEM 4/SEM 6)MBAFLEX/ MBA (SEM 4) PGDISMN (SEM
2)
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.
Q. 1. Explain the elements of HTML document structure
Answer: AnHTML elementisanindividual componentof anHTML documentor webpage,once this
has been parsed into the Document Object Model. HTML is composed of a tree of HTML elements
and other nodes, such as text nodes. Each element can have HTML attributes specified. Elements
can also have content, including other elements and text. HTML elements represent semantics, or
meaning. For example, the title element represents the title of the document.
 <header>:Introductionof anarticle,anothersectionor the entire document (header page).
Typically the header of a web site that appears on top of each page, or a header of a long
<article> or of a long <section>
 <footer>: Contains the footer of a site,
Q. 2. What are packages and what role do they play in Java? Also, discuss the various in-built
packages provided by Java.
Answer: A package allowsa developertogroupclasses(andinterfaces) together. These classes will
all be relatedinsome way – they might all be to do with a specific application or perform a specific
set of tasks. For example, the Java API is full of packages. One of them is the javax.xml package. It
and its subpackages contain all the classes in the Java API to do with handling XML.
A package is a group of .class files.
Q. 3. Write a short note on
a. Special operators: Anoperatoris a symbol whichhelps the user to command the computer to do
a certain mathematical or logical manipulations. Operators are used in Java language program to
operate on data and variables. Java has a rich set of operators which can be classified as
(1) ArithmeticOperators: All the basic arithmetic operations can be carried out in Java. All the
operators have almost the same meaning as in other languages. Both unary and binary
operations are available in
b. Operator precedence and associativity
Answer: If more than one operators are involved in an expression then, C language has predefined
rule of priority of operators. This rule of priority of operators is called operator precedence.
In C, precedence of arithmetic operators(*,%,/,+,-) is higher than relational
operators(==,!=,>,<,>=,<=) and precedence of relational operator is higher than logical
operators(&&, || and !).
Q. 4. Explain dynamic polymorphism with an example of Java program
Answer: Staticbindingandstaticpolymorphism is achieved through method overloading. Dynamic
polymorphism is also called as the run time polymorphism.
As we mentionedearlierwhile definingpolymorphismthatpolymorphismmeansthere are multiple
definitionsof asingle method.Thatmeansa methodwithsame name is defined multiple times in a
program. In dynamic polymorphism, if we make a call to such a multiple times defined method in
our code thenwhichdefinitionof thatmethodistobe calledactuallyandexecutedisresolvedatrun
time only.
Q. 5. Explain the classes in Abstract Window Toolkit.
Answer: The Java programming language class library provides a user interface toolkit called the
Abstract Windowing Toolkit, or the AWT. The AWT is both powerful and flexible. Newcomers,
however, often find that its power is veiled. The class and method descriptions found in the
distributed documentation provide little guidance for the new programmer. Furthermore, the
available examples often leave many important questions unanswered. Of course, newcomers
shouldexpectsome difficulty.Effective graphical userinterfacesare inherentlychallengingtodesign
and implement, and the sometimes
Q. 6. Explain the servlet lifecycle with an example
Answer: A servlet follows a certain life cycle. The servlet life cycle is managed by the servlet
container. The life cycle contains the following steps:
Load Servlet Class.
Create Instance of Servlet.
Call the servlets init() method.
Call the servlets service() method.
Call the servlets destroy() method.
Dear students get fully solved SMU MBA assignments
Send your semester & Specialization name to our mail id :
“ help.mbaassignments@gmail.com ”
or
Call us at : 08263069601
(Prefer mailing. Call in emergency )

Mais conteúdo relacionado

Mais procurados

Bt0074 oop with java
Bt0074   oop with javaBt0074   oop with java
Bt0074 oop with java
smumbahelp
 
Bt8903, c# programming
Bt8903, c# programmingBt8903, c# programming
Bt8903, c# programming
smumbahelp
 

Mais procurados (20)

Bt0074 oop with java
Bt0074   oop with javaBt0074   oop with java
Bt0074 oop with java
 
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
 
Bt0074, oops with java
Bt0074, oops with javaBt0074, oops with java
Bt0074, oops with java
 
Bt8903,c# programming
Bt8903,c# programmingBt8903,c# programming
Bt8903,c# programming
 
Bt0074
Bt0074Bt0074
Bt0074
 
Presentation c
Presentation cPresentation c
Presentation c
 
Procedural vs. object oriented programming
Procedural vs. object oriented programmingProcedural vs. object oriented programming
Procedural vs. object oriented programming
 
Oops And C++ Fundamentals
Oops And C++ FundamentalsOops And C++ Fundamentals
Oops And C++ Fundamentals
 
Bt8903, c# programming
Bt8903, c# programmingBt8903, c# programming
Bt8903, c# programming
 
Mca2030 object oriented programming – c++
Mca2030  object oriented programming – c++Mca2030  object oriented programming – c++
Mca2030 object oriented programming – c++
 
Object Oriented Programming in Java _lecture 1
Object Oriented Programming in Java _lecture 1Object Oriented Programming in Java _lecture 1
Object Oriented Programming in Java _lecture 1
 
Polymorphism
PolymorphismPolymorphism
Polymorphism
 
Unit 2
Unit 2Unit 2
Unit 2
 
OOP in Java
OOP in JavaOOP in Java
OOP in Java
 
Mca2030 object oriented programming – c++
Mca2030  object oriented programming – c++Mca2030  object oriented programming – c++
Mca2030 object oriented programming – c++
 
Object Oriented Principles
Object Oriented PrinciplesObject Oriented Principles
Object Oriented Principles
 
Unusual C# - OOP
Unusual C# - OOPUnusual C# - OOP
Unusual C# - OOP
 
20. Object-Oriented Programming Fundamental Principles
20. Object-Oriented Programming Fundamental Principles20. Object-Oriented Programming Fundamental Principles
20. Object-Oriented Programming Fundamental Principles
 
Final keyword in java
Final keyword in javaFinal keyword in java
Final keyword in java
 

Semelhante a Mi0041 java and web design

Mca1020 programming in c
Mca1020  programming in cMca1020  programming in c
Mca1020 programming in c
smumbahelp
 
The Java Learning Kit Chapter 5 – Methods and Modular.docx
The Java Learning Kit Chapter 5 – Methods and Modular.docxThe Java Learning Kit Chapter 5 – Methods and Modular.docx
The Java Learning Kit Chapter 5 – Methods and Modular.docx
arnoldmeredith47041
 
INDUMATHY- UNIT 1 cs3391 oops introduction to oop and java.pptx
INDUMATHY- UNIT 1 cs3391 oops introduction to oop and java.pptxINDUMATHY- UNIT 1 cs3391 oops introduction to oop and java.pptx
INDUMATHY- UNIT 1 cs3391 oops introduction to oop and java.pptx
Indu65
 
Bca1020 programming in c
Bca1020  programming in cBca1020  programming in c
Bca1020 programming in c
smumbahelp
 

Semelhante a Mi0041 java and web design (20)

Mca1020 programming in c
Mca1020  programming in cMca1020  programming in c
Mca1020 programming in c
 
Mca 4030 programming in java
Mca 4030   programming in javaMca 4030   programming in java
Mca 4030 programming in java
 
The Java Learning Kit Chapter 5 – Methods and Modular.docx
The Java Learning Kit Chapter 5 – Methods and Modular.docxThe Java Learning Kit Chapter 5 – Methods and Modular.docx
The Java Learning Kit Chapter 5 – Methods and Modular.docx
 
Bca1020 programming in c
Bca1020  programming in cBca1020  programming in c
Bca1020 programming in c
 
INDUMATHY- UNIT 1 cs3391 oops introduction to oop and java.pptx
INDUMATHY- UNIT 1 cs3391 oops introduction to oop and java.pptxINDUMATHY- UNIT 1 cs3391 oops introduction to oop and java.pptx
INDUMATHY- UNIT 1 cs3391 oops introduction to oop and java.pptx
 
Bca1020 programming in c
Bca1020  programming in cBca1020  programming in c
Bca1020 programming in c
 
01slide
01slide01slide
01slide
 
01slide
01slide01slide
01slide
 
01slide
01slide01slide
01slide
 
java tr.docx
java tr.docxjava tr.docx
java tr.docx
 
Bca 4020 java programming
Bca 4020   java programmingBca 4020   java programming
Bca 4020 java programming
 
Core java-introduction
Core java-introductionCore java-introduction
Core java-introduction
 
Mit103 object oriented programming
Mit103  object oriented programmingMit103  object oriented programming
Mit103 object oriented programming
 
Viva file
Viva fileViva file
Viva file
 
Mit4021–%20 c# and .net
Mit4021–%20 c# and .netMit4021–%20 c# and .net
Mit4021–%20 c# and .net
 
Java syntax-and-grammars-oct8
Java syntax-and-grammars-oct8Java syntax-and-grammars-oct8
Java syntax-and-grammars-oct8
 
Cis 406 Technology levels--snaptutorial.com
Cis 406 Technology levels--snaptutorial.comCis 406 Technology levels--snaptutorial.com
Cis 406 Technology levels--snaptutorial.com
 
Cis 406 Success Begins / snaptutorial.com
Cis 406 Success Begins / snaptutorial.comCis 406 Success Begins / snaptutorial.com
Cis 406 Success Begins / snaptutorial.com
 
Cis 406 Enthusiastic Study - snaptutorial.com
Cis 406 Enthusiastic Study - snaptutorial.comCis 406 Enthusiastic Study - snaptutorial.com
Cis 406 Enthusiastic Study - snaptutorial.com
 
CIS 406 Inspiring Innovation/tutorialrank.com
 CIS 406 Inspiring Innovation/tutorialrank.com CIS 406 Inspiring Innovation/tutorialrank.com
CIS 406 Inspiring Innovation/tutorialrank.com
 

Mi0041 java and web design

  • 1. Dear students get fully solved SMU MBA 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 WINTER DRIVE 2014 PROGRAM MBADS (SEM 4/SEM 6)MBAFLEX/ MBA (SEM 4) PGDISMN (SEM 2) 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. Q. 1. Explain the elements of HTML document structure Answer: AnHTML elementisanindividual componentof anHTML documentor webpage,once this has been parsed into the Document Object Model. HTML is composed of a tree of HTML elements and other nodes, such as text nodes. Each element can have HTML attributes specified. Elements can also have content, including other elements and text. HTML elements represent semantics, or meaning. For example, the title element represents the title of the document.  <header>:Introductionof anarticle,anothersectionor the entire document (header page). Typically the header of a web site that appears on top of each page, or a header of a long <article> or of a long <section>  <footer>: Contains the footer of a site, Q. 2. What are packages and what role do they play in Java? Also, discuss the various in-built packages provided by Java. Answer: A package allowsa developertogroupclasses(andinterfaces) together. These classes will all be relatedinsome way – they might all be to do with a specific application or perform a specific set of tasks. For example, the Java API is full of packages. One of them is the javax.xml package. It and its subpackages contain all the classes in the Java API to do with handling XML. A package is a group of .class files.
  • 2. Q. 3. Write a short note on a. Special operators: Anoperatoris a symbol whichhelps the user to command the computer to do a certain mathematical or logical manipulations. Operators are used in Java language program to operate on data and variables. Java has a rich set of operators which can be classified as (1) ArithmeticOperators: All the basic arithmetic operations can be carried out in Java. All the operators have almost the same meaning as in other languages. Both unary and binary operations are available in b. Operator precedence and associativity Answer: If more than one operators are involved in an expression then, C language has predefined rule of priority of operators. This rule of priority of operators is called operator precedence. In C, precedence of arithmetic operators(*,%,/,+,-) is higher than relational operators(==,!=,>,<,>=,<=) and precedence of relational operator is higher than logical operators(&&, || and !). Q. 4. Explain dynamic polymorphism with an example of Java program Answer: Staticbindingandstaticpolymorphism is achieved through method overloading. Dynamic polymorphism is also called as the run time polymorphism. As we mentionedearlierwhile definingpolymorphismthatpolymorphismmeansthere are multiple definitionsof asingle method.Thatmeansa methodwithsame name is defined multiple times in a program. In dynamic polymorphism, if we make a call to such a multiple times defined method in our code thenwhichdefinitionof thatmethodistobe calledactuallyandexecutedisresolvedatrun time only. Q. 5. Explain the classes in Abstract Window Toolkit. Answer: The Java programming language class library provides a user interface toolkit called the Abstract Windowing Toolkit, or the AWT. The AWT is both powerful and flexible. Newcomers, however, often find that its power is veiled. The class and method descriptions found in the distributed documentation provide little guidance for the new programmer. Furthermore, the available examples often leave many important questions unanswered. Of course, newcomers shouldexpectsome difficulty.Effective graphical userinterfacesare inherentlychallengingtodesign and implement, and the sometimes Q. 6. Explain the servlet lifecycle with an example Answer: A servlet follows a certain life cycle. The servlet life cycle is managed by the servlet container. The life cycle contains the following steps: Load Servlet Class. Create Instance of Servlet. Call the servlets init() method. Call the servlets service() method. Call the servlets destroy() method.
  • 3. Dear students get fully solved SMU MBA assignments Send your semester & Specialization name to our mail id : “ help.mbaassignments@gmail.com ” or Call us at : 08263069601 (Prefer mailing. Call in emergency )