SlideShare a Scribd company logo
1 of 4
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
DRIVE SPRING DRIVE 2015
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. a. List the features of web browsers with simple explanation
b. What is a TLD? Explain various commonly used TLDs.
a. List the features of web browsers with simple explanation
Answer:Important browser feature:
 The Web browser should be able to look at the Web pages throughout Internet or to
connect to various sites to access


b. What is a TLD? Explain various commonly used TLDs.
Answer: The TLD is the last part of a domain name and is usually between two and four letters.
When you purchase a domain through Wix.com, you can choose from several different TLDs. Each
TLD hasits ownbenefits,sobe sure tochoose the one that best suits your business and website, in
additiontochoosingthe rightdomainname.Before yourregisteryournew domain,take some time
to learn about the different TLD options and choose the one that makes the most sense for your
business.
Q. 2. What are packages and what role do they play in Java? Also, discuss the various in-built
packages provided by Java.
Answer:Answer: A package allows a developer to group classes (and interfaces) together. These
classeswill all be relatedinsome way –theymightall be to do witha specificapplicationor 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.
Q. 3. Write short notes on
a. Cascading style sheets:CascadingStyle Sheets(CSS) is a style sheet language used for describing
the look and formatting of a document written in a markup language. While most often used to
change the style of webpagesand userinterfaces written in HTML and XHTML, the language can be
applied to any kind of XML document, including plain XML, SVG and XUL. Along with HTML and
JavaScript, CSS is a cornerstone technology used by most websites to create visually engaging
webpages,user interfaces for web applications, and user interfaces for many mobile applications.
b. Javascript: JavaScript, also known as ECMAScript (the untrademarked name used for the
standard),isa dynamic programming language. It is most commonly used as part of web browsers,
whose implementations allow client-side scripts to interact with the user, control the browser,
communicate asynchronously, and alter the document content that is displayed. It is also used in
server-sidenetworkprogrammingwithruntime environments such as Node.js, game development
and the creation of
Q. 4. Write the description of the following methods of the StringBuffer Class
Answer:The StringBufferandStringBuilder classes are used when there is a necessity to make a lot
of modifications to Strings of characters. Unlike Strings objects of type StringBuffer and
Stringbuilder can be modified over and over again with out leaving behind a lot of new unused
objects. The
a. StringBuffer append (char ch[], intstart_index, int length):int length() Returns the length
(charactercount) of thisstringbuffer.publicintlength():isusedtoreturn the length of the string i.e.
total number of characters.publicint length()
b. StringBufferappend(doubled):Appendsthe stringrepresentation of the double argument to this
sequence.
The overall effect is exactly as if the argument were converted to a string by the method
String.valueOf(double), and the characters of that string were then appended to this character
c. Void ensureCapacity(intcapacity):StringBuffer(int capacity): creates an empty string buffer with
the specified capacity as length.publicint capacity()
Returns the current
d. stringBuffer insert(int index, char ch[ ], intstart_index, int length):public StringBuffer insert(int
offset,
double d)
e. void setChatAt (int index, char ch):setCharAt(int index, char ch) The character at the specified
index is set to ch.
public void setCharAt(int index,
charch)
The character at
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
should expect some
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.
Step1, 2 and 3 are executedonlyonce,whenthe servlet is initially loaded. By default the servlet is
not loaded
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 (19)

Smu bscit sem 3 winter 2014 assignments
Smu bscit sem 3 winter 2014 assignmentsSmu bscit sem 3 winter 2014 assignments
Smu bscit sem 3 winter 2014 assignments
 
Bt0087 wml and wap programing2
Bt0087 wml and wap programing2Bt0087 wml and wap programing2
Bt0087 wml and wap programing2
 
Scripting languages
Scripting languagesScripting languages
Scripting languages
 
Mit103 object oriented programming
Mit103  object oriented programmingMit103  object oriented programming
Mit103 object oriented programming
 
