BT0078, Website 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

PROGRAM
BScIT
Semester
3
SUBJECT CODE & NAME
BT0078, Website Design
CREDIT
4
BK ID
B 1002
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.

Question1. Explain the dial up connection and its types.

Answer:  Dial-up remote access is a remote access technology that is available as part of Routing and Remote Access included in Windows Server® 2008.
Organizations require a simple solution that allows employees to remotely access their corporate e-mail accounts and shared files from home or from other locations outside the corporate network. Dial-up remote access provides the solution by enabling a remote access client to use the wide area network (WAN) infrastructure to connect to a remote access server.
Dial-up remote access vs. VPN



Question2. Describe the following in context of validating XML documents with DTDs

 1. Concept of data validation
Answer:  Data validation is the process of ensuring that a program operates on clean, correct and useful data. It uses routines, often called "validation rules" "validation constraints" or "check routines", that check for correctness, meaningfulness, and security of data that are input to the system. The rules may be implemented through the automated facilities of a data dictionary, or by the inclusion of explicit application program validation logic.



3. Internal and external DTDs

Answer:  The document type (DOCTYPE) declaration consists of an internal, or references an external Document Type Definition (DTD). It can also have a combination of both internal and external DTDs. The DTD defines the constraints on the structure of an XML document. It declares all of the document's element types, children element types, and the order and number of each element type. It also declares any attributes, entities, notations, processing instructions, comments, and PE references in the document.


4. Validating parsers

Answer:  Parsing is the act of splitting up information into its component parts .‘Mary feeds Spot’ parses as
Subject = Mary, proper noun, nominative case
Verb = feeds, transitive, third person singular, active voice, present tense
Object = Spot, proper noun, accusative case
In computing, a parser is a



5. The NMTOKEN and NMTOKENS Type

Answer:  In a Document Type Definition (DTD) an attributes type can be set to be NMTOKENS (name token list).
For a value to be a valid NMTOKENS the following must be true:-
It must conform to the EBNF for "Nmtokens". In simple terms it must contain one or more  NMTOKEN values separated by a single space.




Question3. Explain the following:

1. Declaring XSL style sheets 
Answer:  The <xsl:stylesheet> and <xsl:transform> elements are completely synonymous elements. Both are used to define the root element of the style sheet.

Syntax

<xsl:stylesheet
id="name"



2. xsl:apply-templates

Answer:  The <xsl:apply-templates> element applies a template to the current element or to the current element's child nodes.

The <xsl:apply-templates> Element
The <xsl:apply-templates> element applies a template to the current element or to the current element's child nodes.
If we add a select attribute to the <xsl:apply-templates> element it will process only the child element that matches the value of the attribute. We can use the select attribute to specify the order in which the child nodes are processed.
Look at the following



3. XPath Functions and Predicates

Answer:  Imagine that we wanted to select all the products from lemonade2.xml that had an amount greater than 15. With the current knowledge you have, this would be impossible and would require programming outside of XPath expression to solve this problem.
The closest we could get would be to select all the products:
XPath Expression:
inventory/*/*





 4. Looping - xsl:for-each

Answer:  The <xsl:for-each> element loops through each node in a specified node set.

Syntax
<xsl:for-each select="expression">
  <!-- Content -->


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.