Web Technology MCQ
Web Technology MCQ
LTPC 3 1 0 4
Co-Requisite Course
0000001
COURSE LEARNING PLAN (CLP)
CLO 3 Able to create simple web pages and provide client side validation A,C
0000002
SESSION LEARNING PLAN
0000003
UNIT INFORMATION
SNO UNIT NO SESSION NO SRO 1 SLO 1 TOPIC NAME SRO 2 SLO 2 TOPIC NAME
1 1 Understanding the basic web service Architecture Web service architecture Understanding the basic web service Architecture Web service architecture
2 2 understand various components of Web services Service architecture understand various components of Web services Service architecture
3 3 able to understand the service roles Service roles able to understand the service roles Service roles
4 4 able to know about the Technology Stack Technology stack able to know about the Technology Stack Technology stack
5 1 5 able to understand the architectural processes Architectural process able to understand the architectural processes Architectural process
6 6 able to know about the overview of SOA Overview of SOA able to know about the overview of SOA Overview of SOA
7 7 able to know the sequence flow of UDDI sequence flow of UDDI able to know the sequence flow of UDDI sequence flow of UDDI
8 8 understand about the three tier architecture overview Three tier architecture overview understand about the three tier architecture overview Three tier architecture overview
9 9 List out the uses of three tier architecture use of three tier architecture List out the uses of three tier architecture use of three tier architecture
10 1 Know about the basic XML fundamentals XML fundamentals Know about the basic XML fundamentals XML fundamentals
11 2 understand the componnets of XML document Components of XML document understand the componnets of XML document Components of XML document
12 3 Able to know about XML namespaces XML namespaces Able to know about XML namespaces XML namespaces
14 2 5 Able to know about the elements of WSDL WSDL elements Able to know about the elements of WSDL WSDL elements
15 6 Know about the attributes of SOAP SOAP Attributes Know about the attributes of SOAP SOAP Attributes
16 7 Understanding SOAP over HTTP SOAP Over HTTP Understanding SOAP over HTTP SOAP Over HTTP
18 9 Understanding concepts of UDDI data structures UDDI Data structures Understanding concepts of UDDI data structures UDDI Data structures
Understanding the client tier architecture using Understanding the client tier architecture using
19 1 Client tier using HTML Client tier using HTML
HTML HTML
20 2 To understand various HTML tags Basic HTML tags To understand various HTML tags Basic HTML tags
21 3 To understand CSS by Look anf Feel CSS Introduction To understand CSS by Look anf Feel CSS Introduction
22 4 Able to understand introduction about CSS Inline CSS Able to understand introduction about CSS Inline CSS
23 3 5 To understand various types of CSS Internal CSS To understand various types of CSS Internal CSS
24 6 To understand about various properties of CSS External CSS To understand about various properties of CSS External CSS
To know about the techniques involved in Inline To know about the techniques involved in Inline
25 7 CSS Properties CSS Properties
CSS CSS
26 8 To know about the Java script validation Java script Validation To know about the Java script validation Java script Validation
27 9 To know about the concepts of DOM DOM To know about the concepts of DOM DOM
To understand the basic applications of Java To understand the basic applications of Java
28 1 Java server page Application Java server page Application
server page server page
29 2 To learn about Presentation tier using JSP Presentation tier using JSP To learn about Presentation tier using JSP Presentation tier using JSP
30 3 To understand the architecture of JSP JSP Architecture To understand the architecture of JSP JSP Architecture
31 4 To know about the overview of SOA Overview of SOA To know about the overview of SOA Overview of SOA
To understand the basic roles of Java EE in To understand the basic roles of Java EE in Role of Java EE in Enterprise
32 4 5 Role of Java EE in Enterprise applications
Enterprise Applications Enterprise Applications applications
33 6 To know about Java EE Applications Java EE applications To know about Java EE Applications Java EE applications
35 8 To understand the concepts of servlets Servlets To understand the concepts of servlets Servlets
To understand the basic server side program using To understand the basic server side program
36 9 server side programming with JSP server side programming with JSP
JSP using JSP
37 1 Build a basic web application program web applications Build a basic web application program web applications
38 2 To know about the Cookies involved in server side cookies To know about the Cookies involved in server cookies
side
39 3 Understanding the concepts under Sessions sessions Understanding the concepts under Sessions sessions
40 4 To learn about the Open source environment open source environment To learn about the Open source environment open source environment
41 5 5 To understand the basic concepts of PHP PHP introduction To understand the basic concepts of PHP PHP introduction
42 6 To know about the variables and arrays used variables and arrays To know about the variables and arrays used variables and arrays
43 7 To understand the Get and Post Methods GET and POST variables To understand the Get and Post Methods GET and POST variables
44 8 To learn about the session variables session variables To learn about the session variables session variables
45 9 To know how to connect server side program using connectivity with mysql database To know how to connect server side program connectivity with mysql database
mysql database using mysql database
0000004
MCQ QUESTION & ANSWER
SNO UNIT NO SESSION NO SLO NO QUESTION DESCRIPTION OPTION 1 OPTION 2 OPTION 3 OPTION 4 CORRECT ANSWER LEVEL A - K OUTCOME IMAGES ?
1 1 1 1 L1 A
2 1 1 1 L1 A
3 1 1 1 L1 A
4 1 1 2 L1 A
5 1 1 2 L1 A
6 1 1 2 L1 A
7 1 2 1 L1 A
8 1 2 1 L1 A
9 1 2 1 L1 A
10 1 2 2 L1 A
11 1 2 2 L1 A
12 1 2 2 L1 A
13 1 3 1 L1 A
14 1 3 1 L1 A
15 1 3 1 L1 A
16 1 3 2 L1 A
17 1 3 2 L1 A
18 1 3 2 L1 A
19 1 4 1 L1 A
20 1 4 1 L1 A
21 1 4 1 L1 A
22 1 4 2 L1 A
23 1 4 2 L1 A
24 1 4 2 L1 A
25 1 5 1 L1 A
26 1 5 1 L1 A
27 1 5 1 L1 A
28 1 5 2 L1 A
29 1 5 2 L1 A
30 1 5 2 L1 A
31 1 6 1 L1 A
32 1 6 1 L1 A
33 1 6 1 L1 A
34 1 6 2 L1 A
35 1 6 2 L1 A
36 1 6 2 L1 A
37 1 7 1 L1 A
38 1 7 1 L1 A
39 1 7 1 L1 A
40 1 7 2 L1 A
41 1 7 2 L1 A
42 1 7 2 L1 A
43 1 8 1 L1 A
44 1 8 1 L1 A
45 1 8 1 L1 A
46 1 8 2 L1 A
47 1 8 2 L1 A
48 1 8 2 L1 A
49 1 9 1 L1 A
50 1 9 1 L1 A
51 1 9 1 L1 A
52 1 9 2 L1 A
53 1 9 2 L1 A
54 1 9 2 L1 A
55 2 2 2 A
56 2 2 2 A
57 2 3 1 A
58 2 3 1 A
59 2 3 1 A
60 2 3 2 A
61 2 3 2 A
62 2 3 2 A
63 2 4 1 A
64 2 4 1 A
65 2 4 1 A
66 2 4 2 A
67 2 4 2 A
68 2 4 2 A
69 2 5 1 A
70 2 5 1 A
71 2 5 1 A
72 2 5 2 A
73 2 5 2 A
74 2 5 2 A
75 2 6 1 A
76 2 6 1 A
77 2 6 1 A
78 2 6 2 A
79 2 6 2 A
80 2 6 2 A
81 2 7 1 A
82 2 7 1 A
83 2 7 1 A
84 2 7 2 A
85 2 7 2 A
86 2 7 2 A
87 2 8 1
88 2 8 1
89 2 8 1
90 2 8 2
91 2 8 2
92 2 8 2
94 2 9
95 2 9
96 2 9
97 2 9
98 2 9
99 2 9
100 3 1 1 Markup tags tell the web browser How to organise the page How to display the page How to display message box on page None of these B L1 A
101 3 1 1 www is based on which model? Local-server Client-server 3-tier None of these B L1 A
103 3 1 2 Which of the following attributes of text box control allow to limit the maximum character? size len maxlength all of these C L1 A
104 3 1 2 Web pages starts with which ofthe following tag? <Body> <Title> <HTML> <Form> C L1 A
106 3 2 1 Which of the following is a container? <SELECT> <BODY> <INPUT> Both (a) and (b) D L1 A
107 3 2 1 The attribute, which define the relationship between current document and HREF'ed URL is REL URL REV all of these A L1 A
109 3 2 2 Correct HTML to left align the content inside a table cell is <tdleft> <td raligh = "left" > <td align = "left"> <td leftalign> C L1 A
110 3 2 2 The tag which allows you to rest other HTML tags within the description is <TH> <TD> <TR> <CAPTION> D L1 A
111 3 2 2 How can you open a link in a new browser window? < a href = "url" target = "new"> <a href = "url" target= "_blank"> <a href = "url".new> <a href = "url" target ="open"> B L1 A
113 3 3 1 Where in an HTML document is the correct place to refer to an external style sheet? At the end of the document In the <head> section At the top of the document In the <body> section B L1 A
114 3 3 1 Which HTML tag is used to define an internal style sheet? <style> <css> <script> <stylesheet> A L1 A
115 3 3 2 How do you change the text color of an element? text-color= fgcolor: color: text-color: C L1 A
116 3 3 2 How do you cha nge the font of a n element? font-family: font= f: font-style: A L1 A
117 3 3 2 How do you make the text bold? font:b font-weight:bold style:bold style:big B L1 A
H ow do you display a border like this:The top border = 10 pixe ls,T he bottom borde r = 5 pixe ls,The left border = 20
118 3 4 1 border-width:10px 20px 5px 1px border-width:10px 1px 5px 20px border-width:5px 20px 10px 1px border-width:10px 5px 20px 1px B L1 A
pixels,T he right border = 1pixel?
119 3 4 1 How do you cha nge the left margin of a n element? margin: indent: margin-left: text-indent: C L1 A
120 3 4 1 How do you make eac h word in a text start with a capital letter? text-transform:capitalize You can’t do that with CSS text-transform:uppercase text-transform:upper A L1 A
121 3 4 2 What is the correc t CSS syntax for ma king all the <p> ele ments bold? <p style=”text-size:bold”> p {font-we ight:bold} p {text-size:bold} <p style=”font-size:bold”> B L1 A
122 3 4 2 How do you add a background color for all <h1> elements? all.h1 {background-color:#FFFFFF} h1.all {background-color:#FFFFFF} h1 {background-color:#FFFFFF} h1 {bg-color:#FFFFFF} C L1 A
123 3 4 2 Which property is used to change the background color? bgcolor: background-color: color: colour: B L1 A
124 3 5 1 If we want define style for an unique element, then which css selector will we use ? Id text class name A L1 A
125 3 5 1 If we don't want to allow a floating div to the left side of an element, which css property will we use ? margin clear float padding B L1 A
Suppose we want to arragnge five nos. of DIVs so that DIV4 is placed above DIV 1. Now, which c ss property will we use to
126 3 5 1 d-index s-index x-index z-index D L1 A
c ontrol the order of stack?
127 3 5 2 If we want to wrap a block of text around an image, which css property will we use ? wrap push float align C L1 A
128 3 5 2 If we want to show an Arrow as cursor, then which value we will use ? pointer default arrow arr B L1 A
129 3 5 2 Which of the following selector matches a particular element only when it lies inside a particular element? The Type Selector The Universal Selector The Descendant Selector The Class Selector C L1 A
130 3 6 1 If we want to use a nice looking green dotted border around an image, which css property will we use? border-color border-decoration border-style border-line C L1 A
131 3 6 1 Which of the following properties will we use to display border around a cell without any content ? empty-cell blank-cell noncontent-cell void-cell A L1 A
132 3 6 1 What should be the table width, so that the width of a table adjust to the current width of the browser window? 640 pixels 1 full-screen 1024 px B L1 A
Which ele ment is used in the <H EAD> sec tion on a n HT ML / XHT MLpage, if we want to use a n external style sheet file to
133 3 6 2 <src> <link> <style> <css> B L1 A
decora te the page ?
134 3 6 2 Which attribute can be added to many HTML / XHTML elements to identify them as a member of a specific group ? Id div class span C L1 A
135 3 6 2 When we write <img src="img.png">, what "img.png" inside double quote implies? element attribute value operator C L1 A
136 3 7 1 How can we write comment along with CSS code ? /* a comment */ // a comment // / a comment / <' a comment'> A L1 A
137 3 7 1 Which css property you will use if you want to add some margin between a DIV's border and its inner text ? spacing margin padding inner-margin C L1 A
138 3 7 1 Which CSS property is used to control the text size of an element ? font-style text-size font-size text-style C L1 A
139 3 7 2 The default value of "position" attribute is fixed absolute inherit relative D L1 A
140 3 7 2 How will you make all paragraph elements 'RED' in color ? p.all {color: red;} p.all {color: #990000;} all.p {color: #998877;} p {color: red;} D L1 A
141 3 7 2 By default H yperlinks are displaye d with an underline. How do you remove the underline from all hyperlinks by using CSS a {text: no-underline;} a {text-decoration:none;} a {text-style: no-underline;} a {text-decoration: no-underline;} B L1 A
c ode ?
The User's machine running a Web A centra l machine deep within Netscape' s
142 3 8 1 When a user views a page containing a JavaScript program, which machine actually executes the script? The Web server None of the above A L1 A
browser c orporate offices
143 3 8 1 ______ JavaScript is also called client-side JavaScript Microsoft Navigator L iveWire Native B L1 A
144 3 8 1 __________ JavaScript is also called server-side JavaScript Microsoft Navigator L iveWire Native C L1 A
145 3 8 2 What are variables used for in JavaScript Programs? Storing numbers, dates, or other values Varying randomly Causing high-school algebra flashbacks None of the above A L1 A
_____ JavaScript statements embe dded in an H TML page can respond to user events such as mouse-clic ks, form input, and
146 3 8 2 Client-side Server-side Local Native A L1 A
page na vigation
147 3 8 2 What should appear at the very end of your JavaScript?The <script LANGUAGE="JavaScript">tag </script> <script> E ND None of the above A L1 A
148 3 9 1 What is the reason for avoiding the attributes property in the HTML DOM? Found unncessary Attributes don’t have attributes Attributes have attributes None of the mentioned B L1 A
149 3 9 1 How is everything treated in HTML DOM? Node Attributes Elements All of the mentioned A L1 A
150 3 9 1 What is the work of the form control elements in the HTML DOM? User Interface elements All the possible elements Debugging elements None of the mentioned A L1 A
151 3 9 2 How are the objects organized in the HTML DOM? Class-wise Queue Hierarchy None of the mentioned C L1 A
152 3 9 2 Which of the following is a type of HTML DOM? Legacy DOM W3C DOM IE4 DOM All of the mentioned D L1 A
153 3 9 2 Which object is the top of the hierarchy? Window Object Document Object Form Object Form Control Elements A L1 A
154 4 1 1 L1 A
155 4 1 1 L1 A
156 4 1 1 L1 A
157 4 1 2 L1 A
158 4 1 2 L1 A
159 4 1 2 L1 A
160 4 2 1 L1 A
161 4 2 1 L1 A
162 4 2 1 L1 A
163 4 2 2 L1 A
164 4 2 2 L1 A
165 4 2 2 L1 A
166 4 3 1 L1 A
167 4 3 1 L1 A
168 4 3 1 L1 A
169 4 3 2 L1 A
170 4 3 2 L1 A
171 4 3 2 L1 A
172 4 4 1 L1 A
173 4 4 1 L1 A
0000005
174 4 4 1 L1 A
175 4 4 2 L1 A
176 4 4 2 L1 A
177 4 4 2 L1 A
178 4 5 1 L1 A
179 4 5 1 L1 A
180 4 5 1 L1 A
181 4 5 2 L1 A
182 4 5 2 L1 A
183 4 5 2 L1 A
184 4 6 1 L1 A
185 4 6 1 L1 A
186 4 6 1 L1 A
187 4 6 2 L1 A
188 4 6 2 L1 A
189 4 6 2 L1 A
190 4 7 1 L1 A
191 4 7 1 L1 A
192 4 7 1 L1 A
193 4 7 2 L1 A
194 4 7 2 L1 A
195 4 7 2 L1 A
196 4 8 1 L1 A
197 4 8 1 L1 A
198 4 8 1 L1 A
199 4 8 2 L1 A
200 4 8 2 L1 A
201 4 8 2 L1 A
202 4 9 1 L1 A
203 4 9 1 L1 A
204 4 9 1 L1 A
205 4 9 2 L1 A
206 4 9 2 L1 A
207 4 9 2 L1 A
208 5 6 1 L1 A
209 5 6 1 L1 A
210 5 6 1 L1 A
211 5 6 2 L1 A
212 5 6 2 L1 A
213 5 6 2 L1 A
214 5 7 1 L1 A
215 5 7 1 L1 A
216 5 7 1 L1 A
217 5 7 2 L1 A
218 5 7 2 L1 A
219 5 7 2 L1 A
220 5 8 1 L1 A
221 5 8 1 L1 A
222 5 8 1 L1 A
223 5 8 2 L1 A
224 5 8 2 L1 A
225 5 8 2 L1 A
226 5 9 1 L1 A
227 5 9 1 L1 A
228 5 9 1 L1 A
229 5 9 2 L1 A
230 5 9 2 L1 A
231 5 9 2 L1 A
0000006
SHORT QUESTION & ANSWERS
SNO UNIT NO SESSION NO SLO NO QUESTION DESCRIPTION ANSWER LEVEL A - K OUTCOME IMAGES ?
1 1 1 1 List the basic components of web services model 1. Service oriented a rchitecture 2. Servic e roles 3. Tec hnology stack 4. A rchitectural processes 5. Value chain L1 A
Servic e oriented A rchitecture forms the basis of the web se rvices mode l. In this all entities a re trea ted as services. SOA define s the service model,
2 1 1 1 Define SOA L1 A
w hich de rives from the object model.
3 1 1 2 List the features of SOA. 1. Service abstraction, 2. Service encapusulation, 3. Service modularity 4.Service polymorphism L1 A
4 1 1 2 What is service abstraction? It defines the characteristics of service.The characterization of service is based on its rationale.Eg.E-shopping application. L1 A
H iding the rationa le proce sses of the servic e from the user is essential. Hiding the process from the user of the service is know n as service
5 1 2 1 Define Service encapsulation L1 A
e nca psulation.Service abstraction a nd se rvic e enc apsulation are c omple mentary in the service model.
6 1 2 1 What is service modularity? Se rvice modularity partitions the se rvic e into loosely coupled modules of service abstractions that you can combine with each other to crea te a L1 A
reusa ble service library.The interde pendenc y of service abstractions calls for a library of services.
1. T he servic e libra ry c an ca talog the service a bstra ctions based on the rationale of the se rvice.2.The service library provides a common mec hanism
7 1 2 2 State the benefits of service library. for resusing servic e abstraction.3.T he service library ca tegoriz es the use of service abstrac tions. 4. T he service library ac ts as a conta iner for all L1 A
servic e abstractions.
It provide s the capability to invoke different service beha viors by using a single, generically define d service interface of a service abstraction. The
8 1 2 2 What is service polymorphism? servic e interface e xposes various service methods of a web service. It enables dynamic runtime binding of service s. This feature enables a se rvice to L1 A
use another service dynamically at runtime.
9 1 3 1 List down the different service roles. 1. Service provider 2.Service broker 3. Service requestor L1 A
11 1 4 1 Who is a service provider? Service provider is a generic role, applicable to either a web-services module or a business entity. L1 A
12 1 4 2 Define Service broker. A service broker is a centralized registry that contains an index of all the published services of the service providers L1 A
1. Startup and registration of the broker to a ce ntralized URL.2. Providing a portal for the registration of Web service s.3. M aking the service s available
13 1 5 1 List down the phases of service broker. L1 A
to the c onsumers. 4. Ma naging request-re sponse activities at the time of both publishing and subscription.
What are the tasks ha ndled in the life cyc le of the service Connection manage ment,Transaction M onitoring,Event service s,Sec urity Ma pping,Profile exchange,component Registry,Connector
14 1 5 2 L1 A
broke r? discovery,Content based routing
servic e reque stor is a distributed clie nt on the Inte rnet who is interested in a vailing of the service tha t the provider offe rs. A se rvice reque stor ca n be a
15 1 6 1 Define service requestor. L1 A
person w ho is browsing the internet, a busine ss organiza tion, or simply another web services application that uses published services.
16 1 6 1 L ist dow n the stages associa ted with the servic e requestor role Preliminary,Discovery,Invocation L1 A
T he te chnology stack is the component of the web services mode l that provides a high level vie w of the layered arc hitec ture of SO A. T he technology
17 1 6 2 What is technology stack? L1 A
stac k consists of open industry sta ndards.
Simple Object A ccess Protocol (SOA P), We b Service s De sc ription Language (WSDL),Web Se rvices Flow L anguage (WSF L),Unive rsal
18 1 7 1 Give the standards that constitute the tec hnology stack of the L1 A
D escription, Discovery and Integration (UDDI),Ele ctronic Business Extensible Markup L anguage (ebXML ),Hype rtext Transfer Protocol (HTT P),
we b services model.
Simple Mail transfer Protocol(SM TP), File Transfer Protocol(FTP), Message broker,Interne t Inter – ORB Protocol (IIOP)
D escription is the first distinguishable primary process of the web-service s model. Description is a proce ss where the service provider describes the
19 1 7 1 What is description? L1 A
servic e-abstraction for a se rvice.
20 1 7 2 Define discovery. T he process of discove ry is the next se quence in executing the w eb-services model. In this process, a c lient or service requestor looks for service s in a L1 A
standard registry. T he c lient then discovers the service on the registry.
21 1 8 1 What are the steps involved in find a web service? LOO KUP, DISCOVE RY L1 A
22 1 8 1 Give the directories under UDDI registry White pa ges,Yellow pages,Green pa ges L1 A
23 1 8 2 L ist the activities w hich are the ba sis of the invoca tion process. Bind,Re mote Procedure Ca ll L1 A
Value chain of a web servic e is a combination of the service supplier and other suppliers tha t work together to a dd value to the service to satisfy
24 1 9 1 Define value chain of a web service. L1 A
market dema nds.
25 1 9 2 List down the major players in the web services value chain. Standards body, Framework providers,Tool and product vendors,Web se rvic es developers (WSD),Web services Marke ters (WSM),Web service s L1 A
Providers (WSP),We b services Consumers (WSC)
A n XM L tag is not something pre define d but it is something you have to define acc ording to your nee ds. For instance in the above exa mple of books
26 2 1 1 What is XML? a ll ta gs are defined according to business needs. T he XM L document is self explanatory, any one can easily understa nd looking a t the XML data what L1 A
e xac tly it mea ns.
27 2 1 2 What is the version information in XML? "version" tag shows which version of XML is used. L1 A
28 2 1 1 What is ROOT element in XML ? In our XML sample given previously < book> tag is the root element. Root element is the top most elements for a XML. and it's must be unique L1 A
N o, every tag in XML which is opened should have a closing ta g. For instance in the top if we remove tag that XML will not be understood by lot of
29 2 2 2 If XML does not have closing tag will it work ? L1 A
a pplication.
31 2 2 2 What is the difference between XML and HTML? X ML describes data while HT ML de sc ribes how the data should be displayed. So HT ML is about displa ying information while XML is about L1 A
describing and storing the information.
32 2 3 1 Is XML meant to replace HTML? No, they both go together one is for describing data while other is for displaying data. L1 A
X ML was meant to exc hange data betwee n two entitie s as we ca n define our use r friendly ta gs with ea se . In rea l w orld scenarios XML is mea nt to
e xchange data. For instance we have two applications who want to exchange information. But bec ause they w ork in tw o complete opposite
Can you expla in why your project needed XM L ? or w hy you te chnologies it’s difficult to do it technic ally. F or instanc e one applica tion is made in opposite technologies it’s difficult to do it tec hnically. For
33 2 3 2 L1 A
have chosen X ML. instance one applica tion is made in JAVA and the other in .N ET. But both languages unde rstand XM L so one of the applications will spit XM L file
w hich will be c onsumed and parse d by other applications. We can give a scenario of tw o applica tions w hich are w orking separate ly and how you
c hose XML as the data transport medium.
34 2 3 1 What is DTD ( Document Type definition )? It defines how our XML should structure.means type of element like integer or value char etc L1 A
If a XM L document is confirming to X ML rules (all tags started are close d, the re is a root element , all valid char have used etc) then it’s a well
35 2 4 2 What is well formed XML? L1 A
forme d XM L.
36 2 4 1 What is a valid XML? If XML is confirming to DTD rules then it’s a valid XML. L1 A
37 2 4 2 What is CDATA section in XML? All data is normally parsed in XML but if you want to exclude some elements you will need to put those elements in CDATA. L1 A
38 2 5 1 What is element and attributes in XML? In the below example book is the element and the price the attribute < book price=1002>< /book> L1 A
39 2 5 2 What is XSL? X SL (the e Xtensible Styleshee t L anguage ) is used to transform XML document to some other doc ument. So its tra nsformation doc ument w hich can L1 A
c onve rt XML to some other doc ument. For instance you can apply X SL to XM L a nd convert it to HT ML document or probably CSV files.
X ML parser sits in between the X ML docume nt and the application w ho want to use the XML doc ument. Parser exposes se t of we ll defined interfac es
40 2 5 1 What are the sta ndard ways of parsing XM L document? or L1 A
w hich can be used by the application for adding, modifying a nd dele ting the XM L document contents. Now whatever interfaces XM L parse r exposes
What is a XM L parser?
should be standard or else tha t w ould lea d to different vendors preparing there ow n custom way of interac ting with XM L document.
If we do not need all the data from the XM L file then SAX a pproach is much prefe rre d than DO M as DOM c an quiet memory intensive. In short if
In What scenarios will you use a DOM parser and SAX you need la rge portion of the XM L docume nt its better to have D OM.With SAX parser you have to write more code than D OM.If we want to write
41 2 6 2 L1 A
parser ? the XM L in to a file DOM is the e fficie nt way to do it.Some time you only nee d to validate the X ML structure and do not wa nt to retrieve any Da ta
for those instances SAX is the right approach.
X PAT H is an XM L query language to select spec ific parts of an XM L document. Using XPAT H we can address or filte r elements and text in a XM L
document. For instance a simple X PAT H expre ssion like "book/price" states find "price " node which are children of “Invoice” node.XSLT is a rule
42 2 6 1 Define XPATH and XSLT. L1 A
based language used to transform X ML documents in to other file formats. XSLT are nothing but generic transformation rule s which can be applied to
transform XM L document to HT ML , CS, Ric h text etc.
43 2 6 2 What is the concept of XPOINTER? XPOINTER is used to locate data within XML document. XPOINTER can point to a particular portion of a XML document, for instance L1 A
44 2 7 1 What do the names mean? The application determines the meaning of the names. L1 A
45 2 7 2 What does the namespace URI "http://www.foo.com/" mean? It has no defined meaning. L1 A
46 2 7 1 How do you write a DT D de claration describing the structure D TDs use the XML 1.0 perspective:<!E LEM ENT a E MPT Y> <!ATTL IST a b CDATA #IMPL IE D c CDATA #IM PLIE D xmlns CDATA #FIXED L1 A
of this element? "http://w ww.foo.com">
A Cascading Style Sheet (CSS) is a list of state ments (also known as rules) that ca n assign va rious rendering prope rties to HT ML elements. Style
47 2 8 2 What are Cascading Style Sheets? rule s ca n be specified for a single e lement oc currence, multiple elements, an e ntire document, or even multiple doc uments at once . It is possible to L1 A
specify many differe nt rules for an element in different loc ations using different methods. All the se rule s are colle cted a nd merged (known as a
"c ascading" of styles) when the document is rendered to form a single style rule for eac h element.
48 2 8 1 How do I center block-elements with CSS1? BODY {width: 30em; background: cyan;}P {width: 22em; margin-left: auto; margin-right: auto} L1 A
Class is a group of 1) instances of the same element to which an unique style ca n be attached or 2) instances of different elements to which the same
49 2 8 2 What is class? L1 A
style can be attac hed.
G rouping is gathering (1) into a c omma separated list two or more selectors tha t share the same style or (2) into a semicolon separate d list tw o or
50 2 8 1 What is grouping ? L1 A
more declara tions that are attached to the same selector (2).
E xte rnal Style Sheet is a te mplate/document/file containing style information which ca n be linked w ith any numbe r of HTM L documents. This is a
very convenient w ay of formatting the entire site a s we ll a s restyling it by editing just one file . The file is linked with HT ML documents via the LINK
51 2 8 2 What is external Style Sheet? How to link? L1 A
e leme nt inside the H EAD ele ment. File s containing style informa tion must have exte nsion .css, e.g. style.css. <HE AD> <L INK REL =STYL ESHE ET
H RE F="style.css" TYPE ="text/c ss"> </HE AD>
If the DOCTYPE or X ML declara tion is ever removed from your page s, even by mistake, the last instance of the style will be used, re gardle ss of
52 2 9 1 Is CSS case sensitive? L1 A
c ase.
Can control styles for multiple documents at once,Classes can be created for use on multiple HTM L element types in many doc uments,Sele ctor and
53 2 9 2 What are the advantages/disadvantages of E xte rnal Style grouping methods c an be used to apply styles under complex contexts.• A n extra dow nload is required to import style information for ea ch L1 A
Sheets? document,The rendering of the doc ument may be delayed until the exte rnal style she et is loade d,Become s slightly unwieldy for small quantities of
style de finitions
54 2 9 1 What is WSDL? AWSDL is an XML document that describes a web service. It actually stands for Web Services Description Language. L1 A
SO AP is an XML -based protoc ol tha t le ts you excha nge info over a particular protocol (can be H TTP or SMT P, for example) between applications. It
55 2 9 2 Define SOAP. L1 A
stands for Simple Obje ct Acc ess Protocol a nd uses XML for its messaging format to relay the information.
1 1 L1 A
57 1 1 L1 A
58 1 2 L1 A
59 1 2 L1 A
60 1 2 L1 A
61 2 1 L1 A
62 2 1 L1 A
63 2 1 L1 A
64 2 2 L1 A
65 2 2 L1 A
66
2 2 L1 A
67
3 1 L1 A
68
3 1 L1 A
69
3 1 L1 A
70
3 2 L1 A
71
3 2 L1 A
72
3 2 L1 A
73
4 1 L1 A
74
4 1 L1 A
75
4 1 L1 A
76
4 2 L1 A
77
4 2 L1 A
78
4 2 L1 A
79
5 1 L1 A
80
5 1 L1 A
81
5 1 L1 A
82
5 2 L1 A
83
5 2 L1 A
84
5 2 L1 A
85
6 1 L1 A
86
6 1 L1 A
87
6 1 L1 A
88
6 2 L1 A
89
6 2 L1 A
90
6 2 L1 A
91
7 1 L1 A
92
7 1 L1 A
93
7 1 L1 A
94
7 2 L1 A
95
7 2 L1 A
96
7 2 L1 A
97
8 1 L1 A
98
8 1 L1 A
99
8 1 L1 A
100
8 2 L1 A
101
8 2 L1 A
102
8 2 L1 A
103
9 1 L1 A
104
9 1 L1 A
105
9 1 L1 A
106
9 2 L1 A
107
9 2 L1 A
108
9 2 L1 A
109
1 1 L1 A
110
1 1 L1 A
111
1 1 L1 A
112
1 2 L1 A
113
1 2 L1 A
114
1 2 L1 A
115
2 1 L1 A
116
2 1 L1 A
117
2 1 L1 A
118
2 2 L1 A
119
2 2 L1 A
120
2 2 L1 A
121
3 1 L1 A
122
3 1 L1 A
123
3 1 L1 A
124
3 2 L1 A
125
3 2 L1 A
126
3 2 L1 A
127
4 1 L1 A
128
4 1 L1 A
129
4 1 L1 A
130
4 2 L1 A
131
4 2 L1 A
132
4 2 L1 A
133
5 1 L1 A
134
5 1 L1 A
135
5 1 L1 A
136
5 2 L1 A
137
5 2 L1 A
138
5 2 L1 A
139
6 1 L1 A
140
6 1 L1 A
141
6 1 L1 A
142
6 2 L1 A
0000007
143
6 2 L1 A
144
6 2 L1 A
145
7 1 L1 A
146
7 1 L1 A
147
7 1 L1 A
148
7 2 L1 A
149
7 2 L1 A
150
7 2 L1 A
151
8 1 L1 A
152
8 1 L1 A
153
8 1 L1 A
154
8 2 L1 A
155
8 2 L1 A
156
8 2 L1 A
157
9 1 L1 A
158
9 1 L1 A
159
9 1 L1 A
160
9 2 L1 A
161
9 2 L1 A
162
9 2 L1 A
163
1 1 L1 A
164
1 1 L1 A
165
1 1 L1 A
166
1 2 L1 A
167
1 2 L1 A
168
1 2 L1 A
169
2 1 L1 A
170
2 1 L1 A
171
2 1 L1 A
172
2 2 L1 A
173
2 2 L1 A
174
2 2 L1 A
175
3 1 L1 A
176
3 1 L1 A
177
3 1 L1 A
178
3 2 L1 A
179
3 2 L1 A
180
3 2 L1 A
181
4 1 L1 A
182
4 1 L1 A
183
4 1 L1 A
184
4 2 L1 A
185
4 2 L1 A
186
4 2 L1 A
187
5 1 L1 A
188
5 1 L1 A
189
5 1 L1 A
190
5 2 L1 A
191
5 2 L1 A
192
5 2 L1 A
193
6 1 L1 A
194
6 1 L1 A
195
6 1 L1 A
196
6 2 L1 A
197
6 2 L1 A
198
6 2 L1 A
199
7 1 L1 A
200
7 1 L1 A
201
7 1 L1 A
202
7 2 L1 A
203
7 2 L1 A
204
7 2 L1 A
205
8 1 L1 A
206
8 1 L1 A
207
8 1 L1 A
208
8 2 L1 A
209
8 2 L1 A
210
8 2 L1 A
211
9 1 L1 A
212
9 1 L1 A
213
9 1 L1 A
214
9 2 L1 A
215
9 2 L1 A
216
9 2 L1 A
217
6 1 L1 A
218
6 1 L1 A
219
6 1 L1 A
220
6 2 L1 A
221
6 2 L1 A
222
6 2 L1 A
223
7 1 L1 A
224
7 1 L1 A
225
7 1 L1 A
226
7 2 L1 A
227
7 2 L1 A
228
7 2 L1 A
229
8 1 L1 A
230
8 1 L1 A
231
8 1 L1 A
232
8 2 L1 A
233
8 2 L1 A
234
8 2 L1 A
235
9 1 L1 A
236
9 1 L1 A
237
9 1 L1 A
238
9 2 L1 A
239
9 2 L1 A
240
9 2 L1 A
0000008
LONG QUESTION & ANSWERS
SNO UNIT NO SESSION NO SLO NO QUESTION DESCRIPTION ANSWER LEVEL A - K OUTCOME IMAGES ?
Overview [4 Mark]
Briefly explain about the overview of SOA technology Relationship [4 Mark]
3 1 3 1,2 L1 A
stack Layers in SOA stack [4 Mark]
Interoperobality [4 Mark]
sequential flow [2 Mark] Execution
sequence [4 Mark]
Description [4 Mark]
Discovery[4 Mark]
4 1 4 1,2 Elaborate the Architectural processes in detail L1 A
Invocation [2 Mark]
What are the different types of CSS? Explain each type Define CSS [2]
15 2 9 2 L1 A
with necessary examples Types of CSS with example[14]
Basic HTML tags [ 4 mark] HTML
16 3 1 1 Discuss in detail about Basic HTML Tags L1 A
Elements [4 mark]
Basic HTML tags [ 4 mark] HTML
17 3 2 1 Explain in detail about Client Tier Architecture. L1 A
Elements [4 mark]
19 3 4 2 Write down the client side programming using javascript Program with basic tags[16 marks] L1 A
Briefly Explain about The role of Java EE in Enterprise Java EE [ 2mark] Enterprise
22 4 2 2 L1 A
Applications Computing[ 6 mark]
Internationalization [ 4 mark] Localization
23 4 3 1 Expalin Internationalization and Localization with Java L1 A
[4 mark]
What is Servlet ? How do we connect Server side Servlet definition [2 mark] Example
24 4 4 2 L1 A
programming with Database coding[14 mark]
What is JSP ? Write a sserver side programming using JSP [2 Mark] Example Coding[ 14
25 4 5 1 L1 A
JSP mark]
Cookies definition [ 2 mark] Set a
26 5 1 1 What is Cookies? How to set a Cookie? cookie [ 4 mark] Destroy a L1 A
cookie[4 mark]
What is PHP? Write down the Control flow in PHP to
27 5 2 1 Expalnation with a simple program L1 A
write a program
0000009