Why coding convention ?
Why coding convention ?Why coding convention ?
Why coding convention ?
 
Java script
Java scriptJava script
Java script
 
Vbscript
VbscriptVbscript
Vbscript
 
73d32 session1 c++
73d32 session1 c++73d32 session1 c++
73d32 session1 c++
 
Html javascript
Html javascriptHtml javascript
Html javascript
 
Meta Languages Railroad Diagrams Student Version
Meta Languages Railroad Diagrams Student VersionMeta Languages Railroad Diagrams Student Version
Meta Languages Railroad Diagrams Student Version
 
Cp 111 lecture 3
Cp 111 lecture 3Cp 111 lecture 3
Cp 111 lecture 3
 
Client side scripting and server side scripting
Client side scripting and server side scriptingClient side scripting and server side scripting
Client side scripting and server side scripting
 
Margareth lota
Margareth lotaMargareth lota
Margareth lota
 
ChatCrypt
ChatCryptChatCrypt
ChatCrypt
 
Mca5010 web technologies-de
Mca5010   web technologies-deMca5010   web technologies-de
Mca5010 web technologies-de
 
Jms
JmsJms
Jms
 
Jms intro
Jms introJms intro
Jms intro
 
Client side scripting
Client side scriptingClient side scripting
Client side scripting
 
Ruby
RubyRuby
Ruby
 

Viewers also liked

Mi0040 – technology management
Mi0040 – technology managementMi0040 – technology management
Mi0040 – technology managementsmumbahelp
 
Mi0039 e-commerce
Mi0039  e-commerceMi0039  e-commerce
Mi0039 e-commercesmumbahelp
 
The book’s day at school montpellier
The book’s day at school montpellierThe book’s day at school montpellier
The book’s day at school montpelliergonzalodelrey
 
Energías alternativas trabajo final
Energías alternativas   trabajo finalEnergías alternativas   trabajo final
Energías alternativas trabajo finalnuevastecnologias8
 
2mitos de la sexualidad femenina
2mitos de la sexualidad femenina2mitos de la sexualidad femenina
2mitos de la sexualidad femeninaMarilety1
 
Her MTA Policy Proposal(overview)
Her MTA Policy Proposal(overview)Her MTA Policy Proposal(overview)
Her MTA Policy Proposal(overview)Jeszenia Jimenez
 
Teknikmenjawab1511 121013053833-phpapp01
Teknikmenjawab1511 121013053833-phpapp01Teknikmenjawab1511 121013053833-phpapp01
Teknikmenjawab1511 121013053833-phpapp01Nor Zawani Halim
 
34173761 latihan-titian-cemerlang-chapter-1
34173761 latihan-titian-cemerlang-chapter-134173761 latihan-titian-cemerlang-chapter-1
34173761 latihan-titian-cemerlang-chapter-1Nor Zawani Halim
 
Trauma ultrasound
Trauma ultrasoundTrauma ultrasound
Trauma ultrasoundnswhems
 
Tips for writing a cv
Tips for writing a cvTips for writing a cv
Tips for writing a cvRosa Domingo
 
Plano marketing bbom_marco_2013
Plano marketing bbom_marco_2013Plano marketing bbom_marco_2013
Plano marketing bbom_marco_2013rmessias
 
Constru it c
Constru it   cConstru it   c
Constru it cconstruit
 
220255117 skema-sains-ppt-tingkatan-3-perak-2010-4
220255117 skema-sains-ppt-tingkatan-3-perak-2010-4220255117 skema-sains-ppt-tingkatan-3-perak-2010-4
220255117 skema-sains-ppt-tingkatan-3-perak-2010-4Nor Zawani Halim
 
Seven problems of Linux Containers
Seven problems of Linux ContainersSeven problems of Linux Containers
Seven problems of Linux ContainersKirill Kolyshkin
 
