MI0041 – JAVA AND WEB DESIGN

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 has its own benefits, so be sure to choose the one that best suits your business and website, in addition to choosing the right domain name. Before your register your new 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 classes will all be related in some 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.





Q. 3. Write short notes on

a. Cascading style sheets: Cascading Style 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 web pages and user interfaces 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), is a 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-side network programming with runtime 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 StringBuffer and StringBuilder 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 (character count) of this string buffer.publicint length(): is used to return the length of the string i.e. total number of characters.publicint length()





b. StringBufferappend(double d):Appends the string representation 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(int capacity):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.

Step 1, 2 and 3 are executed only once, when the 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


No comments:

Post a Comment

Note: Only a member of this blog may post a comment.