Empaque y Embalaje Generalidades
Empaque y Embalaje GeneralidadesEmpaque y Embalaje Generalidades
Empaque y Embalaje GeneralidadesNicolas Pedraza
 

Viewers also liked (20)

Mi0040 – technology management
Mi0040 – technology managementMi0040 – technology management
Mi0040 – technology management
 
Mi0039 e-commerce
Mi0039  e-commerceMi0039  e-commerce
Mi0039 e-commerce
 
The book’s day at school montpellier
The book’s day at school montpellierThe book’s day at school montpellier
The book’s day at school montpellier
 
Energías alternativas trabajo final
Energías alternativas   trabajo finalEnergías alternativas   trabajo final
Energías alternativas trabajo final
 
2mitos de la sexualidad femenina
2mitos de la sexualidad femenina2mitos de la sexualidad femenina
2mitos de la sexualidad femenina
 
Her MTA Policy Proposal(overview)
Her MTA Policy Proposal(overview)Her MTA Policy Proposal(overview)
Her MTA Policy Proposal(overview)
 
El tutor virtual
El tutor virtualEl tutor virtual
El tutor virtual
 
Toxicidad por contaminacion
Toxicidad por contaminacionToxicidad por contaminacion
Toxicidad por contaminacion
 
Guia de aprendizaje_taller_2_febrero_2013
Guia de aprendizaje_taller_2_febrero_2013Guia de aprendizaje_taller_2_febrero_2013
Guia de aprendizaje_taller_2_febrero_2013
 
Teknikmenjawab1511 121013053833-phpapp01
Teknikmenjawab1511 121013053833-phpapp01Teknikmenjawab1511 121013053833-phpapp01
Teknikmenjawab1511 121013053833-phpapp01
 
34173761 latihan-titian-cemerlang-chapter-1
34173761 latihan-titian-cemerlang-chapter-134173761 latihan-titian-cemerlang-chapter-1
34173761 latihan-titian-cemerlang-chapter-1
 
Trauma ultrasound
Trauma ultrasoundTrauma ultrasound
Trauma ultrasound
 
Tips for writing a cv
Tips for writing a cvTips for writing a cv
Tips for writing a cv
 
The job interview
The job interviewThe job interview
The job interview
 
Plano marketing bbom_marco_2013
Plano marketing bbom_marco_2013Plano marketing bbom_marco_2013
Plano marketing bbom_marco_2013
 
Constru it c
Constru it   cConstru it   c
Constru it c
 
220255117 skema-sains-ppt-tingkatan-3-perak-2010-4
220255117 skema-sains-ppt-tingkatan-3-perak-2010-4220255117 skema-sains-ppt-tingkatan-3-perak-2010-4
220255117 skema-sains-ppt-tingkatan-3-perak-2010-4
 
Seven problems of Linux Containers
Seven problems of Linux ContainersSeven problems of Linux Containers
Seven problems of Linux Containers
 
Empaque y Embalaje Generalidades
Empaque y Embalaje GeneralidadesEmpaque y Embalaje Generalidades
Empaque y Embalaje Generalidades
 
Conceptos
Conceptos Conceptos
Conceptos
 

Similar to Mi0041 java and web design

Bt0074 oop with java
Bt0074   oop with javaBt0074   oop with java
Bt0074 oop with javasmumbahelp
 
Bca 4020 java programming
Bca 4020   java programmingBca 4020   java programming
Bca 4020 java programmingsmumbahelp
 
Presentation - Course about JavaFX
Presentation - Course about JavaFXPresentation - Course about JavaFX
Presentation - Course about JavaFXTom Mix Petreca
 
Bca6011 advanced web design
Bca6011 advanced web designBca6011 advanced web design
Bca6011 advanced web designsmumbahelp
 
Bca5020 visual programming
Bca5020  visual programmingBca5020  visual programming
Bca5020 visual programmingsmumbahelp
 
Bca5020 visual programming
Bca5020  visual programmingBca5020  visual programming
Bca5020 visual programmingsmumbahelp
 
Mca 4030 programming in java
Mca 4030   programming in javaMca 4030   programming in java
Mca 4030 programming in javasmumbahelp
 
Programming languages asp.net
Programming languages asp.netProgramming languages asp.net
Programming languages asp.netVasilios Kuznos
 
Bt8903, c# programming
Bt8903, c# programmingBt8903, c# programming
Bt8903, c# programmingsmumbahelp
 
Mca 4030 programming in java
Mca 4030   programming in javaMca 4030   programming in java
Mca 4030 programming in javasmumbahelp
 
8.-Javascript-report powerpoint presentation
8.-Javascript-report powerpoint presentation8.-Javascript-report powerpoint presentation
8.-Javascript-report powerpoint presentationJohnLagman3
 
Visual Studio.NET
Visual Studio.NETVisual Studio.NET
Visual Studio.NETsalonityagi
 
Smoothing Your Java with DSLs
Smoothing Your Java with DSLsSmoothing Your Java with DSLs
Smoothing Your Java with DSLsintelliyole
 
Unit 1 - TypeScript & Introduction to Angular CLI.pptx
Unit 1 - TypeScript & Introduction to Angular CLI.pptxUnit 1 - TypeScript & Introduction to Angular CLI.pptx
Unit 1 - TypeScript & Introduction to Angular CLI.pptxMalla Reddy University
 
Mi0041 java and web design
Mi0041   java and web designMi0041   java and web design
Mi0041 java and web designsmumbahelp
 
Advanced Qtp Book
Advanced Qtp BookAdvanced Qtp Book
Advanced Qtp Bookguestd9317c
 

Similar to Mi0041 java and web design (20)

Bt0074 oop with java
Bt0074   oop with javaBt0074   oop with java
Bt0074 oop with java
 
Basics1
Basics1Basics1
Basics1
 
Bca 4020 java programming
Bca 4020   java programmingBca 4020   java programming
Bca 4020 java programming
 
Presentation - Course about JavaFX
Presentation - Course about JavaFXPresentation - Course about JavaFX
Presentation - Course about JavaFX
 
Bca6011 advanced web design
Bca6011 advanced web designBca6011 advanced web design
Bca6011 advanced web design
 
Bca5020 visual programming
Bca5020  visual programmingBca5020  visual programming
Bca5020 visual programming
 
Bca5020 visual programming
Bca5020  visual programmingBca5020  visual programming
Bca5020 visual programming
 
Mca 4030 programming in java
Mca 4030   programming in javaMca 4030   programming in java
Mca 4030 programming in java
 
Programming languages asp.net
Programming languages asp.netProgramming languages asp.net
Programming languages asp.net
 
Bt8903, c# programming
Bt8903, c# programmingBt8903, c# programming
Bt8903, c# programming
 
Mca 4030 programming in java
Mca 4030   programming in javaMca 4030   programming in java
Mca 4030 programming in java
 
8.-Javascript-report powerpoint presentation
8.-Javascript-report powerpoint presentation8.-Javascript-report powerpoint presentation
8.-Javascript-report powerpoint presentation
 
Java Script
Java ScriptJava Script
Java Script
 
Visual Studio.NET
Visual Studio.NETVisual Studio.NET
Visual Studio.NET
 
Smoothing Your Java with DSLs
Smoothing Your Java with DSLsSmoothing Your Java with DSLs
Smoothing Your Java with DSLs
 
Unit 1 - TypeScript & Introduction to Angular CLI.pptx
Unit 1 - TypeScript & Introduction to Angular CLI.pptxUnit 1 - TypeScript & Introduction to Angular CLI.pptx
Unit 1 - TypeScript & Introduction to Angular CLI.pptx
 
Mi0041 java and web design
Mi0041   java and web designMi0041   java and web design
Mi0041 java and web design
 
OOP-Chap2.docx
OOP-Chap2.docxOOP-Chap2.docx
OOP-Chap2.docx
 
Advanced Qtp Book
Advanced Qtp BookAdvanced Qtp Book
Advanced Qtp Book
 
JAVASCRIPT.docx
JAVASCRIPT.docxJAVASCRIPT.docx
JAVASCRIPT.docx
 

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 ASSIGNMENT DRIVE SPRING DRIVE 2015 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. a. List the features of web browsers with simple explanation b. What is a TLD? Explain various commonly used TLDs. a. List the features of web browsers with simple explanation Answer:Important browser feature:  The Web browser should be able to look at the Web pages throughout Internet or to connect to various sites to access   b. What is a TLD? Explain various commonly used TLDs. Answer: The TLD is the last part of a domain name and is usually between two and four letters. When you purchase a domain through Wix.com, you can choose from several different TLDs. Each TLD hasits ownbenefits,sobe sure tochoose the one that best suits your business and website, in additiontochoosingthe rightdomainname.Before yourregisteryournew domain,take some time to learn about the different TLD options and choose the one that makes the most sense for your business.
  • 2. Q. 2. What are packages and what role do they play in Java? Also, discuss the various in-built packages provided by Java. Answer:Answer: A package allows a developer to group classes (and interfaces) together. These classeswill all be relatedinsome way –theymightall be to do witha specificapplicationor 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. Q. 3. Write short notes on a. Cascading style sheets:CascadingStyle Sheets(CSS) is a style sheet language used for describing the look and formatting of a document written in a markup language. While most often used to change the style of webpagesand userinterfaces written in HTML and XHTML, the language can be applied to any kind of XML document, including plain XML, SVG and XUL. Along with HTML and JavaScript, CSS is a cornerstone technology used by most websites to create visually engaging webpages,user interfaces for web applications, and user interfaces for many mobile applications. b. Javascript: JavaScript, also known as ECMAScript (the untrademarked name used for the standard),isa dynamic programming language. It is most commonly used as part of web browsers, whose implementations allow client-side scripts to interact with the user, control the browser, communicate asynchronously, and alter the document content that is displayed. It is also used in server-sidenetworkprogrammingwithruntime environments such as Node.js, game development and the creation of Q. 4. Write the description of the following methods of the StringBuffer Class Answer:The StringBufferandStringBuilder classes are used when there is a necessity to make a lot of modifications to Strings of characters. Unlike Strings objects of type StringBuffer and Stringbuilder can be modified over and over again with out leaving behind a lot of new unused objects. The a. StringBuffer append (char ch[], intstart_index, int length):int length() Returns the length (charactercount) of thisstringbuffer.publicintlength():isusedtoreturn the length of the string i.e. total number of characters.publicint length()
  • 3. b. StringBufferappend(doubled):Appendsthe stringrepresentation of the double argument to this sequence. The overall effect is exactly as if the argument were converted to a string by the method String.valueOf(double), and the characters of that string were then appended to this character c. Void ensureCapacity(intcapacity):StringBuffer(int capacity): creates an empty string buffer with the specified capacity as length.publicint capacity() Returns the current d. stringBuffer insert(int index, char ch[ ], intstart_index, int length):public StringBuffer insert(int offset, double d) e. void setChatAt (int index, char ch):setCharAt(int index, char ch) The character at the specified index is set to ch. public void setCharAt(int index, charch) The character at 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 should expect some 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:
  • 4. Load Servlet Class. Create Instance of Servlet. Call the servlets init() method. Call the servlets service() method. Call the servlets destroy() method. Step1, 2 and 3 are executedonlyonce,whenthe servlet is initially loaded. By default the servlet is not loaded Dear students get fully solved assignments Send your semester & Specialization name to our mail id : “ help.mbaassignments@gmail.com ” or Call us at : 08263069601