WP MCQs 2
WP MCQs 2
testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
Seat No -
Total number of questions : 60
12898_Web Technology
Time : 1hr
Max Marks : 50
N.B
1) All questions are Multiple Choice Questions having single correct option.
7) Use only black/blue ball point pen to darken the appropriate circle.
Q.no 1. Which of the following is true about Initialization phase in JSP life cycle?
B : When a container loads a JSP it invokes the jspInit() method before servicing any requests.
C : jspInit() method is called every time during each service request to JSP.
Q.no 2. Which of the following properties will we use to display border around a cell without
any content ?
A : empty-cell
B : blank-cell
C : noncontent-cell
D : void-cell
A : Design
B : Verify
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 1/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
C : Transport
D : Both A & B
Q.no 4. We can add new element at the end of existing element using
A : append
B : new
C : addLast
D : None of above
Q.no 5. JavaScript statements embedded in an HTML page can respond to user events
such as mouse-clicks, form input, and page navigation.
A : Client-side
B : Server-side
C : Local
D : Native
A : ng-disabled
B : ng-hide
C : ng-false
D : ng-true
A : document.createElement()
B : document.createNewElement()
C : newElement()
D : document.HTMLElement()
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 2/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
B : "Hello World";
C : Document.Write("Hello World");
D : print "hello"
A : 8080
B : 7001
C : 8010
D : 9001
Q.no 11. When a user views a page containing a JavaScript program, which machine actually
executes the script?
C : $ install express
D : #update express
A : Java Servlets are programs that run on a Web server or Application server.
B : Java Servlets are the program that run in the web browser space.
C : Java Servlets are client side programs that run on a client side
Q.no 14. What does the hash (#) sign mean in PHP?
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 3/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
D : No uses in PHP.
Q.no 15. Which role in EJB architecture is responsible for EJB Server?
A : EJB Deployer
B : Application Assembler
C : Network Engineer
D : Server Provider
D : Both A & C
Q.no 17. Which event handler is triggered when the user’s mouse moves onto a link?
A : onMouseOver
B : onMouseOut
C : onMouse
D : onMouseOnto
A : Cookies are text files stored on the client computer and they are kept for various information
tracking purpose.
B : Cookies are binary files stored on the server computer and they are kept for various information
tracking purpose.
C : Cookies are binary files stored on the client computer and they are kept for data storage
purpose.
A : node-static
B : http
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 4/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
C : node-resource
D : static
A : include
B : export
C : page
D : taglib
A : comma
B : semicolon
C : Question mark
D : Dollar sign
A : Independent
B : dependent
C : sometime dependent
D : sometine independent
A : stateless
B : stateful
C : No State
D : All state
Q.no 25. Which of the following is not a valid JavaScript variable name?
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 5/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : 2names
B : _first_and_last_names
C : FirstAndLast
A : image = “url”
B : source(“url”)
C : image.src = “url”
D : img.src=”url”
A : Server-side
B : Client-side
C : Browser-side
D : In-side
Q.no 29. Find the correct syntax of the declaration which defines the XML Version?
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 6/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : <myElement myAttribute="someValue"/>
B : <myElement myAttribute=someValue/>
C : <myElement myAttribute=’someValue’>
D : <myElement myAttribute="someValue’/>
C : void _jspService()
Q.no 32. What angular function is used to manually start up an angular application?
A : angular.bootstrap
B : angular.element
C : angular.copy
C : it is routine
D : it is distributed
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 7/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
D : None of above
Q.no 36. Which of the following is used to access session variables in PHP?
A : session_start() function
B : $_SESSION[]
C : isset() function
D : session_destroy() function
Q.no 37. Which of the following method can be used to read a multiple values with same
name, for example check box selections in JSP?
A : request.getParameter()
B : response.getParameter()
C : request.getParameterValues()
D : response.getParameterValues()
var a = 'cpp';
var b = 'buzz';
var c = a/b;
document.write(c);
A : cppbuzz
B : cpp/buzz
C : NaN
A : ng
B : ng-app
C : ng-config
D : restore
Q.no 40. Which of the following is true about init() method of servlet?
A : The init() method loads new data for each service request of the servlet.
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 8/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
B : The init() method is called again and again for each user request.
Q.no 41. In the model-view-controller (MVC) architecture, the model defines the
A : Data-access layer
B : Presentation layer
C : Business-logic layer
D : Interface layer
A : HTML
B : PHP
C : JavaScript
D : Wordpress
Q.no 43. Which of the following type of variables have only two possible values either true or
false?
A : Integers
B : Doubles
C : booleans
D : Strings
C : Both a and b
Q.no 45. Which of the following code is used to get session in servlet
A : response.getSession()
B : serveltSession.getSession()
C : new Session()
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 9/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
D : request.getSession()
Q.no 46. What is the correct way to open the file "time.txt" as readable?
A : fopen("time.txt","r");
B : open("time.txt","read");
C : fopen("time.txt","r+");
D : open("time.txt");
A : Application Module
B : constant
C : value
D : Factory
Q.no 48. Correct way of accessing javascript object var person = {firstName:"John",
lastName:"Doe"}
A : person.lastName;
B : person#lastName
C : lastName
D : None of above
Q.no 49. Which of the following class is used to create and consume custom events in Node.js?
A : EventEmitter
B : Events
C : NodeEvent
D : NodeEmitter
Q.no 50. Which of the following elements are block and inline elements, respectively, that
have no particular rendering?
A : div
B : span
C : box-model
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 10/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
alert(triangle.p1.y);
A:0
B:1
C:3
D:4
Q.no 52. The .......... directive is used if you want to add or remove HTML elements from the
DOM based on data in the model.
A : ng-switch
B : ng-model
C : ng-Disabled
D : ng-Cloak
Q.no 54. Which one of the following method is used to retrieve the number of rows affected by
an INSERT, UPDATE, or DELETE query?
A : num_rows()
B : affected_rows()
C : changed_rows()
D : new_rows()
Q.no 55. If para1 is the DOM object for a paragraph, what is the correct syntax to change the
text within the paragraph?
A : "New Text"?
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 11/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
B : para1.value="New Text";
D : para1.nodeValue="New Text";
Q.no 56. AngularJS can show or hide HTML depending on the state of data in the model. You
do so using a set of AngularJS directives such as ........... which are created specifically for that
purpose.
A : ng-shown, ng-hidden
B : ng-show, ng-hide
C : nt-show, nt-hide
D : ng-shows, ng-hides
Q.no 57. Which of the following code is used to update an attribute in a HTTP Session object
in servlets?
A : session.setAttribute(name,value)
B : session.alterAttribute(name,value)
C : session.updateAttribute(name,value)
D : session.update(name,value)
Q.no 58. In which configuration file is a link between the View and Model components in the
Web Client but you would not have to touch these settings for 99.99% of your projects?
Q.no 59. Which of the following statements is not true about XML Schemas:
A : Database service
C : Network Service
D : Web Service
Answers
Question No 60. is b
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 14/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 15/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
Q.no 1. If we want define style for an unique element, then which css selector will we use ?
A : Id
B : text
C : class
D : name
A : <%! declaration%>
B : <%= declaration%>
C : <%-- declaration%>
D : <%@ declaration%
A : CSS
B : DOM
C : DHTML
D : Flash
Q.no 5. Suppose we want to arrange five nos. of DIVs so that DIV4 is placed above DIV1.
Now, which css property will we use to control the order of stack?
A : d-index
B : s-index
C : x-index
D : z-index
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 16/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : lowercase
B : orderby
C : email
D : currency
A : yes
B : no
C : always
D : never
Q.no 9. Which of the following tags in struts-config.xml file defines the availability of
necessary Struts JSP custom tag libraries?
A : jsp-lib
B : struts-taglib
C : taglib
D : jsp-taglib
A : Microsoft
B : Navigator
C : LiveWire
D : Native
Q.no 11. Which of the following statement is correct about HTTP Get method.
A : GET method is used to appends form data to the URL in the page request.
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 17/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
B : The GET method is a secure method to pass information from browser to web server.
C : GET requests do not have any data length restrictions for data tranfer.
Q.no 12. Which method is used to set or reset CSS property in Jquery
A : selector.CSS()
B : $(selector).css()
C : $(selector).style()
D : None of above
D : it is framework only
A : VBScript
B : C++
C : JavaScript
D : C#
A : MV
B : MMVC
C : MVC
D : MC
Q.no 16. Which element is used in the <HEAD> section on an HTML / XHTMLpage, if we
want to use an external style sheet file to decorate the page ?
A : <src>
B : <link>
C : <style>
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 18/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
D : <css>
A : Out
B : Write
C : Echo
D : Display
A : Microsoft
B : IBM
C : Google
D : SunMicrosystem
Q.no 19. Which of the following is the correct order of servlet life cycle phase methods?
A : Java applet
B : Java servlet
C : Java EJB
D : Java Struts
Q.no 21. In WordPress, what is the user role with the highest privilege level?
A : Administrator
B : Author
C : Editor
D : Contributor
A : A web server
B : An application server
C : An EJB container
D : A database server
D : void jspInit()
A : nodejs sample.js
B : node sample.js
C : sample.js
D:0
A : Eclipse
B : Apache tomcat
C : Netbeans
Q.no 27. Which css property you will use if you want to add some margin between a DIV's
border and its inner text ?
A : spacing
B : margin
C : padding
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 20/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
D : inner-margin
Q.no 28. Which of the following method can be used to read a form parameter in JSP?
A : response.getParameter()
B : request.getParameter()
C : request.getValue()
D : response.getValue()
A : Html
B : JSP
C : JavaScript
D : CSS
A : a.sort()
B : sort(a)
C : a = sort()
D : None of above
Q.no 31. Which of the following php statement/statements will store 111 in variable num?
i) int $num = 111;
ii) int mum = 111;
iii) $num = 111;
iv) 111 = $num;
B : Only (iii)
C : Only (i)
D : Only (ii)
Q.no 32. . What are various possible prefixes such as 'ng-' using which Angular directives (for
example, ng-app) can be defined?
B : ng-'
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 21/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
D : ng-', 'data-ng-','x-ng-'
B : Use of CommetD
C : Use of Polling
D : Use of include
A : setcookie()
B : createcookie()
C : makecookie()
D : cookieset()
Q.no 35. Which of the Following are the valid scopes in JSP.
Q.no 36. Which of the following selector selects the elements that are checked?
A:E~F
B : ::after
C : :checked
Q.no 37. Which of the following selectors selects any tag with an id attribute set?
A : E#id
B : .class
C : #id
D:*
Q.no 38. Which of the following event fires when the form element loses the focus: <button>,
<input>, <label>, <select>, <textarea>?
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 22/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : onfocus
B : onblur
C : onclick
D : ondblclick
Q.no 39. Which of the following magic constant of PHP returns current line number of the
file?
A : LINE
B : FILE
C : FUNCTION
D : CLASS
Q.no 40. Which is currect one to hide class element using jquery
A : $(".test").hide()
B : $("#test").hide()
C : Both of above
D : None of above
A : CharacterData
B : Document
C : Attr
D : Element
Q.no 42. Which one is standard way to show popup in Java Script?
A : window.alert("cppbuzz");
B : alert("cppbuzz");
C : window("cppbuzz");
D : alert("cppbuzz")
A : Element
B : Attribute
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 23/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
C : Comment
D : All of above
A : background-color
B : border
C : color
D : display
A : background-color
B : border
C : color
D : display
A : Views
B : Account
C : Shared
D : Home
Q.no 47. Which EJB container must provide an implementation of Java Naming and
Directory Interface (JNDI) API to provide naming services for EJB clients and components?
A : Transaction support
B : Persistence support
C : Naming support
Q.no 48. Which of the following module is required for path specific operations?
A : os module
B : fs module
C : path module
D : ng module
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 24/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
Q.no 49. Which is used to make asynchronous request i.e. it doesn't block the user and it
sends only required field data to the server side not all, So it makes the performance fast?
A : AJAX Support
B : Integration Support
Q.no 50. Which of the following can't be done with client-side JavaScript?
A : Validating a form
Q.no 51. Which of the following methods is used to execute the statement after the parameters
have been bound?
A : bind_param()
B : bind_result()
C : bound_param()
D : bound_result()
Q.no 52. The default model for complex type, in XML schemas for element is
A : textOnly
B : elementOnly
C : no default type
D : both 1 & 2
(iii) structure
(iv) datatype of XML document
Q.no 55. Why a Node.JS code is pretty fast although being written in JavaScript
A : Node.JS internally converts JavaScript code to Java based code and then execute the same
B : Node.JS internally converts JavaScript code to C based code and then execute the same
D:0
Q.no 56. To add the attribute named Type to the <customer> tag the syntax will be
Q.no 57. Which of the following stands true for dns.lookup(hostname[, options], callback)
method?
D:0
Q.no 58. Which one of the following statements instantiates the mysqli class?
C : $mysqli->new.mysqli()
D : mysqli->new.mysqli()
A : Website
B : Application
C : System Program
D : Operating System
Answers
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 28/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 29/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
B : < !-- ?
D : < ?-- ?
A : transactional components
D : server-side components
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 30/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
B : Hypertext Preprocessor
A : Server-side
B : Client-side
C : Browser-side
D : In-side
Q.no 6. Which of the following represents the root of the Tomcat installation
A : $CATALINA
B : $CATALINA_HOME
C : $HOME
D : None of these
Q.no 7. Which one of the following is correct syntax for directive in JSP
A : <%@directive%>
B : <%!directive%>
C : <%directive%>
D : <%=directive%>
Q.no 8. Which CSS property is used to control the text size of an element ?
A : font-style
B : text-size
C : font-size
D : text-style
A : NaN()
B : isNaN()
C : Both of above
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 31/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
D : None of above
Q.no 10. Find the correct syntax of the declaration which defines the XML Version?
D : Through Software
Q.no 13. jQuery method to set one or more style properties for selected elements?
A : style()
B : css()
C : html()
D : None
A : true
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 32/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
B : Flase
C : Depends on website
D : Depends on server
A : JavaBeans
B : EJB,COBRA
C : JDO
D : All above
Q.no 17. Which character in the XML Element will generate an error because the parser
interprets it as the start of a new element?
A:"<"
B : "&"
C : Both A & B
Q.no 18. tag is an extension to HTML that can enclose any number of JavaScript
statements.
A : <SCRIPT>
B : <BODY>
C : <HEAD>
D : <TITLE>
A : request
B : response
C : cookie
D : session
A : Microsoft
B : Navigator
C : LiveWire
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 33/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
D : Native
A : element.getID
B : innerHTML
C : getContent()
D : getHTML()
A : Brad Green
B : Misko Hevery
C : Adam Abrons
D : Adam Nass
A : jsp:forward
B : jsp:include
C : jsp:useBean
D : Jsp:import
A : Transport information
B : Style information
C : Store information
D : Structure information
Q.no 26. ActionServlet, RequestProcessor and Action classes are the components of
A : View
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 34/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
B : Model
C : Controller
D : Deployment
A:"<"
B : "&"
C : Both A & B
A : <%! comment%>
B : <%@ comment%>
C : <%= comment%>
D : <%-- comment--%>
A : WWW
B : SMTP
C : HTTP
D : SNMP
B : void jspDestroy()
Q.no 31. What will be the output of below mentioned code snippet?
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 35/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
Q.no 32. Which superglobal variable holds information about headers, paths, and script
locations?
A : $_SERVER
B : $_GET
C : $_SESSION
D : $_GLOBALS
A : angular.module();
C : module.create();
D : angular.create();
Q.no 34. What is the correct syntax for referring to an external script called " abc.js"?
A : $(".test").hide()
B : $("#test").hide()
C : Both of above
D : None of above
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 36/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : Java
B : Javascript
C : Typescript
D : VB script
Q.no 39. Which of the following method is used to hide the selected elements?
A : visible(false)
B : hidden()
C : display(none)
D : hide()
var a = 10;
document.write(a=20);
A : Error
B : Nothing is printed
C : 10
D : 20
Q.no 41. Which of the following method can be used to read a multiple values with same
name, for example check box selections in JSP?
A : request.getParameter()
B : response.getParameter()
C : request.getParameterValues()
D : response.getParameterValues()
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 37/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
Q.no 42. When a user views a page containing a JavaScript program, which machine actually
executes the script?
Q.no 43. Which of the following HTTP method should be used to get list the supported
operations in RESTful web service?
A : GET
B : HEAD
C : PUT
D : OPTIONS
Q.no 44. Which of the following is true about init() method of servlet?
A : The init() method loads new data for each service request of the servlet.
B : The init() method is called again and again for each user request.
A : 11
B : 12
C : 13
D : 10
Q.no 46. In servet, the line of code that retrieves session ID specified by the client is
A : request.getRequestedSessionId()
B : response.getRequestedSessionId()
C : Header.getRequestedSessionId()
D : request.getId()
Q.no 47. The method of an Array object adds and/or removes elements from an
array.
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 38/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : Reverse
B : Shift
C : Slice
D : Splice
Q.no 48. Which of the following selector selects the elements that are the default among a set
of similar elements?
A : :default
B : :%
C : :disabled
Q.no 49. Using function, we can hold or release the execution of jQuery’s ready
event.
A : jQuery.holdReady()
B : jQuery.ready()
C : jQuery.hold()
D : jQuery.holdready()
Q.no 50. Which of the following attribute is used to mark a page as error processing page
A : errorPage
B : isErrorPage
C : exception
D : exceptionPage
A : p with id
B : p with class
C : p with name
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 39/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
Q.no 52. Which of the following method can be used to get the multiple values of a parameter
like checkbox data?
A : request.getParameter()
B : header.getParameterNames()
C : request.getParameterValues()
D : request.getParameterNames()
Q.no 53. Which of the methods are used to manage result sets using both associative and
indexed arrays?
A : TCP
B : HTTP
C : UDP
D : SMTP
Q.no 55. Which of the following function returns the number of characters in a string
variable?
A : count($variable)
B : len($variable)
C : strcount($variable)
D : strlen($variable)
Q.no 56. Which one of the following methods can be used to diagnose and display information
about a MySQL connection error?
A : connect_errno()
B : connect_error()
C : mysqli_connect_errno()
D : mysqli_connect_error()
A : commit()
B : undo()
C : back()
D : rollback()
Q.no 58. If there is no error, then what will the error() method return?
A : true
B : false
C : Empty String
D:0
Q.no 59. DTD includes the specifications about the markup that can be used within the
document, the specifications consists of all EXCEPT
C : entity declarations
D : element declarations
Q.no 60. What is included in phpinfo ( ) function with release of PHP5.2.1 version?
A : A header tag
B : A footer tag
C : A Meta tag
D : Title Tag
Answers
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 42/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 43/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : User
B : Loosely
C : Server
D : System
Q.no 2. In which application can XML be used for marking up documents for specialized
applications, such as e-commerce, scientific documents, Mathematical formula and e-books?
B : Data storage
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 44/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
C : Specialized publishing
Q.no 3. If we want to wrap a block of text around an image, which css property will we use ?
A : wrap
B : push
C : float
D : align
A : run()
B : destroy()
C : execute()
D : service()
A : 2names
B : _first_and_last_names
C : FirstAndLast
A : pageContext
B : servletContext
C : httpContext
D : sessionContext
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 45/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
Q.no 8. Which attribute can be added to many HTML / XHTML elements to identify them as
a member of a specific group ?
A : Id
B : div
C : class
D : span
Q.no 9. If we want define style for an unique element, then which css selector will we use ?
A : Id
B : text
C : class
D : name
A : Abstract class
B : Interface
C : Concreate class
D : Public class
Q.no 13. Which of the following is true about isELIgnored Attribute in JSP
A : The isELIgnored option gives you the ability to disable the evaluation of scriplets
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 46/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
B : The isELIgnored option gives you the ability to disable the evaluation of java code in jsp.
C : The isELIgnored option gives you the ability to disable the evaluation of Expression Language
(EL) expressions in JSP .
D : The isELIgnored option gives you the ability to enable the evaluation of scriplets
Q.no 14. When we write <img src="img.png">, what "img.png" inside double quote implies?
A : element
B : attribute
C : value
D : operator
A : append
B : push
D : None of above
A : ActionErrors
B : ActionForward
C : ActionMapping
D : ActionError
A : <js>
B : <scripting>
C : <script>
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 47/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
D : <javascript>
A : nodejs sample.js
B : node sample.js
C : sample.js
D:0
A : <myElement myAttribute="someValue"/>
B : <myElement myAttribute=someValue/>
C : <myElement myAttribute=’someValue’>
D : <myElement myAttribute="someValue’/>
A : Out
B : Write
C : Echo
D : Display
Q.no 25. Which of the following is true about Initialization phase in JSP life cycle?
B : When a container loads a JSP it invokes the jspInit() method before servicing any requests.
C : jspInit() method is called every time during each service request to JSP.
Q.no 26. Which of the following type of variable is visible everywhere in your JavaScript
code?
A : global variable
B : local variable
Q.no 27. Which of the following is not the scope of Variable in PHP?
A : local
B : global
C : static
D : extern
A : <%@ expression%>
B : <%! expression%>
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 49/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
D : <%-- expression%>
A : node-static
B : http
C : node-resource
D : static
A : Catalina
B : Tomcat sink
C : Casper
D : Jasper
Q.no 32. Which of the following array represents an array with strings as index?
A : Numeric Array
B : Associative Array
C : Multidimentional Array
D : Normal Array
Q.no 33. Which of the following elements are block and inline elements, respectively, that
have no particular rendering?
A : div
B : span
C : box-model
<script>
document.write(2+2 + " = 2 plus 2");
</script>
A : 2+2+ = 2 plus 2
B : 4 + = 2 plus 2
C : 4 = 2 plus 2
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 50/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
D : Syntax Error
var a = '10';
var b = a = 20;
document.write(a+b);
A : Error in Script
B : 10'20
C : 1020
D : 40
Q.no 36. Which of the following selector selects all elements of E that have the attribute attr
that end with the given value?
A : E[attr^=value]
B : E[attr$=value]
C : E[attr*=value]
Q.no 37. In Which technology Struts 2 provides various types of tags such as UI tags, Data
tags, control tags etc. to ease the development of struts 2 application?
B : Integration Support
Q.no 38. A similar rule called the is specified using the plus sign (+) and is used
to select elements that would be siblings of each other.
A : class selectors
B : attribute selectors
C : adjacent-sibling selector
Q.no 39. What should appear at the very end of your JavaScript?
The <script LANGUAGE="JavaScript">tag
A : The </script>
B : The <script>
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 51/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
Q.no 40. Which of the following is the format for EJB deployment descriptor files?
A : XML
B : XSL
C : HTML
D : Java
Q.no 42. Which is used to make asynchronous request i.e. it doesn't block the user and it
sends only required field data to the server side not all, So it makes the performance fast?
A : AJAX Support
B : Integration Support
A : module.expose
B : module
C : module.exports
D : module.in
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 52/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
Q.no 45. Which of following object can be used to access other implicit objects in JSP.
A : request
B : page
C : response
D : pageContext
Q.no 46. Which attribute of JSP page directive defines the MIME type of the HTTP response
A : Import
B : Extends
C : contentType
D : info
A : J2EE
B : DHTML
C : XML/XSLT
D : JavaScript
Q.no 48. Which of the following is used to get information sent via get method in PHP?
A : $_GET
B : $GET
C : $GETREQUEST
D : $GETR
Q.no 49. In AngulsrJS HTML document is loaded and evaluated first in the browser. Mean
while in AngularJS ?
D : All of above
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 53/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
Q.no 51. If a jsp has to generate a pdf page, what attribute of page directive it should use?
A : contentXML
B : generateXML
C : contentType
D : typeXML
Q.no 53. Which of the following is the Web application equivalent to querySelectorAll()?
A : #()
B : &()
C : $()
Q.no 54. Which of the following methods is used to execute the statement after the parameters
have been bound?
A : bind_param()
B : bind_result()
C : bound_param()
D : bound_result()
Q.no 55. Which method returns the error code generated from the execution of the last
MySQL function?
A : errno()
B : errnumber()
C : errorno()
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 54/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
D : errornumber()
Q.no 57. Which one of the following statements can be used to select the database?
A : $mysqli=select_db(‘databasename’);
B : mysqli=select_db(‘databasename’);
C : mysqli->select_db(‘databasename’);
D : $mysqli->select_db(‘databasename’);
B : XSLT uses a set of rules that govern how a document is to be materialized is created.
A : Willam Makepiece
B : Drek Kolkevi
C : Rasmus Lerdorf
D : List Barely
Q.no 60. A function in PHP which starts with (double underscore) is known as
A : Inbuilt Function
B : Magic Function
C : Default Function
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 55/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
Answers
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 57/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
Q.no 1. Which of the following code retrieves the value of a request parameter in servlet?
A : Header.getParameter(name)
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 58/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
B : response.getParameter(name)
C : request.getAttributeNames()
D : request.getParameter(name)
C : more dynamic
D : static only
Q.no 3. Which event handler is triggered when the user’s mouse moves onto a link?
A : onMouseOver
B : onMouseOut
C : onMouse
D : onMouseOnto
A : <%! declaration%>
B : <%= declaration%>
C : <%-- declaration%>
D : <%@ declaration%
Q.no 5. Which of the following component of HTTP request is used to indicate HTTP
version?
A : VERB
B : URI
C : HTTP Version
D : Request Header
A:$
B:&
C:!
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 59/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
D:*
Q.no 7. Which of the following method can be used to read a form parameter in JSP?
A : response.getParameter()
B : request.getParameter()
C : request.getValue()
D : response.getValue()
A : jsp:forward
B : jsp:include
C : jsp:useBean
D : Jsp:import
A : ng-init
B : ng-app
C : ngSrc
D : ng-start
Q.no 10. Which of the following directive allows to use froms in angular Js
A : ng-include
B : ng-form
C : ng-directive
D : ng-bind
A : yes
B : no
C : always
D : never
Q.no 13. Which JSP Action tags is used to include the content of another resource, like jsp,
html or servlet?
A : jsp:plugin
B : jsp:include
C : jsp:forward
D : jsp:useBean
Q.no 15. If we don't want to allow a floating div to the left side of an element, which css
property will we use ?
A : margin
B : clear
C : float
D : padding
Q.no 17. Which of the following statement is correct about HTTP Get method.
A : GET method is used to appends form data to the URL in the page request.
B : The GET method is a secure method to pass information from browser to web server.
C : GET requests do not have any data length restrictions for data tranfer.
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 61/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
Q.no 18. Which of the following component of HTTP response contains response message
content or Resource representation?
A : Status/Response Code
B : HTTP Version
C : Response Header
D : Response Body
Q.no 19. If we want to use a nice looking green dotted border around an image, which css
property will we use?
A : border-color
B : border-decoration
C : border-style
D : border-line
Q.no 21. The following example shows which XML Syntax rule,
< note date=" 12/11/2007">
< to>Tove< /to>
< from>Jani< /from>
< /note>
Q.no 22. What should be the table width, so that the width of a table adjust to the current
width of the browser window?
A : 640 pixels
B:1
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 62/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
C : full-screen
D : 1024 px
Q.no 23. Which Method is used to find element using class name
A : findElementByClassName()
B : getElementByClassName()
C : className()
D : getClass()
A : Node
B : Attributes
C : Elements
D : Arrays
Q.no 25. Which is a software- and hardware-independent tool for carrying information?
A : HTML
B : XML
C : Both A & B
Q.no 26. Which of the following is the correct order of servlet life cycle phase methods?
A : a.sort()
B : sort(a)
C : a = sort()
D : None of above
Q.no 28. Which Web browser is the least optimized for Microsoft's version of AJAX?
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 63/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : Firefox
B : Opera
C : Safari
D : Internet Explorer
A : Data storage
B : Data sharing
C : Both A & B
Q.no 30. How can we write comment along with CSS code ?
A : /* a comment */
B : // a comment //
C : / a comment /
D : <' a comment'>
Q.no 31. What is the easy way add extra Functionality in CMS?
A : Using Plugins/Extensions
Q.no 32. The attribute is used to define the name(s) of the class(es) to which a
particular tag belongs.
A : class
B : element
C : id
Q.no 33. Which of the following selector selects the elements that are checked?
A:E~F
B : ::after
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 64/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
C : :checked
Q.no 34. Which of the following class is used to create and consume custom events in Node.js?
A : EventEmitter
B : Events
C : NodeEvent
D : NodeEmitter
Q.no 35. Which one of these legendary Greek mythical figures or places is the code name for
Microsoft's version of AJAX ?
A : Oracle
B : Atlas
C : Hercules
D : Delphi
Q.no 36. Which of the following is used to access session variables in PHP?
A : session_start() function
B : $_SESSION[]
C : isset() function
D : session_destroy() function
B : It provides a means of exchanging structured data between the Web server and client
C : It provides the ability to asynchronously exchange data between Web browsers and a Web
server.
D : It provides the ability to mark up and style the display of Web-page text.
Q.no 38. Which EJB container must provide an implementation of Java Naming and
Directory Interface (JNDI) API to provide naming services for EJB clients and components?
A : Transaction support
B : Persistence support
C : Naming support
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 65/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
Q.no 39. Which of the following code is used to get names of the attributes in servlet
A : response.getAttributeNames()
B : request.getAttributeNames()
C : Header.getAttributeNames()
A : response.createCookie(cookie)
B : response.sendCookie(cookie)
C : response.addCookie(cookie)
A : Request
B : HttpServletRequest
C : HttpRequest
D : ServletRequest
Q.no 42. Which of the following method can be used to read parameters names in JSP?
A : request.getParameter()
B : response.getParameter()
C : request.getParameterNames()
D : response.getParameterNames()
Q.no 43. What is the correct JavaScript syntax to write "Hello World"?
A : System.out.println("Hello World")
C : document.write("Hello World")
D : response.write("Hello World")
C : display logic
D : display view
Q.no 45. Which of the following code is used to get cookies in servlet?
A : response.getCookies()
B : request.getCookies()
C : Cookies.getCookies()
D : servlet.Cookies()
Q.no 46. What is the correct way to open the file "time.txt" as readable?
A : fopen("time.txt","r");
B : open("time.txt","read");
C : fopen("time.txt","r+");
D : open("time.txt");
A : Xpath
B : XSLT
C : Xlink
D : Xpointer
Q.no 48. Which of the following attributes are mandatory in <jsp:getProperty /> tag
A : name, property
B : type, id
C : name, type
D : id, property
A : PHP format
B : HTML format
C : PDF format
D : XML format
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 67/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
Q.no 50. Which is currect one to hide class element using jquery
A : $(".test").hide()
B : $("#test").hide()
C : Both of above
D : None of above
sum(1, 2, 3,4,5);
A:2
B:5
C : 15
D : None of above
Q.no 52. Which of the following code retrieves the login of the user making this request?
A : request.getRemoteUser()
B : response.getRemoteUser()
C : Header.getRemoteUser()
D : servlet.getRemoteUser()
A : xml:lang
B : xml:space
C : both
D : none
Q.no 54. The XSl formatting object which formats the data and caption of a table is
A : table
B : table-content
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 68/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
C : table-text
B : One of its design goals is that Java code written for one DOM-compliant parser should run on
any other DOM-compliant parser without changes
Q.no 56. Which of the methods are used to manage result sets using both associative and
indexed arrays?
Q.no 57. jQuery code to set the background color of all span elements to blue?
A : $("span").style("background-color","blue");
B : $("span").manipulate("background-color","blue");
C : $("span").css("background-color","blue");
D : $("span").layout("background-color","blue");
D : Sesion tarcking
D : None of these
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 69/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
Q.no 60. Which of the following code is used to remove a HTTP Session object in servlets?
A : session.invalidate()
B : response.deleteSession()
C : session.delete()
D : request.deleteSession()
Answers
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 71/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 72/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
Q.no 1. Which of the following type of variable is visible everywhere in your JavaScript code?
A : global variable
B : local variable
A:"<"
B : "&"
C : Both A & B
C : $ install express
D : #update express
A : image = “url”
B : source(“url”)
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 73/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
C : image.src = “url”
D : img.src=”url”
A : is a programe
B : is a country name
D : class name
B : < !-- ?
D : < ?-- ?
D : Through Software
A : 8080
B : 7001
C : 8010
D : 9001
A : document.createElement()
B : document.createNewElement()
C : newElement()
D : document.HTMLElement()
C : Both of These
D : None
Q.no 13. Which of the following tag is used to render a I18n text message?
A : set tag
B : ext tag
C : url tag
D : push tag
A : Java applet
B : Java servlet
C : Java EJB
D : Java Struts
Q.no 15. Which method is used to set or reset CSS property in Jquery
A : selector.CSS()
B : $(selector).css()
C : $(selector).style()
D : None of above
A : Client
B : Server
C : Object
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 75/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
Q.no 17. A PHP script should start with and end with :
C:<??>
Q.no 18. Which character in the XML Element will generate an error because the parser
interprets it as the start of a new element?
A:"<"
B : "&"
C : Both A & B
var a = 10;
var b = 0;
document.write(a/b);
A : Nothing is printed
B : 0 is printed
C : Infinity is printed
A : <myElement myAttribute="someValue"/>
B : <myElement myAttribute=someValue/>
C : <myElement myAttribute=’someValue’>
D : <myElement myAttribute="someValue’/>
A : CSS
B : DOM
C : DHTML
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 76/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
D : Flash
A : true
B : Flase
C : Depends on website
D : Depends on server
A : Eclipse
B : Apache tomcat
C : Netbeans
D : it is framework only
A : Microsoft
B : Navigator
C : LiveWire
D : Native
A : Abstract class
B : Interface
C : Concreate class
D : Public class
Q.no 27. Which role in EJB architecture is responsible for EJB Server?
A : EJB Deployer
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 77/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
B : Application Assembler
C : Network Engineer
D : Server Provider
B : "Hello World";
C : Document.Write("Hello World");
D : print "hello"
Q.no 30. Which of the following EJB type has no Remote interfaces?
A : Message-Driven Bean
D : Session Bean
Q.no 31. Which of the following code is used to get names of the parameters in servlet?
A : servlet.getParameterNames()
B : header.getParameterNames()
C : response.getParameterNames()
D : request.getParameterNames()
p {line-height: 150%;}
A : class Selectors
B : element Selectors
C : id Selectors
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 78/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
Q.no 33. A new web browser window can be opened using which method of the Window
object ?
A : createtab()
B : Window.open()
C : open()
A : Window Object
B : Document Object
C : Form Object
Q.no 35. Which of the followings are valid languages for Node.js?
A : JavaScript
B : Java
C : c++
D : C#
A : Application Module
B : constant
C : value
D : factory
Q.no 37. The Bootstrap grid system is based on how many columns?
A:6
B : 12
C:9
D:3
Q.no 38. Which type of validation we must implement the Validateable interface (or extend
ActionSupport class) and provide the implementation of validate method?
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 79/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : By Input Validation
B : By Ajax Validation
C : By Custom Validation
D:0
Q.no 39. What is the correct way to add 1 to the $count variable?
A : $count++;
B : ++count
C : $count =+1
D : count++;
C : it is routine
D : it is distributed
Q.no 41. Which attribute of JSP page directive defines the MIME type of the HTTP response
A : Import
B : Extends
C : contentType
D : info
Q.no 42. Which is a currect Jquery Syntax to hide all paragraph elements
A : ("p").hide()
B : $("p").hide()
C : $hide("p")
D : p.hide()
A : class rule
B : element rule
C : id rule
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 80/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
B : x = obj(firstName:"John", lastName:"Doe")
C : Both of above
D : None of above
A : module.expose
B : module
C : module.exports
D : module.in
var a = 'cpp';
var b = 'buzz';
var c = a/b;
document.write(c);
A : cppbuzz
B : cpp/buzz
C : NaN
Q.no 47. Which of the following event fires when the form element loses the focus: <button>,
<input>, <label>, <select>, <textarea>?
A : onfocus
B : onblur
C : onclick
D : ondblclick
Q.no 48. Which of the following php statement/statements will store 111 in variable num?
i) int $num = 111;
ii) int mum = 111;
iii) $num = 111;
iv) 111 = $num;
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 81/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
B : Only (iii)
C : Only (i)
D : Only (ii)
Q.no 49. Which of the following statement is true about the destroy() method of servlet?
A : The destroy() method is called multiple times during the life cycle of a servlet
B : The destroy() method is called only once at the end of the life cycle of a servlet.
C : The destroy() method is called after the servlet has executed service method.
D : The destroy() method is called is never called during the life cycle of a servlet.
A : function myFunction()
B : create myFunction()
C : new_function myFunction()
D : del myfunction()
Q.no 51. AngularJS can show or hide HTML depending on the state of data in the model. You
do so using a set of AngularJS directives such as ........... which are created specifically for that
purpose.
A : ng-shown, ng-hidden
B : ng-show, ng-hide
C : nt-show, nt-hide
D : ng-shows, ng-hides
A : MySQL
B : Oracle
C : PostgresSQL
D : MS SQLServer
B : it contain an element
D : must contain one or more elements and root element must contain all other elements
sum(1, 2, 3);
A:2
B:6
C:1
D:7
Q.no 55. Which types of image maps can be used with JavaScript?
A : XML is technology independent. It can be used by any technology for data storage and
transmission purpose.
A : (i) is correct
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 83/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : Database service
C : Network Service
D : Web Service
Q.no 59. To add the attribute named Type to the <customer> tag the syntax will be
Answers
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 85/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 86/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : HTML
B : XML
C : Both A & B
A : append
B : push
D : None of above
A : Java Servlets are programs that run on a Web server or Application server.
B : Java Servlets are the program that run in the web browser space.
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 87/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
C : Java Servlets are client side programs that run on a client side
A : User
B : Loosely
C : Server
D : System
A : <%@ expression%>
B : <%! expression%>
D : <%-- expression%>
Q.no 6. In which application can XML be used for marking up documents for specialized
applications, such as e-commerce, scientific documents, Mathematical formula and e-books?
B : Data storage
C : Specialized publishing
A : Server-side
B : Client-side
C : Browser-side
D : In-side
A : Independent
B : dependent
C : sometime dependent
D : sometine independent
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 88/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : Transport information
B : Style information
C : Store information
D : Structure information
A : yes
B : no
C : partially no
D : partially yes
A : Node
B : Attributes
C : Elements
D : Arrays
Q.no 13. In WordPress, what is the user role with the highest privilege level?
A : Administrator
B : Author
C : Editor
D : Contributor
A : transactional components
D : server-side components
Q.no 15. Suppose we want to arrange five nos. of DIVs so that DIV4 is placed above DIV1.
Now, which css property will we use to control the order of stack?
A : d-index
B : s-index
C : x-index
D : z-index
A : request
B : response
C : cookie
D : session
A : comma
B : semicolon
C : Question mark
D : Dollar sign
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 90/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
Q.no 20. Which of the following layer in Web Service Protocol Stack is responsible for
centralizing services into a common registry and providing easy publish/find functionality?
A : Service Transport
B : XML Messaging
C : Service Description
D : Service Discovery
Q.no 21. Which JSP Action tags is used to include the content of another resource, like jsp,
html or servlet?
A : jsp:plugin
B : jsp:include
C : jsp:forward
D : jsp:useBean
A : yes
B : no
C : always
D : never
Q.no 23. Which of the following properties will we use to display border around a cell without
any content ?
A : empty-cell
B : blank-cell
C : noncontent-cell
D : void-cell
Q.no 24. Find the correct syntax of the declaration which defines the XML Version?
Q.no 25. What should be the table width, so that the width of a table adjust to the current
width of the browser window?
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 91/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : 640 pixels
B:1
C : full-screen
D : 1024 px
A : <js>
B : <scripting>
C : <script>
D : <javascript>
A : Brad Green
B : Misko Hevery
C : Adam Abrons
D : Adam Nass
A : pageContext
B : servletContext
C : httpContext
D : sessionContext
A : NaN()
B : isNaN()
C : Both of above
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 92/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
D : None of above
Q.no 31. Which of the following class is used to create and consume custom events in Node.js?
A : EventEmitter
B : Events
C : NodeEvent
D : NodeEmitter
A : Catalina
B : Tomcat sink
C : Casper
D : Jasper
Q.no 33. Which of the following attribute is used to mark a page as error processing page
A : errorPage
B : isErrorPage
C : exception
D : exceptionPage
Q.no 35. Which statement is valid in using a Node module fs in a Node based application?
A : var fs = import("fs")
B : import fs
C : package fs
D : var fs = require("fs")
Q.no 36. Which of the following module is required for path specific operations?
A : os module
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 93/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
B : fs module
C : path module
D : ng module
Q.no 37. Which of the followingb tag is used pass information from JSP to included JSP
A : <%jsp:param> tag.
B : <%jsp:page> tag.
C : <%jsp:import> tag
D : <%jsp:useBean> tag
A : deleteCookie(cookie);
B : request.deleteCookie(cookie);
C : cookie.setMaxAge(0)
D : esponse.deleteCookie(cookie);
A : Abstract class
B : Interface
C : Concreate class
D : Package
Q.no 40. Which of the following is used to get information sent via get method in PHP?
A : $_GET
B : $GET
C : $GETREQUEST
D : $GETR
Q.no 41. Which of the following is true about init() method of servlet?
A : The init() method loads new data for each service request of the servlet.
B : The init() method is called again and again for each user request.
Q.no 42. Which EJB container must provide an implementation of Java Naming and
Directory Interface (JNDI) API to provide naming services for EJB clients and components?
A : Transaction support
B : Persistence support
C : Naming support
A : Xpath
B : XSLT
C : Xlink
D : Xpointer
A : Element
B : Window
C : Location
Q.no 45. Which one is standard way to show popup in Java Script?
A : window.alert("cppbuzz");
B : alert("cppbuzz");
C : window("cppbuzz");
D : alert("cppbuzz")
Q.no 47. What is the work of the form control elements in the HTML DOM?
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 95/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
C : Debugging elements
D : Collecting elements
Q.no 48. Which jQuery method is used to switch between adding/removing one or more
classes (for CSS) from selected elements?
A : switchClass()
B : toggleClass()
C : altClass()
D : switch()
Q.no 49. What will be the output of below mentioned code snippet?
Q.no 50. When a user views a page containing a JavaScript program, which machine actually
executes the script?
Q.no 51. Which of the following is the Web application equivalent to querySelectorAll()?
A : #()
B : &()
C : $()
Q.no 52. How Node based web servers are different from traditional web servers?
A : Node based server process request much faster than traditional server.
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 96/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
B : Node based server uses a single threaded model and can services much larger number of
requests than traditional server like Apache HTTP Server.
Q.no 53. The updated MySQL extension released with PHP 5 is typically referred to as..
A : MySQL
B : mysql
C : mysqli
D : mysqly
A : MySQL 4.0
B : MySQL 4.1
C : MySQL 4.2
D : MySQL 4.3
Q.no 55. Which of the following function sorts an array in reverse order?
A : rsort()
B : sort()
C : shuffle()
D : reset()
A : Database
B : Cursor
C : Client
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 97/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
D : FileUpLoad
Q.no 58. DTD includes the specifications about the markup that can be used within the
document, the specifications consists of all EXCEPT
C : entity declarations
D : element declarations
A : JSP Filters are used to intercept requests from a client before they access a resource at back end
B : JSP Filters are used to manipulate responses from server before they are sent back to the client.
Q.no 60. Why a Node.JS code is pretty fast although being written in JavaScript
A : Node.JS internally converts JavaScript code to Java based code and then execute the same
B : Node.JS internally converts JavaScript code to C based code and then execute the same
D:0
Answers
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 99/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 100/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : MV
B : MMVC
C : MVC
D : MC
Q.no 2. Which of the following component of HTTP request is used to indicate HTTP
version?
A : VERB
B : URI
C : HTTP Version
D : Request Header
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 101/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : JavaBeans
B : EJB,COBRA
C : JDO
D : All above
A : /* a comment */
B : // a comment //
C : / a comment /
D : <' a comment'>
A : Cookies are text files stored on the client computer and they are kept for various information
tracking purpose.
B : Cookies are binary files stored on the server computer and they are kept for various information
tracking purpose.
C : Cookies are binary files stored on the client computer and they are kept for data storage
purpose.
Q.no 6. tag is an extension to HTML that can enclose any number of JavaScript
statements.
A : <SCRIPT>
B : <BODY>
C : <HEAD>
D : <TITLE>
B : < !-- ?
D : < ?-- ?
Q.no 8. If we want to wrap a block of text around an image, which css property will we use ?
A : wrap
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 102/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
B : push
C : float
D : align
A : stateless
B : stateful
C : No State
D : All state
A : Html
B : JSP
C : JavaScript
D : CSS
Q.no 11. Which of the following type of variable is visible everywhere in your JavaScript
code?
A : global variable
B : local variable
Q.no 12. Which event handler is triggered when the user’s mouse moves onto a link?
A : onMouseOver
B : onMouseOut
C : onMouse
D : onMouseOnto
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 103/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : A web server
B : An application server
C : An EJB container
D : A database server
A : Microsoft
B : IBM
C : Google
D : SunMicrosystem
Q.no 17. If we want to show an Arrow as cursor, then which value we will use ?
A : pointer
B : default
C : arrow
D : arr
A : C++
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 104/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
B:C
C : Java
D : Python
Q.no 20. A PHP script should start with and end with :
C:<??>
Q.no 21. Which of the following represents the root of the Tomcat installation
A : $CATALINA
B : $CATALINA_HOME
C : $HOME
D : None of these
Q.no 22. Which css property you will use if you want to add some margin between a DIV's
border and its inner text ?
A : spacing
B : margin
C : padding
D : inner-margin
Q.no 24. When a user views a page containing a JavaScript program, which machine actually
executes the script?
A : run()
B : destroy()
C : execute()
D : service()
A : WWW
B : SMTP
C : HTTP
D : SNMP
Q.no 27. The following example shows which XML Syntax rule,
< note date=" 12/11/2007">
< to>Tove< /to>
< from>Jani< /from>
< /note>
B : Hypertext Preprocessor
Q.no 30. JavaScript statements embedded in an HTML page can respond to user
events such as mouse-clicks, form input, and page navigation.
A : Client-side
B : Server-side
C : Local
D : Native
Q.no 31. Which is currect one to hide class element using jquery
A : $(".test").hide()
B : $("#test").hide()
C : Both of above
D : None of above
A : J2EE
B : DHTML
C : XML/XSLT
D : JavaScript
Q.no 33. In AngulsrJS HTML document is loaded and evaluated first in the browser. Mean
while in AngularJS ?
D : All of above
A : Document Path
B : localStorage
C : sessionStorage
C : Both a and b
A : Java
B : Javascript
C : Typescript
D : VB script
var a = '10';
var b = a = 20;
document.write(a+b);
A : Error in Script
B : 10'20
C : 1020
D : 40
A : Response
B : HttpResponse
C : HttpServletResponse
D : ServletResponse
Q.no 40. What is the easy way add extra Functionality in CMS?
A : Using Plugins/Extensions
Q.no 41. The attribute is used to define the name(s) of the class(es) to which a
particular tag belongs.
A : class
B : element
C : id
Q.no 42. Which of the following php statement/statements will store 111 in variable num?
i) int $num = 111;
ii) int mum = 111;
iii) $num = 111;
iv) 111 = $num;
B : Only (iii)
C : Only (i)
D : Only (ii)
A : ng
B : ng-app
C : ng-config
D : restore
Q.no 44. Which is a currect Jquery Syntax to hide all paragraph elements
A : ("p").hide()
B : $("p").hide()
C : $hide("p")
D : p.hide()
Q.no 45. Which of the following tool automates various tasks of Node.js application
A : Express.js
B : GruntJS
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 109/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
C : . NPM
D : .MS
<script>
document.write(2+2 + " = 2 plus 2");
</script>
A : 2+2+ = 2 plus 2
B : 4 + = 2 plus 2
C : 4 = 2 plus 2
D : Syntax Error
A : module.expose
B : module
C : module.exports
D : module.in
A : Application Module
B : constant
C : value
D : Factory
Q.no 49. Correct way of accessing javascript object var person = {firstName:"John",
lastName:"Doe"}
A : person.lastName;
B : person#lastName
C : lastName
D : None of above
A : 11
B : 12
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 110/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
C : 13
D : 10
Q.no 51. The events that represents occurrences related to the browser window are
A : Window
B : Element
C : Display
D : Handlers
A : Object
B : Class
D : Array
Q.no 53. Which of the methods are used to manage result sets using both associative and
indexed arrays?
Q.no 54. Which one of the following methods can be used to diagnose and display information
about a MySQL connection error?
A : connect_errno()
B : connect_error()
C : mysqli_connect_errno()
D : mysqli_connect_error()
A : Database service
C : Network Service
D : Web Service
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 111/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
D : Both A and C
Q.no 58. Which of the following stands true for dns.lookup(hostname[, options], callback)
method?
D:0
A : xml file
B : dtd file
C : xsl file
D : Both 1 and 2
Q.no 60. Which one of the following methods is responsible for sending the query to the
database?
A : query()
B : send_query()
C : sendquery()
D : query_send()
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 112/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
Answers
Question No 60.
is a
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 114/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 115/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A:$
B:&
C:!
D:*
D : Both A & C
A : request
B : response
C : cookie
D : session
A : Design
B : Verify
C : Transport
D : Both A & B
A : ng-disabled
B : ng-hide
C : ng-false
D : ng-true
A : <src>
B : <link>
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 116/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
C : <style>
D : <css>
A : <%! comment%>
B : <%@ comment%>
C : <%= comment%>
D : <%-- comment--%>
A : Transport information
B : Style information
C : Store information
D : Structure information
A : selector.CSS()
B : $(selector).css()
C : $(selector).style()
D : None of above
Q.no 10. Which of the following tags in struts-config.xml file defines the availability of
necessary Struts JSP custom tag libraries?
A : jsp-lib
B : struts-taglib
C : taglib
D : jsp-taglib
Q.no 11. Which Method is used to find element using class name
A : findElementByClassName()
B : getElementByClassName()
C : className()
D : getClass()
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 117/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : <%! declaration%>
B : <%= declaration%>
C : <%-- declaration%>
D : <%@ declaration%
Q.no 13. Which of the following statement is correct about HTTP Get method.
A : GET method is used to appends form data to the URL in the page request.
B : The GET method is a secure method to pass information from browser to web server.
C : GET requests do not have any data length restrictions for data tranfer.
<firstElement>
Q.no 17. Which of the following layer in Web Service Protocol Stack is responsible for
transporting messages between applications?
A : Service Transport
B : XML Messaging
C : Service Description
D : Service Discovery
Q.no 18. Which is a software- and hardware-independent tool for carrying information?
A : HTML
B : XML
C : Both A & B
Q.no 20. Which of the following layer in Web Service Protocol Stack is responsible for
encoding messages in a common XML format so that messages can be understood at either
end?
A : Service Transport
B : XML Messaging
C : Service Description
D : Service Discovery
A : pageContext
B : servletContext
C : httpContext
D : sessionContext
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 119/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : Data storage
B : Data sharing
C : Both A & B
A : Microsoft
B : Navigator
C : LiveWire
D : Native
D : new mod()
B : "Hello World";
C : Document.Write("Hello World");
D : print "hello"
Q.no 27. Which one of the following is correct syntax for directive in JSP
A : <%@directive%>
B : <%!directive%>
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 120/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
C : <%directive%>
D : <%=directive%>
var a;
document.write(a);
A:0
B : undefined
C : error
D : NaN
Q.no 29. What does the hash (#) sign mean in PHP?
D : No uses in PHP.
Q.no 31. In the model-view-controller (MVC) architecture, the model defines the
A : Data-access layer
B : Presentation layer
C : Business-logic layer
D : Interface layer
Q.no 32. Which of the following statement is true about the destroy() method of servlet?
A : The destroy() method is called multiple times during the life cycle of a servlet
B : The destroy() method is called only once at the end of the life cycle of a servlet.
C : The destroy() method is called after the servlet has executed service method.
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 121/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
D : The destroy() method is called is never called during the life cycle of a servlet.
A : Abstract class
B : Interface
C : Concreate class
D : Package
Q.no 34. Which of the following method can be used to read parameters names in JSP?
A : request.getParameter()
B : response.getParameter()
C : request.getParameterNames()
D : response.getParameterNames()
Q.no 35. Which of following object can be used to access other implicit objects in JSP.
A : request
B : page
C : response
D : pageContext
Q.no 36. Which of the following HTTP method should be used to get list the supported
operations in RESTful web service?
A : GET
B : HEAD
C : PUT
D : OPTIONS
Q.no 37. Using function, we can hold or release the execution of jQuery’s ready
event.
A : jQuery.holdReady()
B : jQuery.ready()
C : jQuery.hold()
D : jQuery.holdready()
Q.no 38. What angular function is used to manually start up an angular application?
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 122/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : angular.bootstrap
B : angular.element
C : angular.copy
Q.no 39. Which of the followingb tag is used pass information from JSP to included JSP
A : <%jsp:param> tag.
B : <%jsp:page> tag.
C : <%jsp:import> tag
D : <%jsp:useBean> tag
A : background-color
B : border
C : color
D : display
Q.no 41. Which one of these legendary Greek mythical figures or places is the code name for
Microsoft's version of AJAX ?
A : Oracle
B : Atlas
C : Hercules
D : Delphi
B : Use of CommetD
C : Use of Polling
D : Use of include
Q.no 43. Which of the following is the format for EJB deployment descriptor files?
A : XML
B : XSL
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 123/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
C : HTML
D : Java
C : display logic
D : display view
Q.no 45. Which of the following is used to access session variables in PHP?
A : session_start() function
B : $_SESSION[]
C : isset() function
D : session_destroy() function
Q.no 46. Which of the following code is used to get session in servlet
A : response.getSession()
B : serveltSession.getSession()
C : new Session()
D : request.getSession()
Q.no 47. Which of the following selector selects all elements of E that have the attribute attr
that end with the given value?
A : E[attr^=value]
B : E[attr$=value]
C : E[attr*=value]
Q.no 48. Which is used to make asynchronous request i.e. it doesn't block the user and it
sends only required field data to the server side not all, So it makes the performance fast?
A : AJAX Support
B : Integration Support
A : PHP format
B : HTML format
C : PDF format
D : XML format
Q.no 50. Of the following technologies, which one provides the ability to
dynamically interact with Web page layout?
A : JavaScript.
B : XML.
D : HTML.
Q.no 51. Which of the following code can be used to clear the content of the underlying buffer
in the response without clearing headers or status code
A : response.resetBuffer()
B : response.reset()
C : request.reset()
D : response.Buffer()
Q.no 52. jQuery code to set the background color of all span elements to blue?
A : $("span").style("background-color","blue");
B : $("span").manipulate("background-color","blue");
C : $("span").css("background-color","blue");
D : $("span").layout("background-color","blue");
Q.no 53. The .......... directive is used if you want to add or remove HTML elements from the
DOM based on data in the model.
A : ng-switch
B : ng-model
C : ng-Disabled
D : ng-Cloak
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 125/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
D : Sesion tarcking
A : The PHP configuration file, php.ini, is the final and most immediate way to affect PHP's
functionality.
Q.no 56. How Node based web servers are different from traditional web servers?
A : Node based server process request much faster than traditional server.
B : Node based server uses a single threaded model and can services much larger number of
requests than traditional server like Apache HTTP Server.
A : p with id
B : p with class
C : p with name
A : Website
B : Application
C : System Program
D : Operating System
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 126/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
Q.no 59. Which one of the following databases has PHP supported almost since the
beginning?
A : Oracle Database
B : SQL
C : SQL+
D : MySQL
A : This attribute gives exact error message which can be stored and analysed after storing in a
java.lang.String data type.
B : This attribute gives information about exception type which can be stored and analysed after
storing in a java.lang.Class data type.
C : This attribute gives status code which can be stored and analysed after storing in a
java.lang.Integer data type.
D : This attribute gives information about URL calling the servlet and it can be stored and analysed
after storing in a java.lang.String data type.
Answers
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 128/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 129/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
Q.no 1. Which CSS property is used to control the text size of an element ?
A : font-style
B : text-size
C : font-size
D : text-style
A : Select
B : If
C : Switch
D : For
A : a.sort()
B : sort(a)
C : a = sort()
D : None of above
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 130/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : Client
B : Server
C : Object
A : /* a comment */
B : // a comment //
C : / a comment /
D : <' a comment'>
A : Java applet
B : Java servlet
C : Java EJB
D : Java Struts
Q.no 8. Which Web browser is the least optimized for Microsoft's version of AJAX?
A : Firefox
B : Opera
C : Safari
D : Internet Explorer
Q.no 9. If we want to show an Arrow as cursor, then which value we will use ?
A : pointer
B : default
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 131/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
C : arrow
D : arr
A : nodejs sample.js
B : node sample.js
C : sample.js
D:0
Q.no 12. Which of the following is not a valid JavaScript variable name?
A : 2names
B : _first_and_last_names
C : FirstAndLast
Q.no 13. Which of the following represents the root of the Tomcat installation
A : $CATALINA
B : $CATALINA_HOME
C : $HOME
D : None of these
A : lowercase
B : orderby
C : email
D : currency
Q.no 15. We can add new element at the end of existing element using
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 132/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : append
B : new
C : addLast
D : None of above
A : ActionErrors
B : ActionForward
C : ActionMapping
D : ActionError
A : Microsoft
B : Navigator
C : LiveWire
D : Native
var a = 10;
var b = 0;
document.write(a/b);
A : Nothing is printed
B : 0 is printed
C : Infinity is printed
A : run()
B : destroy()
C : execute()
D : service()
Q.no 20. Which of the following is true about isELIgnored Attribute in JSP
A : The isELIgnored option gives you the ability to disable the evaluation of scriplets
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 133/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
B : The isELIgnored option gives you the ability to disable the evaluation of java code in jsp.
C : The isELIgnored option gives you the ability to disable the evaluation of Expression Language
(EL) expressions in JSP .
D : The isELIgnored option gives you the ability to enable the evaluation of scriplets
Q.no 21. Which of the following EJB type has no Remote interfaces?
A : Message-Driven Bean
D : Session Bean
Q.no 22. Which of the following type of variable is visible everywhere in your JavaScript
code?
A : global variable
B : local variable
Q.no 23. If we want define style for an unique element, then which css selector will we use ?
A : Id
B : text
C : class
D : name
Q.no 25. In which application can XML be used for marking up documents for specialized
applications, such as e-commerce, scientific documents, Mathematical formula and e-books?
B : Data storage
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 134/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
C : Specialized publishing
Q.no 26. If we want to use a nice looking green dotted border around an image, which css
property will we use?
A : border-color
B : border-decoration
C : border-style
D : border-line
Q.no 27. If we don't want to allow a floating div to the left side of an element, which css
property will we use ?
A : margin
B : clear
C : float
D : padding
Q.no 28. JavaScript statements embedded in an HTML page can respond to user
events such as mouse-clicks, form input, and page navigation.
A : Client-side
B : Server-side
C : Local
D : Native
Q.no 29. Which character in the XML Element will generate an error because the parser
interprets it as the start of a new element?
A:"<"
B : "&"
C : Both A & B
B : void jspDestroy()
Q.no 31. Which of the following php statement/statements will store 111 in variable num?
i) int $num = 111;
ii) int mum = 111;
iii) $num = 111;
iv) 111 = $num;
B : Only (iii)
C : Only (i)
D : Only (ii)
Q.no 32. Which superglobal variable holds information about headers, paths, and script
locations?
A : $_SERVER
B : $_GET
C : $_SESSION
D : $_GLOBALS
p {line-height: 150%;}
A : class Selectors
B : element Selectors
C : id Selectors
Q.no 34. Which of the following selector selects the elements that are the default among a set
of similar elements?
A : :default
B : :%
C : :disabled
Q.no 35. Which jQuery method is used to switch between adding/removing one or more
classes (for CSS) from selected elements?
A : switchClass()
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 136/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
B : toggleClass()
C : altClass()
D : switch()
Q.no 36. Which of the following type of variables have only two possible values either true or
false?
A : Integers
B : Doubles
C : booleans
D : Strings
A : Catalina
B : Tomcat sink
C : Casper
D : Jasper
A : Java
B : Javascript
C : Typescript
D : VB script
Q.no 39. What is the correct way to add 1 to the $count variable?
A : $count++;
B : ++count
C : $count =+1
D : count++;
Q.no 40. Which of the following array represents an array with strings as index?
A : Numeric Array
B : Associative Array
C : Multidimentional Array
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 137/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
D : Normal Array
Q.no 42. Correct way of accessing javascript object var person = {firstName:"John",
lastName:"Doe"}
A : person.lastName;
B : person#lastName
C : lastName
D : None of above
Q.no 43. Which of the following selector selects the elements that are checked?
A:E~F
B : ::after
C : :checked
Q.no 44. Which of the following is used to get information sent via get method in PHP?
A : $_GET
B : $GET
C : $GETREQUEST
D : $GETR
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 138/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : fs.close(fd, callback)
B : fs.closeFile(fd, callback)
C : fs.closePath(fd, callback)
D : fs.close()
Q.no 47. What is the correct syntax for referring to an external script called " abc.js"?
A : Views
B : Account
C : Shared
D : Home
A : function myFunction()
B : create myFunction()
C : new_function myFunction()
D : del myfunction()
A : class rule
B : element rule
C : id rule
Q.no 51. If para1 is the DOM object for a paragraph, what is the correct syntax to change the
text within the paragraph?
A : "New Text"?
B : para1.value="New Text";
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 139/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
D : para1.nodeValue="New Text";
Q.no 52. AngularJS can show or hide HTML depending on the state of data in the model. You
do so using a set of AngularJS directives such as ........... which are created specifically for that
purpose.
A : ng-shown, ng-hidden
B : ng-show, ng-hide
C : nt-show, nt-hide
D : ng-shows, ng-hides
sum(1, 2, 3);
A:2
B:6
C:1
D:7
A : Willam Makepiece
B : Drek Kolkevi
C : Rasmus Lerdorf
D : List Barely
Q.no 55. Which of the following code retrieves the login of the user making this request?
A : request.getRemoteUser()
B : response.getRemoteUser()
C : Header.getRemoteUser()
D : servlet.getRemoteUser()
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 140/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
Q.no 56. Which one of the following lines need to be uncommented or added in the php.ini file
so as to enable mysqli extension?
A : extension=php_mysqli.dll
B : extension=mysql.dll
C : extension=php_mysqli.dl
D : extension=mysqli.dl
Q.no 57. Which of the following statements is not true about XML Schemas:
Q.no 58. Which of the following method can be used to read binary data stream coming from
the client in JSP ?
A : request.getInputStream()
B : response.getInputStream()
C : request.getInputStreamData()
D : response.getInputStreamData()
Q.no 59. How are the objects organized in the HTML DOM?
A : Class-wise
B : Queue
C : Hierarchy
D : Stack
sum(1, 2, 3,4,5);
A:2
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 141/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
B:5
C : 15
D : None of above
Answers
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 143/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 144/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : element.getID
B : innerHTML
C : getContent()
D : getHTML()
A : Microsoft
B : IBM
C : Google
D : SunMicrosystem
A:1
B:2
C:3
D:4
A:$
B:&
C:!
D:*
Q.no 5. Which of the following layer in Web Service Protocol Stack is responsible for
centralizing services into a common registry and providing easy publish/find functionality?
A : Service Transport
B : XML Messaging
C : Service Description
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 145/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
D : Service Discovery
A : transactional components
D : server-side components
Q.no 7. Which of the following method can be used to read a form parameter in JSP?
A : response.getParameter()
B : request.getParameter()
C : request.getValue()
D : response.getValue()
A : CSS
B : DOM
C : DHTML
D : Flash
Q.no 11. Which of the following component of HTTP response contains response message
content or Resource representation?
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 146/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : Status/Response Code
B : HTTP Version
C : Response Header
D : Response Body
B : < !-- ?
D : < ?-- ?
Q.no 13. ActionServlet, RequestProcessor and Action classes are the components of
A : View
B : Model
C : Controller
D : Deployment
A : Html
B : JSP
C : JavaScript
D : CSS
Q.no 15. Which event handler is triggered when the user’s mouse moves onto a link?
A : onMouseOver
B : onMouseOut
C : onMouse
D : onMouseOnto
A : Brad Green
B : Misko Hevery
C : Adam Abrons
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 147/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
D : Adam Nass
Q.no 17. Which one of the following is correct syntax for directive in JSP
A : <%@directive%>
B : <%!directive%>
C : <%directive%>
D : <%=directive%>
D : Through Software
Q.no 19. Which of the following is not the scope of Variable in PHP?
A : local
B : global
C : static
D : extern
A : JavaBeans
B : EJB,COBRA
C : JDO
D : All above
A : jsp:forward
B : jsp:include
C : jsp:useBean
D : Jsp:import
A : Java Servlets are programs that run on a Web server or Application server.
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 148/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
B : Java Servlets are the program that run in the web browser space.
C : Java Servlets are client side programs that run on a client side
Q.no 23. Find the correct syntax of the declaration which defines the XML Version?
A : ng-disabled
B : ng-hide
C : ng-false
D : ng-true
Q.no 25. In XML which internet languages are markup languages for handheld devices?
A : WAP
B : WML
C : RSS
D : Both A & B
A : Server-side
B : Client-side
C : Browser-side
D : In-side
Q.no 27. Which method is used to set or reset CSS property in Jquery
A : selector.CSS()
B : $(selector).css()
C : $(selector).style()
D : None of above
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 149/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : <myElement myAttribute="someValue"/>
B : <myElement myAttribute=someValue/>
C : <myElement myAttribute=’someValue’>
D : <myElement myAttribute="someValue’/>
A : include
B : export
C : page
D : taglib
A : Session
B : HttpSession
C : HttpServletSession
D : ServletSession
Q.no 32. Which statement is valid in using a Node module fs in a Node based application?
A : var fs = import("fs")
B : import fs
C : package fs
D : var fs = require("fs")
C : Both a and b
Q.no 34. Which of the following HTTP method should be used to get list the supported
operations in RESTful web service?
A : GET
B : HEAD
C : PUT
D : OPTIONS
A : Window Object
B : Document Object
C : Form Object
Q.no 36. Which of the followingb tag is used pass information from JSP to included JSP
A : <%jsp:param> tag.
B : <%jsp:page> tag.
C : <%jsp:import> tag
D : <%jsp:useBean> tag
Q.no 37. Which of the following can't be done with client-side JavaScript?
A : Validating a form
var a = 10;
document.write(a=20);
A : Error
B : Nothing is printed
C : 10
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 151/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
D : 20
Q.no 39. Which of the following class is used to create and consume custom events in Node.js?
A : EventEmitter
B : Events
C : NodeEvent
D : NodeEmitter
Q.no 40. A new web browser window can be opened using which method of the Window
object ?
A : createtab()
B : Window.open()
C : open()
Q.no 41. When a user views a page containing a JavaScript program, which machine actually
executes the script?
Q.no 42. What is the correct JavaScript syntax to write "Hello World"?
A : System.out.println("Hello World")
C : document.write("Hello World")
D : response.write("Hello World")
Q.no 43. In AngulsrJS HTML document is loaded and evaluated first in the browser. Mean
while in AngularJS ?
D : All of above
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 152/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : response.createCookie(cookie)
B : response.sendCookie(cookie)
C : response.addCookie(cookie)
Q.no 46. Which of the following tool automates various tasks of Node.js application
A : Express.js
B : GruntJS
C : . NPM
D : .MS
Q.no 47. Which of the following selector selects all elements of E that have the attribute attr
that end with the given value?
A : E[attr^=value]
B : E[attr$=value]
C : E[attr*=value]
Q.no 48. Which attribute of JSP page directive defines the MIME type of the HTTP response
A : Import
B : Extends
C : contentType
D : info
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 153/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
C : void _jspService()
Q.no 50. Which of the following event fires when the form element loses the focus: <button>,
<input>, <label>, <select>, <textarea>?
A : onfocus
B : onblur
C : onclick
D : ondblclick
A : xml file
B : dtd file
C : xsl file
D : Both 1 and 2
Q.no 52. Which of the methods are used to manage result sets using both associative and
indexed arrays?
Q.no 53. DTD includes the specifications about the markup that can be used within the
document, the specifications consists of all EXCEPT
C : entity declarations
D : element declarations
Q.no 54. Which one of the following statements can be used to select the database?
A : $mysqli=select_db(‘databasename’);
B : mysqli=select_db(‘databasename’);
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 154/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
C : mysqli->select_db(‘databasename’);
D : $mysqli->select_db(‘databasename’);
A : JSP Filters are used to intercept requests from a client before they access a resource at back end
B : JSP Filters are used to manipulate responses from server before they are sent back to the client.
Q.no 56. Which method retrieves each row from the prepared statement result and assigns the
fields to the bound results?
A : get_row()
B : fetch_row()
C : fetch()
D : row()
Q.no 58. The events that represents occurrences related to the browser window are
A : Window
B : Element
C : Display
D : Handlers
Q.no 59. The XSl formatting object which formats the data and caption of a table is
A : table
B : table-content
C : table-text
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 155/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
Q.no 60. How Node based web servers are different from traditional web servers?
A : Node based server process request much faster than traditional server.
B : Node based server uses a single threaded model and can services much larger number of
requests than traditional server like Apache HTTP Server.
Answers
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 157/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 158/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : Microsoft
B : Navigator
C : LiveWire
D : Native
A : <%@ expression%>
B : <%! expression%>
D : <%-- expression%>
B : Varying randomly
C:<??>
A : Message-Driven Bean
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 159/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
D : Session Bean
Q.no 6. What should be the table width, so that the width of a table adjust to the current
width of the browser window?
A : 640 pixels
B:1
C : full-screen
D : 1024 px
A : run()
B : destroy()
C : execute()
D : service()
A : Abstract class
B : Interface
C : Concreate class
D : Public class
A : User
B : Loosely
C : Server
D : System
Q.no 10. Which of the following tag is used to render a I18n text message?
A : set tag
B : ext tag
C : url tag
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 160/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
D : push tag
Q.no 12. Which of the following layer in Web Service Protocol Stack is responsible for
transporting messages between applications?
A : Service Transport
B : XML Messaging
C : Service Description
D : Service Discovery
Q.no 13. Which is a software- and hardware-independent tool for carrying information?
A : HTML
B : XML
C : Both A & B
Q.no 14. Which of the following code retrieves the value of a request parameter in servlet?
A : Header.getParameter(name)
B : response.getParameter(name)
C : request.getAttributeNames()
D : request.getParameter(name)
Q.no 15. JavaScript statements embedded in an HTML page can respond to user
events such as mouse-clicks, form input, and page navigation.
A : Client-side
B : Server-side
C : Local
D : Native
A : is a programe
B : is a country name
D : class name
Q.no 17. In WordPress, what is the user role with the highest privilege level?
A : Administrator
B : Author
C : Editor
D : Contributor
A : Out
B : Write
C : Echo
D : Display
D : void jspInit()
Q.no 20. Which CSS property is used to control the text size of an element ?
A : font-style
B : text-size
C : font-size
D : text-style
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 162/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
Q.no 22. Which role in EJB architecture is responsible for EJB Server?
A : EJB Deployer
B : Application Assembler
C : Network Engineer
D : Server Provider
Q.no 23. Which of the following tags in struts-config.xml file defines the availability of
necessary Struts JSP custom tag libraries?
A : jsp-lib
B : struts-taglib
C : taglib
D : jsp-taglib
A : NaN()
B : isNaN()
C : Both of above
D : None of above
A : document.createElement()
B : document.createNewElement()
C : newElement()
D : document.HTMLElement()
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 163/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
D : Both A & C
A : 8080
B : 7001
C : 8010
D : 9001
Q.no 30. Suppose we want to arrange five nos. of DIVs so that DIV4 is placed above DIV1.
Now, which css property will we use to control the order of stack?
A : d-index
B : s-index
C : x-index
D : z-index
A : Application Module
B : constant
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 164/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
C : value
D : factory
Q.no 32. The Bootstrap grid system is based on how many columns?
A:6
B : 12
C:9
D:3
Q.no 33. Which one is standard way to show popup in Java Script?
A : window.alert("cppbuzz");
B : alert("cppbuzz");
C : window("cppbuzz");
D : alert("cppbuzz")
Q.no 34. What is the correct way to open the file "time.txt" as readable?
A : fopen("time.txt","r");
B : open("time.txt","read");
C : fopen("time.txt","r+");
D : open("time.txt");
Q.no 35. What angular function is used to manually start up an angular application?
A : angular.bootstrap
B : angular.element
C : angular.copy
Q.no 36. Which of the following code is used to get names of the attributes in servlet
A : response.getAttributeNames()
B : request.getAttributeNames()
C : Header.getAttributeNames()
A : background-color
B : border
C : color
D : display
Q.no 38. Which one of these legendary Greek mythical figures or places is the code name for
Microsoft's version of AJAX ?
A : Oracle
B : Atlas
C : Hercules
D : Delphi
Q.no 39. A similar rule called the is specified using the plus sign (+) and is used
to select elements that would be siblings of each other.
A : class selectors
B : attribute selectors
C : adjacent-sibling selector
A : Xpath
B : XSLT
C : Xlink
D : Xpointer
Q.no 41. What is the work of the form control elements in the HTML DOM?
C : Debugging elements
D : Collecting elements
Q.no 42. Which of the following selectors selects any tag with an id attribute set?
A : E#id
B : .class
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 166/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
C : #id
D:*
Q.no 43. Which of the following code is used to get names of the parameters in servlet?
A : servlet.getParameterNames()
B : header.getParameterNames()
C : response.getParameterNames()
D : request.getParameterNames()
B : Use of CommetD
C : Use of Polling
D : Use of include
A : J2EE
B : DHTML
C : XML/XSLT
D : JavaScript
Q.no 46. Which is currect one to hide class element using jquery
A : $(".test").hide()
B : $("#test").hide()
C : Both of above
D : None of above
A : Response
B : HttpResponse
C : HttpServletResponse
D : ServletResponse
A : Element
B : Window
C : Location
Q.no 49. In Which technology Struts 2 provides various types of tags such as UI tags, Data
tags, control tags etc. to ease the development of struts 2 application?
B : Integration Support
Q.no 50. . What are various possible prefixes such as 'ng-' using which Angular directives (for
example, ng-app) can be defined?
B : ng-'
D : ng-', 'data-ng-','x-ng-'
B : XSLT uses a set of rules that govern how a document is to be materialized is created.
Q.no 52. In which configuration file is a link between the View and Model components in the
Web Client but you would not have to touch these settings for 99.99% of your projects?
Q.no 53. Which of the following code can be used to clear the content of the underlying buffer
in the response without clearing headers or status code
A : response.resetBuffer()
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 168/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
B : response.reset()
C : request.reset()
D : response.Buffer()
Q.no 54. Which of the following method can be used to get the multiple values of a parameter
like checkbox data?
A : request.getParameter()
B : header.getParameterNames()
C : request.getParameterValues()
D : request.getParameterNames()
alert(triangle.p1.y);
A:0
B:1
C:3
D:4
A : (i) is correct
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 169/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
Q.no 58. Which of the following function sorts an array in reverse order?
A : rsort()
B : sort()
C : shuffle()
D : reset()
A : Database
B : Cursor
C : Client
D : FileUpLoad
Q.no 60. Elements from the HTML namespace are displayed as they would in
…………………..
A : DHTML
B : XML
C : HTML
D : DXML
Answers
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 171/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 172/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : Eclipse
B : Apache tomcat
C : Netbeans
A : Microsoft
B : Navigator
C : LiveWire
D : Native
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 173/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : /* a comment */
B : // a comment //
C : / a comment /
D : <' a comment'>
Q.no 4. Which of the following layer in Web Service Protocol Stack is responsible for
encoding messages in a common XML format so that messages can be understood at either
end?
A : Service Transport
B : XML Messaging
C : Service Description
D : Service Discovery
A : local
B : global
C : static
D : extern
A : CSS
B : DOM
C : DHTML
D : Flash
D : No uses in PHP.
A : nodejs sample.js
B : node sample.js
C : sample.js
D:0
A : pageContext
B : servletContext
C : httpContext
D : sessionContext
Q.no 11. Which Method is used to find element using class name
A : findElementByClassName()
B : getElementByClassName()
C : className()
D : getClass()
Q.no 12. If we want to use a nice looking green dotted border around an image, which css
property will we use?
A : border-color
B : border-decoration
C : border-style
D : border-line
Q.no 13. Which of the following type of variable is visible everywhere in your JavaScript
code?
A : global variable
B : local variable
Q.no 14. jQuery method to set one or more style properties for selected elements?
A : style()
B : css()
C : html()
D : None
A : Server-side
B : Client-side
C : Browser-side
D : In-side
Q.no 16. Which of the following is the correct order of servlet life cycle phase methods?
A : Node
B : Attributes
C : Elements
D : Arrays
Q.no 18. Which of the following is true about Initialization phase in JSP life cycle?
B : When a container loads a JSP it invokes the jspInit() method before servicing any requests.
C : jspInit() method is called every time during each service request to JSP.
A : append
B : push
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 176/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
D : None of above
Q.no 20. Which of the following directive allows to use froms in angular Js
A : ng-include
B : ng-form
C : ng-directive
D : ng-bind
C : $ install express
D : #update express
Q.no 22. Which character in the XML Element will generate an error because the parser
interprets it as the start of a new element?
A:"<"
B : "&"
C : Both A & B
A : a.sort()
B : sort(a)
C : a = sort()
D : None of above
var a;
document.write(a);
A:0
B : undefined
C : error
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 177/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
D : NaN
Q.no 25. If we want define style for an unique element, then which css selector will we use ?
A : Id
B : text
C : class
D : name
Q.no 26. Which of the following statement is correct about HTTP Get method.
A : GET method is used to appends form data to the URL in the page request.
B : The GET method is a secure method to pass information from browser to web server.
C : GET requests do not have any data length restrictions for data tranfer.
A : A web server
B : An application server
C : An EJB container
D : A database server
D : it is framework only
C : more dynamic
D : static only
Q.no 30. When we write <img src="img.png">, what "img.png" inside double quote implies?
A : element
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 178/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
B : attribute
C : value
D : operator
Q.no 31. Which of the following is true about init() method of servlet?
A : The init() method loads new data for each service request of the servlet.
B : The init() method is called again and again for each user request.
<script>
document.write(2+2 + " = 2 plus 2");
</script>
A : 2+2+ = 2 plus 2
B : 4 + = 2 plus 2
C : 4 = 2 plus 2
D : Syntax Error
A : setcookie()
B : createcookie()
C : makecookie()
D : cookieset()
Q.no 35. Which of the following is not a core role in Web Service architecture?
A : Service Provider
B : Service Requestor
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 179/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
C : Service Registry
D : Service Locator
Q.no 36. Which of the following code is used to get cookies in servlet?
A : response.getCookies()
B : request.getCookies()
C : Cookies.getCookies()
D : servlet.Cookies()
A : ng
B : ng-app
C : ng-config
D : restore
Q.no 38. What is the easy way add extra Functionality in CMS?
A : Using Plugins/Extensions
Q.no 39. Which type of validation we must implement the Validateable interface (or extend
ActionSupport class) and provide the implementation of validate method?
A : By Input Validation
B : By Ajax Validation
C : By Custom Validation
D:0
Q.no 40. Which of the following method can be used to read parameters names in JSP?
A : request.getParameter()
B : response.getParameter()
C : request.getParameterNames()
D : response.getParameterNames()
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 180/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
var a = '10';
var b = a = 20;
document.write(a+b);
A : Error in Script
B : 10'20
C : 1020
D : 40
Q.no 42. Which of the following is used to access session variables in PHP?
A : session_start() function
B : $_SESSION[]
C : isset() function
D : session_destroy() function
A : response.createCookie(cookie)
B : response.sendCookie(cookie)
C : response.addCookie(cookie)
A : Element
B : Attribute
C : Comment
D : All of above
A : angular.module();
C : module.create();
D : angular.create();
A : Document Path
B : localStorage
C : sessionStorage
Q.no 49. Which is used to make asynchronous request i.e. it doesn't block the user and it
sends only required field data to the server side not all, So it makes the performance fast?
A : AJAX Support
B : Integration Support
Q.no 51. Which of the following method can be used to read binary data stream coming from
the client in JSP ?
A : request.getInputStream()
B : response.getInputStream()
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 182/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
C : request.getInputStreamData()
D : response.getInputStreamData()
Q.no 52. jQuery code to set the background color of all span elements to blue?
A : $("span").style("background-color","blue");
B : $("span").manipulate("background-color","blue");
C : $("span").css("background-color","blue");
D : $("span").layout("background-color","blue");
Q.no 53. In which version of PHP was MySQL Native Driver(also known as mysqlnd)
introduced?
A : PHP 5.0
B : PHP 5.1
C : PHP 5.2
D : PHP 5.3
Q.no 54. If a jsp has to generate a pdf page, what attribute of page directive it should use?
A : contentXML
B : generateXML
C : contentType
D : typeXML
A : The PHP configuration file, php.ini, is the final and most immediate way to affect PHP's
functionality.
A : xml:lang
B : xml:space
C : both
D : none
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 183/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
Q.no 57. What is the correct syntax of the declaration which defines the XML version?
B : <?xml version="A.0"?>
Q.no 58. Which method retrieves each row from the prepared statement result and assigns the
fields to the bound results?
A : get_row()
B : fetch_row()
C : fetch()
D : row()
A : commit()
B : undo()
C : back()
D : rollback()
Q.no 60. Which of the following stands true for dns.lookup(hostname[, options], callback)
method?
D:0
Answers
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 185/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 186/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
Q.no 1. In XML which internet languages are markup languages for handheld devices?
A : WAP
B : WML
C : RSS
D : Both A & B
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 187/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : <src>
B : <link>
C : <style>
D : <css>
A : VBScript
B : C++
C : JavaScript
D : C#
Q.no 4. Find the correct syntax of the declaration which defines the XML Version?
A : <%! declaration%>
B : <%= declaration%>
C : <%-- declaration%>
D : <%@ declaration%
Q.no 6. Which one of the following is correct syntax for directive in JSP
A : <%@directive%>
B : <%!directive%>
C : <%directive%>
D : <%=directive%>
A:"<"
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 188/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
B : "&"
C : Both A & B
B : Hypertext Preprocessor
A : 8080
B : 7001
C : 8010
D : 9001
Q.no 10. Which attribute can be added to many HTML / XHTML elements to identify them
as a member of a specific group ?
A : Id
B : div
C : class
D : span
A : MV
B : MMVC
C : MVC
D : MC
Q.no 13. Which of the following code retrieves the value of a request parameter in servlet?
A : Header.getParameter(name)
B : response.getParameter(name)
C : request.getAttributeNames()
D : request.getParameter(name)
A : Microsoft
B : Navigator
C : LiveWire
D : Native
Q.no 15. We can add new element at the end of existing element using
A : append
B : new
C : addLast
D : None of above
A : Client
B : Server
C : Object
A : image = “url”
B : source(“url”)
C : image.src = “url”
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 190/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
D : img.src=”url”
Q.no 18. Which method is used to set or reset CSS property in Jquery
A : selector.CSS()
B : $(selector).css()
C : $(selector).style()
D : None of above
D : void jspInit()
D : new mod()
A : jsp:forward
B : jsp:include
C : jsp:useBean
D : Jsp:import
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 191/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : is a programe
B : is a country name
D : class name
A : true
B : Flase
C : Depends on website
D : Depends on server
C : Both of These
D : None
A : transactional components
D : server-side components
Q.no 28. Which of the following EJB type has no Remote interfaces?
A : Message-Driven Bean
D : Session Bean
Q.no 29. Which of the following component of HTTP response contains response message
content or Resource representation?
A : Status/Response Code
B : HTTP Version
C : Response Header
D : Response Body
Q.no 30. Which of the following component of HTTP request is used to indicate HTTP
version?
A : VERB
B : URI
C : HTTP Version
D : Request Header
C : display logic
D : display view
B : It provides a means of exchanging structured data between the Web server and client
C : It provides the ability to asynchronously exchange data between Web browsers and a Web
server.
D : It provides the ability to mark up and style the display of Web-page text.
A : HTML
B : PHP
C : JavaScript
D : Wordpress
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 193/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
Q.no 34. Which of the following magic constant of PHP returns current line number of the
file?
A : LINE
B : FILE
C : FUNCTION
D : CLASS
Q.no 35. Which of the Following are the valid scopes in JSP.
Q.no 36. Which of the following array represents an array with strings as index?
A : Numeric Array
B : Associative Array
C : Multidimentional Array
D : Normal Array
C : void _jspService()
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 194/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : module.expose
B : module
C : module.exports
D : module.in
A : 11
B : 12
C : 13
D : 10
A : class rule
B : element rule
C : id rule
Q.no 42. Which of the following attribute is used to mark a page as error processing page
A : errorPage
B : isErrorPage
C : exception
D : exceptionPage
A : Response
B : HttpResponse
C : HttpServletResponse
D : ServletResponse
A : CharacterData
B : Document
C : Attr
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 195/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
D : Element
Q.no 45. Which of the following module is required for path specific operations?
A : os module
B : fs module
C : path module
D : ng module
A : Window Object
B : Document Object
C : Form Object
Q.no 47. Which superglobal variable holds information about headers, paths, and script
locations?
A : $_SERVER
B : $_GET
C : $_SESSION
D : $_GLOBALS
Q.no 48. Which of the following selector selects the elements that are checked?
A:E~F
B : ::after
C : :checked
A : Abstract class
B : Interface
C : Concreate class
D : Package
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 196/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : javax.servlet.ServletContext
B : javax.servlet.ServletConfig
C : javax.servlet.Context
D : javax.servlet.Application
Q.no 51. Which of the following function returns the number of characters in a string
variable?
A : count($variable)
B : len($variable)
C : strcount($variable)
D : strlen($variable)
A : FileUpLoad
B : Function
C : File
D : Date
Q.no 54. Which one of the following method is used to retrieve the number of rows affected by
an INSERT, UPDATE, or DELETE query?
A : num_rows()
B : affected_rows()
C : changed_rows()
D : new_rows()
Q.no 55. Which of the following layer in Web Service Protocol Stack is responsible for
describing the public interface to a specific web service?
A : Service Transport
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 197/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
B : XML Messaging
C : Service Description
D : Service Discovery
D : None of these
Q.no 57. Which one of the following methods can be used to diagnose and display information
about a MySQL connection error?
A : connect_errno()
B : connect_error()
C : mysqli_connect_errno()
D : mysqli_connect_error()
Q.no 58. Which one of the following methods is responsible for sending the query to the
database?
A : query()
B : send_query()
C : sendquery()
D : query_send()
Q.no 59. Which one of the following databases has PHP supported almost since the
beginning?
A : Oracle Database
B : SQL
C : SQL+
D : MySQL
Q.no 60. The default model for complex type, in XML schemas for element is
A : textOnly
B : elementOnly
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 198/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
C : no default type
D : both 1 & 2
Answers
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 200/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 201/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
Q.no 2. Which of the following tag is used to render a I18n text message?
A : set tag
B : ext tag
C : url tag
D : push tag
Q.no 3. Suppose we want to arrange five nos. of DIVs so that DIV4 is placed above DIV1.
Now, which css property will we use to control the order of stack?
A : d-index
B : s-index
C : x-index
D : z-index
Q.no 4. Which of the following layer in Web Service Protocol Stack is responsible for
transporting messages between applications?
A : Service Transport
B : XML Messaging
C : Service Description
D : Service Discovery
A : pageContext
B : servletContext
C : httpContext
D : sessionContext
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 202/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : HTML
B : XML
C : Both A & B
Q.no 8. When a user views a page containing a JavaScript program, which machine actually
executes the script?
A : ActionErrors
B : ActionForward
C : ActionMapping
D : ActionError
A : Design
B : Verify
C : Transport
D : Both A & B
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 203/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
B : Varying randomly
A : <%@ expression%>
B : <%! expression%>
D : <%-- expression%>
D : it is framework only
Q.no 16. What should be the table width, so that the width of a table adjust to the current
width of the browser window?
A : 640 pixels
B:1
C : full-screen
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 204/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
D : 1024 px
Q.no 17. Which Method is used to find element using class name
A : findElementByClassName()
B : getElementByClassName()
C : className()
D : getClass()
Q.no 18. Which of the following layer in Web Service Protocol Stack is responsible for
encoding messages in a common XML format so that messages can be understood at either
end?
A : Service Transport
B : XML Messaging
C : Service Description
D : Service Discovery
A : yes
B : no
C : always
D : never
A : Html
B : JSP
C : JavaScript
D : CSS
A : <%! comment%>
B : <%@ comment%>
C : <%= comment%>
D : <%-- comment--%>
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 205/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
Q.no 22. Which of the following properties will we use to display border around a cell without
any content ?
A : empty-cell
B : blank-cell
C : noncontent-cell
D : void-cell
A : Independent
B : dependent
C : sometime dependent
D : sometine independent
Q.no 24. Which role in EJB architecture is responsible for EJB Server?
A : EJB Deployer
B : Application Assembler
C : Network Engineer
D : Server Provider
A : <myElement myAttribute="someValue"/>
B : <myElement myAttribute=someValue/>
C : <myElement myAttribute=’someValue’>
D : <myElement myAttribute="someValue’/>
Q.no 27. If we want define style for an unique element, then which css selector will we use ?
A : Id
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 206/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
B : text
C : class
D : name
Q.no 28. Which of the following is not a valid JavaScript variable name?
A : 2names
B : _first_and_last_names
C : FirstAndLast
A : ng-init
B : ng-app
C : ngSrc
D : ng-start
Q.no 30. If we want to wrap a block of text around an image, which css property will we use ?
A : wrap
B : push
C : float
D : align
C : Both a and b
A : Application Module
B : constant
C : value
D : Factory
var a = 'cpp';
var b = 'buzz';
var c = a/b;
document.write(c);
A : cppbuzz
B : cpp/buzz
C : NaN
Q.no 36. What is the correct way to open the file "time.txt" as readable?
A : fopen("time.txt","r");
B : open("time.txt","read");
C : fopen("time.txt","r+");
D : open("time.txt");
A : Java
B : Javascript
C : Typescript
D : VB script
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 208/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
var a = '10';
var b = a = 20;
document.write(a+b);
A : Error in Script
B : 10'20
C : 1020
D : 40
A : deleteCookie(cookie);
B : request.deleteCookie(cookie);
C : cookie.setMaxAge(0)
D : esponse.deleteCookie(cookie);
Q.no 40. What will be the output of below mentioned code snippet?
A : $(".test").hide()
B : $("#test").hide()
C : Both of above
D : None of above
A : Session
B : HttpSession
C : HttpServletSession
D : ServletSession
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 209/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
Q.no 43. Which of the following php statement/statements will store 111 in variable num?
i) int $num = 111;
ii) int mum = 111;
iii) $num = 111;
iv) 111 = $num;
B : Only (iii)
C : Only (i)
D : Only (ii)
Q.no 44. Which of the following code is used to get names of the attributes in servlet
A : response.getAttributeNames()
B : request.getAttributeNames()
C : Header.getAttributeNames()
Q.no 45. The method of an Array object adds and/or removes elements from an
array.
A : Reverse
B : Shift
C : Slice
D : Splice
Q.no 46. Which type of validation we must implement the Validateable interface (or extend
ActionSupport class) and provide the implementation of validate method?
A : By Input Validation
B : By Ajax Validation
C : By Custom Validation
D:0
A : Request
B : HttpServletRequest
C : HttpRequest
D : ServletRequest
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 210/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : angular.module();
C : module.create();
D : angular.create();
Q.no 49. Which of the following method is used to hide the selected elements?
A : visible(false)
B : hidden()
C : display(none)
D : hide()
Q.no 50. Which of the following is not a core role in Web Service architecture?
A : Service Provider
B : Service Requestor
C : Service Registry
D : Service Locator
A : JSP Filters are used to intercept requests from a client before they access a resource at back end
B : JSP Filters are used to manipulate responses from server before they are sent back to the client.
A : MySQL
B : Oracle
C : PostgresSQL
D : MS SQLServer
A : Willam Makepiece
B : Drek Kolkevi
C : Rasmus Lerdorf
D : List Barely
Q.no 55. Which of the following code is used to update an attribute in a HTTP Session object
in servlets?
A : session.setAttribute(name,value)
B : session.alterAttribute(name,value)
C : session.updateAttribute(name,value)
D : session.update(name,value)
A : xml file
B : dtd file
C : xsl file
D : Both 1 and 2
A : Database service
C : Network Service
D : Web Service
Q.no 58. Which method retrieves each row from the prepared statement result and assigns the
fields to the bound results?
A : get_row()
B : fetch_row()
C : fetch()
D : row()
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 212/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
Q.no 59. Which of the following is the Web application equivalent to querySelectorAll()?
A : #()
B : &()
C : $()
Answers
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 214/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 215/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : Select
B : If
C : Switch
D : For
A : comma
B : semicolon
C : Question mark
D : Dollar sign
Q.no 3. In WordPress, what is the user role with the highest privilege level?
A : Administrator
B : Author
C : Editor
D : Contributor
A : a.sort()
B : sort(a)
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 216/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
C : a = sort()
D : None of above
D : Through Software
A : Microsoft
B : Navigator
C : LiveWire
D : Native
A : nodejs sample.js
B : node sample.js
C : sample.js
D:0
A : C++
B:C
C : Java
D : Python
C : more dynamic
D : static only
A : <js>
B : <scripting>
C : <script>
D : <javascript>
A : include
B : export
C : page
D : taglib
A : document.createElement()
B : document.createNewElement()
C : newElement()
D : document.HTMLElement()
A : 8080
B : 7001
C : 8010
D : 9001
Q.no 19. We can add new element at the end of existing element using
A : append
B : new
C : addLast
D : None of above
Q.no 20. Which of the following is the correct order of servlet life cycle phase methods?
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 219/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
Q.no 22. Which of the following is true about isELIgnored Attribute in JSP
A : The isELIgnored option gives you the ability to disable the evaluation of scriplets
B : The isELIgnored option gives you the ability to disable the evaluation of java code in jsp.
C : The isELIgnored option gives you the ability to disable the evaluation of Expression Language
(EL) expressions in JSP .
D : The isELIgnored option gives you the ability to enable the evaluation of scriplets
Q.no 23. Which css property you will use if you want to add some margin between a DIV's
border and its inner text ?
A : spacing
B : margin
C : padding
D : inner-margin
A : Server-side
B : Client-side
C : Browser-side
D : In-side
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 220/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
Q.no 26. Which JSP Action tags is used to include the content of another resource, like jsp,
html or servlet?
A : jsp:plugin
B : jsp:include
C : jsp:forward
D : jsp:useBean
A : JavaBeans
B : EJB,COBRA
C : JDO
D : All above
var a;
document.write(a);
A:0
B : undefined
C : error
D : NaN
B : < !-- ?
D : < ?-- ?
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 221/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
Q.no 31. Which of the following type of variables have only two possible values either true or
false?
A : Integers
B : Doubles
C : booleans
D : Strings
B : x = obj(firstName:"John", lastName:"Doe")
C : Both of above
D : None of above
Q.no 34. What angular function is used to manually start up an angular application?
A : angular.bootstrap
B : angular.element
C : angular.copy
Q.no 35. Which of the following method can be used to read a multiple values with same
name, for example check box selections in JSP?
A : request.getParameter()
B : response.getParameter()
C : request.getParameterValues()
D : response.getParameterValues()
Q.no 36. When a user views a page containing a JavaScript program, which machine actually
executes the script?
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 222/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
Q.no 37. Which of following object can be used to access other implicit objects in JSP.
A : request
B : page
C : response
D : pageContext
Q.no 38. In the model-view-controller (MVC) architecture, the model defines the
A : Data-access layer
B : Presentation layer
C : Business-logic layer
D : Interface layer
Q.no 39. Which of the following code is used to get cookies in servlet?
A : response.getCookies()
B : request.getCookies()
C : Cookies.getCookies()
D : servlet.Cookies()
A : Xpath
B : XSLT
C : Xlink
D : Xpointer
A : fs.close(fd, callback)
B : fs.closeFile(fd, callback)
C : fs.closePath(fd, callback)
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 223/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
D : fs.close()
Q.no 42. Which of the following elements are block and inline elements, respectively, that
have no particular rendering?
A : div
B : span
C : box-model
A : Document Path
B : localStorage
C : sessionStorage
A : response.createCookie(cookie)
B : response.sendCookie(cookie)
C : response.addCookie(cookie)
Q.no 45. Which of the following is used to get information sent via get method in PHP?
A : $_GET
B : $GET
C : $GETREQUEST
D : $GETR
A : Element
B : Attribute
C : Comment
D : All of above
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 224/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : setcookie()
B : createcookie()
C : makecookie()
D : cookieset()
Q.no 48. Which attribute of JSP page directive defines the MIME type of the HTTP response
A : Import
B : Extends
C : contentType
D : info
Q.no 49. What should appear at the very end of your JavaScript?
The <script LANGUAGE="JavaScript">tag
A : The </script>
B : The <script>
Q.no 50. Which of the following is true about init() method of servlet?
A : The init() method loads new data for each service request of the servlet.
B : The init() method is called again and again for each user request.
Q.no 51. Which of the following methods is used to execute the statement after the parameters
have been bound?
A : bind_param()
B : bind_result()
C : bound_param()
D : bound_result()
Q.no 52. A function in PHP which starts with (double underscore) is known as
A : Inbuilt Function
B : Magic Function
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 225/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
C : Default Function
A : Entity Bean
D : Message-Driven Bean
A : an intersection table.
B : global elements.
sum(1, 2, 3);
A:2
B:6
C:1
D:7
Q.no 56. The events that represents occurrences related to the browser window are
A : Window
B : Element
C : Display
D : Handlers
A : XML is technology independent. It can be used by any technology for data storage and
transmission purpose.
Q.no 59. AngularJS can show or hide HTML depending on the state of data in the model. You
do so using a set of AngularJS directives such as ........... which are created specifically for that
purpose.
A : ng-shown, ng-hidden
B : ng-show, ng-hide
C : nt-show, nt-hide
D : ng-shows, ng-hides
Q.no 60. To add the attribute named Type to the <customer> tag the syntax will be
Answers
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 228/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 229/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : run()
B : destroy()
C : execute()
D : service()
A : ActionErrors
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 230/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
B : ActionForward
C : ActionMapping
D : ActionError
A : Java applet
B : Java servlet
C : Java EJB
D : Java Struts
A : lowercase
B : orderby
C : email
D : currency
Q.no 5. Which of the following layer in Web Service Protocol Stack is responsible for
transporting messages between applications?
A : Service Transport
B : XML Messaging
C : Service Description
D : Service Discovery
A:"<"
B : "&"
C : Both A & B
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 231/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
D : No uses in PHP.
A : Client
B : Server
C : Object
C : $ install express
D : #update express
A : Microsoft
B : Navigator
C : LiveWire
D : Native
Q.no 11. When a user views a page containing a JavaScript program, which machine actually
executes the script?
A : stateless
B : stateful
C : No State
D : All state
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 232/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : Brad Green
B : Misko Hevery
C : Adam Abrons
D : Adam Nass
Q.no 14. Which event handler is triggered when the user’s mouse moves onto a link?
A : onMouseOver
B : onMouseOut
C : onMouse
D : onMouseOnto
Q.no 15. Which of the following tag is used to render a I18n text message?
A : set tag
B : ext tag
C : url tag
D : push tag
A : <%! declaration%>
B : <%= declaration%>
C : <%-- declaration%>
D : <%@ declaration%
A : Data storage
B : Data sharing
C : Both A & B
Q.no 18. tag is an extension to HTML that can enclose any number of JavaScript
statements.
A : <SCRIPT>
B : <BODY>
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 233/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
C : <HEAD>
D : <TITLE>
D : new mod()
Q.no 21. Which element is used in the <HEAD> section on an HTML / XHTMLpage, if we
want to use an external style sheet file to decorate the page ?
A : <src>
B : <link>
C : <style>
D : <css>
var a = 10;
var b = 0;
document.write(a/b);
A : Nothing is printed
B : 0 is printed
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 234/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
C : Infinity is printed
Q.no 24. Which of the following statement is correct about HTTP Get method.
A : GET method is used to appends form data to the URL in the page request.
B : The GET method is a secure method to pass information from browser to web server.
C : GET requests do not have any data length restrictions for data tranfer.
B : "Hello World";
C : Document.Write("Hello World");
D : print "hello"
A : image = “url”
B : source(“url”)
C : image.src = “url”
D : img.src=”url”
Q.no 28. A PHP script should start with and end with :
C:<??>
A : Node
B : Attributes
C : Elements
D : Arrays
C : Both of These
D : None
Q.no 31. What is the correct JavaScript syntax to write "Hello World"?
A : System.out.println("Hello World")
C : document.write("Hello World")
D : response.write("Hello World")
Q.no 32. What is the correct way to add 1 to the $count variable?
A : $count++;
B : ++count
C : $count =+1
D : count++;
Q.no 33. Of the following technologies, which one provides the ability to
dynamically interact with Web page layout?
A : JavaScript.
B : XML.
D : HTML.
A : Catalina
B : Tomcat sink
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 236/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
C : Casper
D : Jasper
Q.no 35. Which superglobal variable holds information about headers, paths, and script
locations?
A : $_SERVER
B : $_GET
C : $_SESSION
D : $_GLOBALS
Q.no 36. Which of the following method can be used to read parameters names in JSP?
A : request.getParameter()
B : response.getParameter()
C : request.getParameterNames()
D : response.getParameterNames()
Q.no 37. Which is currect one to hide class element using jquery
A : $(".test").hide()
B : $("#test").hide()
C : Both of above
D : None of above
Q.no 38. Which of the following is the format for EJB deployment descriptor files?
A : XML
B : XSL
C : HTML
D : Java
Q.no 39. In Which technology Struts 2 provides various types of tags such as UI tags, Data
tags, control tags etc. to ease the development of struts 2 application?
B : Integration Support
Q.no 40. Which of the following tool automates various tasks of Node.js application
A : Express.js
B : GruntJS
C : . NPM
D : .MS
Q.no 41. The Bootstrap grid system is based on how many columns?
A:6
B : 12
C:9
D:3
Q.no 42. Which is a currect Jquery Syntax to hide all paragraph elements
A : ("p").hide()
B : $("p").hide()
C : $hide("p")
D : p.hide()
Q.no 43. What is the work of the form control elements in the HTML DOM?
C : Debugging elements
D : Collecting elements
A : Abstract class
B : Interface
C : Concreate class
D : Package
var a = '10';
var b = a = 20;
document.write(a+b);
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 238/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : Error in Script
B : 10'20
C : 1020
D : 40
Q.no 46. The attribute is used to define the name(s) of the class(es) to which a
particular tag belongs.
A : class
B : element
C : id
A : background-color
B : border
C : color
D : display
A : PHP format
B : HTML format
C : PDF format
D : XML format
Q.no 50. Which of the following selector selects the elements that are checked?
A:E~F
B : ::after
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 239/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
C : :checked
Q.no 51. Which of the following stands true for dns.lookup(hostname[, options], callback)
method?
D:0
A : Database
B : Cursor
C : Client
D : FileUpLoad
A : TCP
B : HTTP
C : UDP
D : SMTP
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 240/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
Q.no 56. Which of the following statements is not true about XML Schemas:
Q.no 57. Why a Node.JS code is pretty fast although being written in JavaScript
A : Node.JS internally converts JavaScript code to Java based code and then execute the same
B : Node.JS internally converts JavaScript code to C based code and then execute the same
D:0
D : None of these
A : MySQL 4.0
B : MySQL 4.1
C : MySQL 4.2
D : MySQL 4.3
Q.no 60. The default model for complex type, in XML schemas for element is
A : textOnly
B : elementOnly
C : no default type
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 241/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
D : both 1 & 2
Answers
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 243/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 244/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
Q.no 1. Which of the following method can be used to read a form parameter in JSP?
A : response.getParameter()
B : request.getParameter()
C : request.getValue()
D : response.getValue()
A : node-static
B : http
C : node-resource
D : static
D : void jspInit()
B : void jspDestroy()
Q.no 5. Which of the following component of HTTP request is used to indicate HTTP
version?
A : VERB
B : URI
C : HTTP Version
D : Request Header
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 245/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
Q.no 6. We can add new element at the end of existing element using
A : append
B : new
C : addLast
D : None of above
A : CSS
B : DOM
C : DHTML
D : Flash
Q.no 8. Which of the following is true about Initialization phase in JSP life cycle?
B : When a container loads a JSP it invokes the jspInit() method before servicing any requests.
C : jspInit() method is called every time during each service request to JSP.
A : element.getID
B : innerHTML
C : getContent()
D : getHTML()
Q.no 10. Which one of the following is correct syntax for directive in JSP
A : <%@directive%>
B : <%!directive%>
C : <%directive%>
D : <%=directive%>
A : include
B : export
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 246/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
C : page
D : taglib
Q.no 12. What should be the table width, so that the width of a table adjust to the current
width of the browser window?
A : 640 pixels
B:1
C : full-screen
D : 1024 px
Q.no 13. Which CSS property is used to control the text size of an element ?
A : font-style
B : text-size
C : font-size
D : text-style
A : true
B : Flase
C : Depends on website
D : Depends on server
Q.no 16. Which of the following layer in Web Service Protocol Stack is responsible for
centralizing services into a common registry and providing easy publish/find functionality?
A : Service Transport
B : XML Messaging
C : Service Description
D : Service Discovery
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 247/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
Q.no 20. Which of the following code retrieves the value of a request parameter in servlet?
A : Header.getParameter(name)
B : response.getParameter(name)
C : request.getAttributeNames()
D : request.getParameter(name)
Q.no 21. Which of the following is not a valid JavaScript variable name?
A : 2names
B : _first_and_last_names
C : FirstAndLast
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 248/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
B : Hypertext Preprocessor
Q.no 23. In which application can XML be used for marking up documents for specialized
applications, such as e-commerce, scientific documents, Mathematical formula and e-books?
B : Data storage
C : Specialized publishing
C : more dynamic
D : static only
Q.no 25. Which Method is used to find element using class name
A : findElementByClassName()
B : getElementByClassName()
C : className()
D : getClass()
Q.no 26. Which role in EJB architecture is responsible for EJB Server?
A : EJB Deployer
B : Application Assembler
C : Network Engineer
D : Server Provider
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 249/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : VBScript
B : C++
C : JavaScript
D : C#
A : WWW
B : SMTP
C : HTTP
D : SNMP
Q.no 29. If we want to use a nice looking green dotted border around an image, which css
property will we use?
A : border-color
B : border-decoration
C : border-style
D : border-line
A : Transport information
B : Style information
C : Store information
D : Structure information
Q.no 31. Which one is standard way to show popup in Java Script?
A : window.alert("cppbuzz");
B : alert("cppbuzz");
C : window("cppbuzz");
D : alert("cppbuzz")
Q.no 32. Which of the following attributes are mandatory in <jsp:getProperty /> tag
A : name, property
B : type, id
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 250/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
C : name, type
D : id, property
A : Window Object
B : Document Object
C : Form Object
Q.no 34. Using function, we can hold or release the execution of jQuery’s ready
event.
A : jQuery.holdReady()
B : jQuery.ready()
C : jQuery.hold()
D : jQuery.holdready()
A : Application Module
B : constant
C : value
D : factory
Q.no 36. Which EJB container must provide an implementation of Java Naming and
Directory Interface (JNDI) API to provide naming services for EJB clients and components?
A : Transaction support
B : Persistence support
C : Naming support
Q.no 37. What is the correct syntax for referring to an external script called " abc.js"?
Q.no 38. Which of the followingb tag is used pass information from JSP to included JSP
A : <%jsp:param> tag.
B : <%jsp:page> tag.
C : <%jsp:import> tag
D : <%jsp:useBean> tag
B : x = obj(firstName:"John", lastName:"Doe")
C : Both of above
D : None of above
Q.no 40. In servet, the line of code that retrieves session ID specified by the client is
A : request.getRequestedSessionId()
B : response.getRequestedSessionId()
C : Header.getRequestedSessionId()
D : request.getId()
A : setcookie()
B : createcookie()
C : makecookie()
D : cookieset()
Q.no 42. Which of the following HTTP method should be used to get list the supported
operations in RESTful web service?
A : GET
B : HEAD
C : PUT
D : OPTIONS
Q.no 43. Which of the following array represents an array with strings as index?
A : Numeric Array
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 252/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
B : Associative Array
C : Multidimentional Array
D : Normal Array
Q.no 44. Which of the following can't be done with client-side JavaScript?
A : Validating a form
<script>
document.write(2+2 + " = 2 plus 2");
</script>
A : 2+2+ = 2 plus 2
B : 4 + = 2 plus 2
C : 4 = 2 plus 2
D : Syntax Error
Q.no 46. Which of the following php statement/statements will store 111 in variable num?
i) int $num = 111;
ii) int mum = 111;
iii) $num = 111;
iv) 111 = $num;
B : Only (iii)
C : Only (i)
D : Only (ii)
Q.no 47. In the model-view-controller (MVC) architecture, the model defines the
A : Data-access layer
B : Presentation layer
C : Business-logic layer
D : Interface layer
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 253/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
Q.no 48. What will be the output of below mentioned code snippet?
var a = 'cpp';
var b = 'buzz';
var c = a/b;
document.write(c);
A : cppbuzz
B : cpp/buzz
C : NaN
Q.no 50. Which of the following module is required for path specific operations?
A : os module
B : fs module
C : path module
D : ng module
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 254/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
Q.no 53. If there is no error, then what will the error() method return?
A : true
B : false
C : Empty String
D:0
Q.no 54. Which of the methods are used to manage result sets using both associative and
indexed arrays?
Q.no 56. The updated MySQL extension released with PHP 5 is typically referred to as..
A : MySQL
B : mysql
C : mysqli
D : mysqly
B : XSLT uses a set of rules that govern how a document is to be materialized is created.
p1 : { x : 0, y : 3 },
p2 : { x : 1, y : 4 },
p3 : { x : 2, y : 5 }
}
alert(triangle.p1.y);
A:0
B:1
C:3
D:4
sum(1, 2, 3,4,5);
A:2
B:5
C : 15
D : None of above
Q.no 60. Which of the following code is used to update an attribute in a HTTP Session object
in servlets?
A : session.setAttribute(name,value)
B : session.alterAttribute(name,value)
C : session.updateAttribute(name,value)
D : session.update(name,value)
Answers
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 257/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
Q.no 1. In XML document comments are given as?
B : < !-- ?
D : < ?-- ?
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 258/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
Q.no 2. If we want to wrap a block of text around an image, which css property will we use ?
A : wrap
B : push
C : float
D : align
A : selector.CSS()
B : $(selector).css()
C : $(selector).style()
D : None of above
A : Eclipse
B : Apache tomcat
C : Netbeans
Q.no 6. Which event handler is triggered when the user’s mouse moves onto a link?
A : onMouseOver
B : onMouseOut
C : onMouse
D : onMouseOnto
A : ng-include
B : ng-form
C : ng-directive
D : ng-bind
A : append
B : push
D : None of above
A : <js>
B : <scripting>
C : <script>
D : <javascript>
Q.no 11. How can we write comment along with CSS code ?
A : /* a comment */
B : // a comment //
C : / a comment /
D : <' a comment'>
D : it is framework only
A:$
B:&
C:!
D:*
A : Html
B : JSP
C : JavaScript
D : CSS
Q.no 16. If we want to show an Arrow as cursor, then which value we will use ?
A : pointer
B : default
C : arrow
D : arr
A : NaN()
B : isNaN()
C : Both of above
D : None of above
A : Java applet
B : Java servlet
C : Java EJB
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 261/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
D : Java Struts
A : ng-disabled
B : ng-hide
C : ng-false
D : ng-true
Q.no 20. Suppose we want to arrange five nos. of DIVs so that DIV4 is placed above DIV1.
Now, which css property will we use to control the order of stack?
A : d-index
B : s-index
C : x-index
D : z-index
Q.no 21. Find the correct syntax of the declaration which defines the XML Version?
A : Microsoft
B : Navigator
C : LiveWire
D : Native
A : nodejs sample.js
B : node sample.js
C : sample.js
D:0
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 262/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A:"<"
B : "&"
C : Both A & B
A : User
B : Loosely
C : Server
D : System
Q.no 26. When we write <img src="img.png">, what "img.png" inside double quote implies?
A : element
B : attribute
C : value
D : operator
A : JavaBeans
B : EJB,COBRA
C : JDO
D : All above
Q.no 28. Which of the following layer in Web Service Protocol Stack is responsible for
transporting messages between applications?
A : Service Transport
B : XML Messaging
C : Service Description
D : Service Discovery
Q.no 29. JavaScript statements embedded in an HTML page can respond to user
events such as mouse-clicks, form input, and page navigation.
A : Client-side
B : Server-side
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 263/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
C : Local
D : Native
Q.no 30. A PHP script should start with and end with :
C:<??>
Q.no 31. Which of the following is not a core role in Web Service architecture?
A : Service Provider
B : Service Requestor
C : Service Registry
D : Service Locator
B : It provides a means of exchanging structured data between the Web server and client
C : It provides the ability to asynchronously exchange data between Web browsers and a Web
server.
D : It provides the ability to mark up and style the display of Web-page text.
Q.no 33. Which of the Following are the valid scopes in JSP.
C : it is routine
D : it is distributed
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 264/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
C : Both a and b
Q.no 37. Which of the following method can be used to read a multiple values with same
name, for example check box selections in JSP?
A : request.getParameter()
B : response.getParameter()
C : request.getParameterValues()
D : response.getParameterValues()
B : Use of CommetD
C : Use of Polling
D : Use of include
Q.no 39. Which is a currect Jquery Syntax to hide all paragraph elements
A : ("p").hide()
B : $("p").hide()
C : $hide("p")
D : p.hide()
Q.no 40. Which one of these legendary Greek mythical figures or places is the code name for
Microsoft's version of AJAX ?
A : Oracle
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 265/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
B : Atlas
C : Hercules
D : Delphi
Q.no 41. Which of the following method can be used to read parameters names in JSP?
A : request.getParameter()
B : response.getParameter()
C : request.getParameterNames()
D : response.getParameterNames()
Q.no 42. Which of the following code is used to get session in servlet
A : response.getSession()
B : serveltSession.getSession()
C : new Session()
D : request.getSession()
A : Element
B : Attribute
C : Comment
D : All of above
Q.no 44. Which of the followings are valid languages for Node.js?
A : JavaScript
B : Java
C : c++
D : C#
Q.no 45. Which is used to make asynchronous request i.e. it doesn't block the user and it
sends only required field data to the server side not all, So it makes the performance fast?
A : AJAX Support
B : Integration Support
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 266/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
Q.no 46. Which of the following attribute can hold the JavaScript version?
A : LANGUAGE
B : SCRIPT
C : VERSION
A : background-color
B : border
C : color
D : display
Q.no 48. Which of the following attribute is used to mark a page as error processing page
A : errorPage
B : isErrorPage
C : exception
D : exceptionPage
p {line-height: 150%;}
A : class Selectors
B : element Selectors
C : id Selectors
Q.no 50. Of the following technologies, which one provides the ability to
dynamically interact with Web page layout?
A : JavaScript.
B : XML.
D : HTML.
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 267/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
Q.no 51. Which of the following code retrieves the login of the user making this request?
A : request.getRemoteUser()
B : response.getRemoteUser()
C : Header.getRemoteUser()
D : servlet.getRemoteUser()
Q.no 52. Which of the following methods is used to execute the statement after the parameters
have been bound?
A : bind_param()
B : bind_result()
C : bound_param()
D : bound_result()
Q.no 53. You can name the schema using the name attribute like
A : <schema attribute=”schema1”>
B : <schema nameattribute=”schema1”>
C : <schema nameattri=”schema1”>
D : <schema name=”schema1”>
Q.no 54. Which one of the following databases has PHP supported almost since the
beginning?
A : Oracle Database
B : SQL
C : SQL+
D : MySQL
Q.no 55. Which method retrieves each row from the prepared statement result and assigns the
fields to the bound results?
A : get_row()
B : fetch_row()
C : fetch()
D : row()
Q.no 56. Which of the following code can be used to clear the content of the underlying buffer
in the response without clearing headers or status code
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 268/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : response.resetBuffer()
B : response.reset()
C : request.reset()
D : response.Buffer()
A : JSP Filters are used to intercept requests from a client before they access a resource at back end
B : JSP Filters are used to manipulate responses from server before they are sent back to the client.
A : Object
B : Class
D : Array
Q.no 59. Which one of the following methods can be used to diagnose and display information
about a MySQL connection error?
A : connect_errno()
B : connect_error()
C : mysqli_connect_errno()
D : mysqli_connect_error()
A : xml:lang
B : xml:space
C : both
D : none
Answers
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 270/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 271/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : Independent
B : dependent
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 272/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
C : sometime dependent
D : sometine independent
Q.no 2. Which of the following method can be used to read a form parameter in JSP?
A : response.getParameter()
B : request.getParameter()
C : request.getValue()
D : response.getValue()
A : VBScript
B : C++
C : JavaScript
D : C#
Q.no 4. If we don't want to allow a floating div to the left side of an element, which css
property will we use ?
A : margin
B : clear
C : float
D : padding
Q.no 5. Which of the following layer in Web Service Protocol Stack is responsible for
centralizing services into a common registry and providing easy publish/find functionality?
A : Service Transport
B : XML Messaging
C : Service Description
D : Service Discovery
Q.no 6. Which Web browser is the least optimized for Microsoft's version of AJAX?
A : Firefox
B : Opera
C : Safari
D : Internet Explorer
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 273/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : <%! declaration%>
B : <%= declaration%>
C : <%-- declaration%>
D : <%@ declaration%
Q.no 8. When a user views a page containing a JavaScript program, which machine actually
executes the script?
A : lowercase
B : orderby
C : email
D : currency
Q.no 12. Which element is used in the <HEAD> section on an HTML / XHTMLpage, if we
want to use an external style sheet file to decorate the page ?
A : <src>
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 274/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
B : <link>
C : <style>
D : <css>
A : Server-side
B : Client-side
C : Browser-side
D : In-side
A : request
B : response
C : cookie
D : session
A : pageContext
B : servletContext
C : httpContext
D : sessionContext
Q.no 17. In WordPress, what is the user role with the highest privilege level?
A : Administrator
B : Author
C : Editor
D : Contributor
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 275/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
D : Through Software
A : Microsoft
B : IBM
C : Google
D : SunMicrosystem
A : Data storage
B : Data sharing
C : Both A & B
A : node-static
B : http
C : node-resource
D : static
var a = 10;
var b = 0;
document.write(a/b);
A : Nothing is printed
B : 0 is printed
C : Infinity is printed
Q.no 24. Which JSP Action tags is used to include the content of another resource, like jsp,
html or servlet?
A : jsp:plugin
B : jsp:include
C : jsp:forward
D : jsp:useBean
A : <%@ expression%>
B : <%! expression%>
D : <%-- expression%>
Q.no 26. Which attribute can be added to many HTML / XHTML elements to identify them
as a member of a specific group ?
A : Id
B : div
C : class
D : span
A : Abstract class
B : Interface
C : Concreate class
D : Public class
Q.no 30. Which one of the following is correct syntax for directive in JSP
A : <%@directive%>
B : <%!directive%>
C : <%directive%>
D : <%=directive%>
Q.no 31. Which of the following selector selects the elements that are the default among a set
of similar elements?
A : :default
B : :%
C : :disabled
A : angular.module();
C : module.create();
D : angular.create();
Q.no 33. Which type of validation we must implement the Validateable interface (or extend
ActionSupport class) and provide the implementation of validate method?
A : By Input Validation
B : By Ajax Validation
C : By Custom Validation
D:0
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 278/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
Q.no 34. Which statement is valid in using a Node module fs in a Node based application?
A : var fs = import("fs")
B : import fs
C : package fs
D : var fs = require("fs")
Q.no 35. Which of the following elements are block and inline elements, respectively, that
have no particular rendering?
A : div
B : span
C : box-model
A : Xpath
B : XSLT
C : Xlink
D : Xpointer
Q.no 38. Which of the following magic constant of PHP returns current line number of the
file?
A : LINE
B : FILE
C : FUNCTION
D : CLASS
Q.no 39. Which of the following tool automates various tasks of Node.js application
A : Express.js
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 279/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
B : GruntJS
C : . NPM
D : .MS
Q.no 40. Which of the following class is used to create and consume custom events in Node.js?
A : EventEmitter
B : Events
C : NodeEvent
D : NodeEmitter
Q.no 41. When a user views a page containing a JavaScript program, which machine actually
executes the script?
A : Response
B : HttpResponse
C : HttpServletResponse
D : ServletResponse
Q.no 43. In AngulsrJS HTML document is loaded and evaluated first in the browser. Mean
while in AngularJS ?
D : All of above
Q.no 44. A similar rule called the is specified using the plus sign (+) and is used
to select elements that would be siblings of each other.
A : class selectors
B : attribute selectors
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 280/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
C : adjacent-sibling selector
Q.no 45. Which of the following is used to access session variables in PHP?
A : session_start() function
B : $_SESSION[]
C : isset() function
D : session_destroy() function
Q.no 46. Which of the following code is used to get names of the parameters in servlet?
A : servlet.getParameterNames()
B : header.getParameterNames()
C : response.getParameterNames()
D : request.getParameterNames()
C : display logic
D : display view
Q.no 48. Which of following object can be used to access other implicit objects in JSP.
A : request
B : page
C : response
D : pageContext
var a = '10';
var b = a = 20;
document.write(a+b);
A : Error in Script
B : 10'20
C : 1020
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 281/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
D : 40
A : Element
B : Window
C : Location
A : 2003
B : 2004
C : 2005
D : 2006
sum(1, 2, 3,4,5);
A:2
B:5
C : 15
D : None of above
D : Sesion tarcking
A : commit()
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 282/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
B : undo()
C : back()
D : rollback()
C : A Browser
A : MySQL
B : Oracle
C : PostgresSQL
D : MS SQLServer
Q.no 58. In which version of PHP was MySQL Native Driver(also known as mysqlnd)
introduced?
A : PHP 5.0
B : PHP 5.1
C : PHP 5.2
D : PHP 5.3
Q.no 59. What is included in phpinfo ( ) function with release of PHP5.2.1 version?
A : A header tag
B : A footer tag
C : A Meta tag
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 283/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
D : Title Tag
Q.no 60. How Node based web servers are different from traditional web servers?
A : Node based server process request much faster than traditional server.
B : Node based server uses a single threaded model and can services much larger number of
requests than traditional server like Apache HTTP Server.
Answers
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 285/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 286/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : selector.CSS()
B : $(selector).css()
C : $(selector).style()
D : None of above
A : element.getID
B : innerHTML
C : getContent()
D : getHTML()
Q.no 3. Which of the following statement is correct about HTTP Get method.
A : GET method is used to appends form data to the URL in the page request.
B : The GET method is a secure method to pass information from browser to web server.
C : GET requests do not have any data length restrictions for data tranfer.
A : Design
B : Verify
C : Transport
D : Both A & B
Q.no 5. jQuery method to set one or more style properties for selected elements?
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 287/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : style()
B : css()
C : html()
D : None
D : Both A & C
B : Varying randomly
Q.no 8. Which of the following code retrieves the value of a request parameter in servlet?
A : Header.getParameter(name)
B : response.getParameter(name)
C : request.getAttributeNames()
D : request.getParameter(name)
D : No uses in PHP.
Q.no 10. Which of the following tag is used to render a I18n text message?
A : set tag
B : ext tag
C : url tag
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 288/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
D : push tag
A : jsp:forward
B : jsp:include
C : jsp:useBean
D : Jsp:import
A : C++
B:C
C : Java
D : Python
A : include
B : export
C : page
D : taglib
Q.no 15. Which of the following properties will we use to display border around a cell without
any content ?
A : empty-cell
B : blank-cell
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 289/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
C : noncontent-cell
D : void-cell
A : Out
B : Write
C : Echo
D : Display
Q.no 17. Which of the following EJB type has no Remote interfaces?
A : Message-Driven Bean
D : Session Bean
B : < !-- ?
D : < ?-- ?
A:1
B:2
C:3
D:4
Q.no 20. Using statement is how you test for a specific condition.
A : Select
B : If
C : Switch
D : For
Q.no 22. When we write <img src="img.png">, what "img.png" inside double quote implies?
A : element
B : attribute
C : value
D : operator
A : WWW
B : SMTP
C : HTTP
D : SNMP
Q.no 26. Which role in EJB architecture is responsible for EJB Server?
A : EJB Deployer
B : Application Assembler
C : Network Engineer
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 291/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
D : Server Provider
C : $ install express
D : #update express
A : MV
B : MMVC
C : MVC
D : MC
A : <%! comment%>
B : <%@ comment%>
C : <%= comment%>
D : <%-- comment--%>
Q.no 30. ActionServlet, RequestProcessor and Action classes are the components of
A : View
B : Model
C : Controller
D : Deployment
A : J2EE
B : DHTML
C : XML/XSLT
D : JavaScript
A : Application Module
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 292/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
B : constant
C : value
D : factory
A : Views
B : Account
C : Shared
D : Home
A : CharacterData
B : Document
C : Attr
D : Element
Q.no 35. Which of the following selector selects all elements of E that have the attribute attr
that end with the given value?
A : E[attr^=value]
B : E[attr$=value]
C : E[attr*=value]
A : 11
B : 12
C : 13
D : 10
Q.no 37. Which of the following type of variables have only two possible values either true or
false?
A : Integers
B : Doubles
C : booleans
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 293/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
D : Strings
C : void _jspService()
B : Use of CommetD
C : Use of Polling
D : Use of include
A : HTML
B : PHP
C : JavaScript
D : Wordpress
Q.no 41. Which of the following selector selects the elements that are checked?
A:E~F
B : ::after
C : :checked
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 294/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
Q.no 44. Correct way of accessing javascript object var person = {firstName:"John",
lastName:"Doe"}
A : person.lastName;
B : person#lastName
C : lastName
D : None of above
A : class rule
B : element rule
C : id rule
A : Catalina
B : Tomcat sink
C : Casper
D : Jasper
B : x = obj(firstName:"John", lastName:"Doe")
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 295/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
C : Both of above
D : None of above
Q.no 49. Which of the following attributes are mandatory in <jsp:getProperty /> tag
A : name, property
B : type, id
C : name, type
D : id, property
Q.no 50. What is the correct JavaScript syntax to write "Hello World"?
A : System.out.println("Hello World")
C : document.write("Hello World")
D : response.write("Hello World")
Q.no 51. A function in PHP which starts with (double underscore) is known as
A : Inbuilt Function
B : Magic Function
C : Default Function
Q.no 53. Which types of image maps can be used with JavaScript?
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 296/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
Q.no 54. Which of the following code is used to update an attribute in a HTTP Session object
in servlets?
A : session.setAttribute(name,value)
B : session.alterAttribute(name,value)
C : session.updateAttribute(name,value)
D : session.update(name,value)
B : it contain an element
D : must contain one or more elements and root element must contain all other elements
Q.no 56. Which of the following function sorts an array in reverse order?
A : rsort()
B : sort()
C : shuffle()
D : reset()
A : p with id
B : p with class
C : p with name
A : Website
B : Application
C : System Program
D : Operating System
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 297/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : The PHP configuration file, php.ini, is the final and most immediate way to affect PHP's
functionality.
A : Willam Makepiece
B : Drek Kolkevi
C : Rasmus Lerdorf
D : List Barely
Answers
Question No 60. is
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 299/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 300/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : Microsoft
B : IBM
C : Google
D : SunMicrosystem
Q.no 2. In which application can XML be used for marking up documents for specialized
applications, such as e-commerce, scientific documents, Mathematical formula and e-books?
B : Data storage
C : Specialized publishing
Q.no 3. tag is an extension to HTML that can enclose any number of JavaScript
statements.
A : <SCRIPT>
B : <BODY>
C : <HEAD>
D : <TITLE>
Q.no 4. Which of the following tags in struts-config.xml file defines the availability of
necessary Struts JSP custom tag libraries?
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 301/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : jsp-lib
B : struts-taglib
C : taglib
D : jsp-taglib
A : <%! declaration%>
B : <%= declaration%>
C : <%-- declaration%>
D : <%@ declaration%
Q.no 7. If we don't want to allow a floating div to the left side of an element, which css
property will we use ?
A : margin
B : clear
C : float
D : padding
C:<??>
A : 8080
B : 7001
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 302/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
C : 8010
D : 9001
Q.no 12. Which of the following is not the scope of Variable in PHP?
A : local
B : global
C : static
D : extern
Q.no 13. Which CSS property is used to control the text size of an element ?
A : font-style
B : text-size
C : font-size
D : text-style
A : request
B : response
C : cookie
D : session
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 303/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
Q.no 15. What should be the table width, so that the width of a table adjust to the current
width of the browser window?
A : 640 pixels
B:1
C : full-screen
D : 1024 px
A : a.sort()
B : sort(a)
C : a = sort()
D : None of above
Q.no 17. Which of the following is the correct order of servlet life cycle phase methods?
D : Through Software
Q.no 20. How can we write comment along with CSS code ?
A : /* a comment */
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 304/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
B : // a comment //
C : / a comment /
D : <' a comment'>
Q.no 21. Which of the following method can be used to read a form parameter in JSP?
A : response.getParameter()
B : request.getParameter()
C : request.getValue()
D : response.getValue()
A : Microsoft
B : Navigator
C : LiveWire
D : Native
Q.no 23. Which of the following component of HTTP response contains response message
content or Resource representation?
A : Status/Response Code
B : HTTP Version
C : Response Header
D : Response Body
A : stateless
B : stateful
C : No State
D : All state
var a;
document.write(a);
A:0
B : undefined
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 305/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
C : error
D : NaN
Q.no 26. Which css property you will use if you want to add some margin between a DIV's
border and its inner text ?
A : spacing
B : margin
C : padding
D : inner-margin
Q.no 27. Which Method is used to find element using class name
A : findElementByClassName()
B : getElementByClassName()
C : className()
D : getClass()
A : Microsoft
B : Navigator
C : LiveWire
D : Native
Q.no 29. Which of the following layer in Web Service Protocol Stack is responsible for
encoding messages in a common XML format so that messages can be understood at either
end?
A : Service Transport
B : XML Messaging
C : Service Description
D : Service Discovery
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 306/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
Q.no 31. The method of an Array object adds and/or removes elements from an
array.
A : Reverse
B : Shift
C : Slice
D : Splice
Q.no 32. Which of the following can't be done with client-side JavaScript?
A : Validating a form
Q.no 33. In the model-view-controller (MVC) architecture, the model defines the
A : Data-access layer
B : Presentation layer
C : Business-logic layer
D : Interface layer
var a = 'cpp';
var b = 'buzz';
var c = a/b;
document.write(c);
A : cppbuzz
B : cpp/buzz
C : NaN
Q.no 35. Which of the following php statement/statements will store 111 in variable num?
i) int $num = 111;
ii) int mum = 111;
iii) $num = 111;
iv) 111 = $num;
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 307/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
B : Only (iii)
C : Only (i)
D : Only (ii)
Q.no 36. Which is a currect Jquery Syntax to hide all paragraph elements
A : ("p").hide()
B : $("p").hide()
C : $hide("p")
D : p.hide()
A : setcookie()
B : createcookie()
C : makecookie()
D : cookieset()
Q.no 38. . What are various possible prefixes such as 'ng-' using which Angular directives (for
example, ng-app) can be defined?
B : ng-'
D : ng-', 'data-ng-','x-ng-'
Q.no 39. Which attribute of JSP page directive defines the MIME type of the HTTP response
A : Import
B : Extends
C : contentType
D : info
Q.no 40. Which is used to make asynchronous request i.e. it doesn't block the user and it
sends only required field data to the server side not all, So it makes the performance fast?
A : AJAX Support
B : Integration Support
var a = 10;
document.write(a=20);
A : Error
B : Nothing is printed
C : 10
D : 20
Q.no 42. Which EJB container must provide an implementation of Java Naming and
Directory Interface (JNDI) API to provide naming services for EJB clients and components?
A : Transaction support
B : Persistence support
C : Naming support
B : It provides a means of exchanging structured data between the Web server and client
C : It provides the ability to asynchronously exchange data between Web browsers and a Web
server.
D : It provides the ability to mark up and style the display of Web-page text.
Q.no 45. Which jQuery method is used to switch between adding/removing one or more
classes (for CSS) from selected elements?
A : switchClass()
B : toggleClass()
C : altClass()
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 309/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
D : switch()
A : $(".test").hide()
B : $("#test").hide()
C : Both of above
D : None of above
Q.no 47. What is the correct way to add 1 to the $count variable?
A : $count++;
B : ++count
C : $count =+1
D : count++;
Q.no 48. Which of the following is the format for EJB deployment descriptor files?
A : XML
B : XSL
C : HTML
D : Java
Q.no 49. A new web browser window can be opened using which method of the Window
object ?
A : createtab()
B : Window.open()
C : open()
Q.no 50. Of the following technologies, which one provides the ability to
dynamically interact with Web page layout?
A : JavaScript.
B : XML.
D : HTML.
Q.no 51. You can name the schema using the name attribute like
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 310/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : <schema attribute=”schema1”>
B : <schema nameattribute=”schema1”>
C : <schema nameattri=”schema1”>
D : <schema name=”schema1”>
A : (i) is correct
Q.no 54. Elements from the HTML namespace are displayed as they would in
…………………..
A : DHTML
B : XML
C : HTML
D : DXML
Q.no 55. If para1 is the DOM object for a paragraph, what is the correct syntax to change the
text within the paragraph?
A : "New Text"?
B : para1.value="New Text";
D : para1.nodeValue="New Text";
Q.no 56. Which of the following code is used to remove a HTTP Session object in servlets?
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 311/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : session.invalidate()
B : response.deleteSession()
C : session.delete()
D : request.deleteSession()
A : Entity Bean
D : Message-Driven Bean
A : Database
B : Cursor
C : Client
D : FileUpLoad
Q.no 59. Which one of the following method is used to retrieve the number of rows affected by
an INSERT, UPDATE, or DELETE query?
A : num_rows()
B : affected_rows()
C : changed_rows()
D : new_rows()
D : Both A and C
Answers
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 313/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : Node
B : Attributes
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 314/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
C : Elements
D : Arrays
A : ng-include
B : ng-form
C : ng-directive
D : ng-bind
B : Hypertext Preprocessor
A : EJB Deployer
B : Application Assembler
C : Network Engineer
D : Server Provider
A : Brad Green
B : Misko Hevery
C : Adam Abrons
D : Adam Nass
Q.no 6. When we write <img src="img.png">, what "img.png" inside double quote implies?
A : element
B : attribute
C : value
D : operator
A : User
B : Loosely
C : Server
D : System
Q.no 8. Which attribute can be added to many HTML / XHTML elements to identify them as
a member of a specific group ?
A : Id
B : div
C : class
D : span
A : Java Servlets are programs that run on a Web server or Application server.
B : Java Servlets are the program that run in the web browser space.
C : Java Servlets are client side programs that run on a client side
A : A web server
B : An application server
C : An EJB container
D : A database server
A : VBScript
B : C++
C : JavaScript
D : C#
Q.no 12. If we want to wrap a block of text around an image, which css property will we use ?
A : wrap
B : push
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 316/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
C : float
D : align
A : Out
B : Write
C : Echo
D : Display
A : Abstract class
B : Interface
C : Concreate class
D : Public class
A : Transport information
B : Style information
C : Store information
D : Structure information
A : run()
B : destroy()
C : execute()
D : service()
A : jsp:forward
B : jsp:include
C : jsp:useBean
D : Jsp:import
Q.no 22. In WordPress, what is the user role with the highest privilege level?
A : Administrator
B : Author
C : Editor
D : Contributor
A : NaN()
B : isNaN()
C : Both of above
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 318/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
D : None of above
Q.no 25. Which of the following layer in Web Service Protocol Stack is responsible for
transporting messages between applications?
A : Service Transport
B : XML Messaging
C : Service Description
D : Service Discovery
A : WWW
B : SMTP
C : HTTP
D : SNMP
B : "Hello World";
C : Document.Write("Hello World");
D : print "hello"
Q.no 29. The following example shows which XML Syntax rule,
< note date=" 12/11/2007">
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 319/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : image = “url”
B : source(“url”)
C : image.src = “url”
D : img.src=”url”
B : Use of CommetD
C : Use of Polling
D : Use of include
A : javax.servlet.ServletContext
B : javax.servlet.ServletConfig
C : javax.servlet.Context
D : javax.servlet.Application
Q.no 33. In servet, the line of code that retrieves session ID specified by the client is
A : request.getRequestedSessionId()
B : response.getRequestedSessionId()
C : Header.getRequestedSessionId()
D : request.getId()
Q.no 34. Which of the followings are valid languages for Node.js?
A : JavaScript
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 320/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
B : Java
C : c++
D : C#
Q.no 35. Which of the following method can be used to read a multiple values with same
name, for example check box selections in JSP?
A : request.getParameter()
B : response.getParameter()
C : request.getParameterValues()
D : response.getParameterValues()
Q.no 36. Using function, we can hold or release the execution of jQuery’s ready
event.
A : jQuery.holdReady()
B : jQuery.ready()
C : jQuery.hold()
D : jQuery.holdready()
Q.no 37. Which of the Following are the valid scopes in JSP.
Q.no 38. Which of the following is used to get information sent via get method in PHP?
A : $_GET
B : $GET
C : $GETREQUEST
D : $GETR
A : deleteCookie(cookie);
B : request.deleteCookie(cookie);
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 321/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
C : cookie.setMaxAge(0)
D : esponse.deleteCookie(cookie);
D : None of above
Q.no 41. What angular function is used to manually start up an angular application?
A : angular.bootstrap
B : angular.element
C : angular.copy
var a = '10';
var b = a = 20;
document.write(a+b);
A : Error in Script
B : 10'20
C : 1020
D : 40
Q.no 43. What is the correct way to open the file "time.txt" as readable?
A : fopen("time.txt","r");
B : open("time.txt","read");
C : fopen("time.txt","r+");
D : open("time.txt");
C : display logic
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 322/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
D : display view
Q.no 45. Which of the following code is used to get names of the attributes in servlet
A : response.getAttributeNames()
B : request.getAttributeNames()
C : Header.getAttributeNames()
A : Element
B : Attribute
C : Comment
D : All of above
A : PHP format
B : HTML format
C : PDF format
D : XML format
Q.no 48. What is the correct JavaScript syntax to write "Hello World"?
A : System.out.println("Hello World")
C : document.write("Hello World")
D : response.write("Hello World")
Q.no 49. Which superglobal variable holds information about headers, paths, and script
locations?
A : $_SERVER
B : $_GET
C : $_SESSION
D : $_GLOBALS
Q.no 50. Which of the following method is used to hide the selected elements?
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 323/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : visible(false)
B : hidden()
C : display(none)
D : hide()
A : Willam Makepiece
B : Drek Kolkevi
C : Rasmus Lerdorf
D : List Barely
Q.no 53. How Node based web servers are different from traditional web servers?
A : Node based server process request much faster than traditional server.
B : Node based server uses a single threaded model and can services much larger number of
requests than traditional server like Apache HTTP Server.
Q.no 54. Which of the following function returns the number of characters in a string
variable?
A : count($variable)
B : len($variable)
C : strcount($variable)
D : strlen($variable)
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 324/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : p with id
B : p with class
C : p with name
Q.no 56. Which one of the following statements instantiates the mysqli class?
C : $mysqli->new.mysqli()
D : mysqli->new.mysqli()
Q.no 57. Which one of the following databases has PHP supported almost since the
beginning?
A : Oracle Database
B : SQL
C : SQL+
D : MySQL
Q.no 58. Which of the methods are used to manage result sets using both associative and
indexed arrays?
A : FileUpLoad
B : Function
C : File
D : Date
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 325/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
Answers
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 327/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 328/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A:1
B:2
C:3
D:4
Q.no 2. Which of the following properties will we use to display border around a cell without
any content ?
A : empty-cell
B : blank-cell
C : noncontent-cell
D : void-cell
Q.no 3. Which of the following layer in Web Service Protocol Stack is responsible for
centralizing services into a common registry and providing easy publish/find functionality?
A : Service Transport
B : XML Messaging
C : Service Description
D : Service Discovery
Q.no 4. Which of the following represents the root of the Tomcat installation
A : $CATALINA
B : $CATALINA_HOME
C : $HOME
D : None of these
A : Microsoft
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 329/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
B : Navigator
C : LiveWire
D : Native
C : Both of These
D : None
A : Html
B : JSP
C : JavaScript
D : CSS
A : ng-disabled
B : ng-hide
C : ng-false
D : ng-true
B : < !-- ?
D : < ?-- ?
A : JavaBeans
B : EJB,COBRA
C : JDO
D : All above
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 330/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : document.createElement()
B : document.createNewElement()
C : newElement()
D : document.HTMLElement()
var a = 10;
var b = 0;
document.write(a/b);
A : Nothing is printed
B : 0 is printed
C : Infinity is printed
Q.no 13. Which character in the XML Element will generate an error because the parser
interprets it as the start of a new element?
A:"<"
B : "&"
C : Both A & B
A : MV
B : MMVC
C : MVC
D : MC
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 331/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : is a programe
B : is a country name
D : class name
A : ng-init
B : ng-app
C : ngSrc
D : ng-start
A : transactional components
D : server-side components
Q.no 19. Which event handler is triggered when the user’s mouse moves onto a link?
A : onMouseOver
B : onMouseOut
C : onMouse
D : onMouseOnto
A : Design
B : Verify
C : Transport
D : Both A & B
Q.no 21. What does the hash (#) sign mean in PHP?
D : No uses in PHP.
A : <myElement myAttribute="someValue"/>
B : <myElement myAttribute=someValue/>
C : <myElement myAttribute=’someValue’>
D : <myElement myAttribute="someValue’/>
D : it is framework only
D : void jspInit()
C : more dynamic
D : static only
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 333/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : CSS
B : DOM
C : DHTML
D : Flash
A : Independent
B : dependent
C : sometime dependent
D : sometine independent
A : <%! comment%>
B : <%@ comment%>
C : <%= comment%>
D : <%-- comment--%>
A : Java applet
B : Java servlet
C : Java EJB
D : Java Struts
A : response.createCookie(cookie)
B : response.sendCookie(cookie)
C : response.addCookie(cookie)
Q.no 32. When a user views a page containing a JavaScript program, which machine actually
executes the script?
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 334/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : Catalina
B : Tomcat sink
C : Casper
D : Jasper
Q.no 34. Which is a currect Jquery Syntax to hide all paragraph elements
A : ("p").hide()
B : $("p").hide()
C : $hide("p")
D : p.hide()
Q.no 35. Which of the following attributes are mandatory in <jsp:getProperty /> tag
A : name, property
B : type, id
C : name, type
D : id, property
C : void _jspService()
A : class rule
B : element rule
C : id rule
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 335/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : ng
B : ng-app
C : ng-config
D : restore
A : Application Module
B : constant
C : value
D : Factory
A : background-color
B : border
C : color
D : display
Q.no 41. Correct way of accessing javascript object var person = {firstName:"John",
lastName:"Doe"}
A : person.lastName;
B : person#lastName
C : lastName
D : None of above
Q.no 42. Which of the following module is required for path specific operations?
A : os module
B : fs module
C : path module
D : ng module
Q.no 43. Which of the following statement is true about the destroy() method of servlet?
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 336/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : The destroy() method is called multiple times during the life cycle of a servlet
B : The destroy() method is called only once at the end of the life cycle of a servlet.
C : The destroy() method is called after the servlet has executed service method.
D : The destroy() method is called is never called during the life cycle of a servlet.
Q.no 44. Which of the following tool automates various tasks of Node.js application
A : Express.js
B : GruntJS
C : . NPM
D : .MS
Q.no 45. A similar rule called the is specified using the plus sign (+) and is used
to select elements that would be siblings of each other.
A : class selectors
B : attribute selectors
C : adjacent-sibling selector
A : Java
B : Javascript
C : Typescript
D : VB script
C : it is routine
D : it is distributed
B : x = obj(firstName:"John", lastName:"Doe")
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 337/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
C : Both of above
D : None of above
Q.no 49. Which of the following type of variables have only two possible values either true or
false?
A : Integers
B : Doubles
C : booleans
D : Strings
Q.no 50. What is the correct syntax for referring to an external script called " abc.js"?
A : Entity Bean
D : Message-Driven Bean
Q.no 52. Which one of the following methods is responsible for sending the query to the
database?
A : query()
B : send_query()
C : sendquery()
D : query_send()
A : 2003
B : 2004
C : 2005
D : 2006
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 338/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
Q.no 54. Which one of the following statements can be used to select the database?
A : $mysqli=select_db(‘databasename’);
B : mysqli=select_db(‘databasename’);
C : mysqli->select_db(‘databasename’);
D : $mysqli->select_db(‘databasename’);
A : TCP
B : HTTP
C : UDP
D : SMTP
sum(1, 2, 3,4,5);
A:2
B:5
C : 15
D : None of above
Q.no 57. DTD includes the specifications about the markup that can be used within the
document, the specifications consists of all EXCEPT
C : entity declarations
D : element declarations
Q.no 58. In which version of PHP was MySQL Native Driver(also known as mysqlnd)
introduced?
A : PHP 5.0
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 339/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
B : PHP 5.1
C : PHP 5.2
D : PHP 5.3
A : XML is technology independent. It can be used by any technology for data storage and
transmission purpose.
Q.no 60. Which of the following method can be used to get the multiple values of a parameter
like checkbox data?
A : request.getParameter()
B : header.getParameterNames()
C : request.getParameterValues()
D : request.getParameterNames()
Answers
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 341/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
Q.no 1. Which of the following XML documents are well-formed?
Q.no 2. Which one of the following is correct syntax for directive in JSP
A : <%@directive%>
B : <%!directive%>
C : <%directive%>
D : <%=directive%>
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 342/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : yes
B : no
C : partially no
D : partially yes
Q.no 5. If we don't want to allow a floating div to the left side of an element, which css
property will we use ?
A : margin
B : clear
C : float
D : padding
Q.no 6. Which of the following statement is correct about HTTP Get method.
A : GET method is used to appends form data to the URL in the page request.
B : The GET method is a secure method to pass information from browser to web server.
C : GET requests do not have any data length restrictions for data tranfer.
Q.no 7. In XML which internet languages are markup languages for handheld devices?
A : WAP
B : WML
C : RSS
D : Both A & B
A : request
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 343/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
B : response
C : cookie
D : session
A : comma
B : semicolon
C : Question mark
D : Dollar sign
B : void jspDestroy()
Q.no 11. Which is a software- and hardware-independent tool for carrying information?
A : HTML
B : XML
C : Both A & B
Q.no 12. Which of the following code retrieves the value of a request parameter in servlet?
A : Header.getParameter(name)
B : response.getParameter(name)
C : request.getAttributeNames()
D : request.getParameter(name)
Q.no 13. Which of the following layer in Web Service Protocol Stack is responsible for
encoding messages in a common XML format so that messages can be understood at either
end?
A : Service Transport
B : XML Messaging
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 344/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
C : Service Description
D : Service Discovery
A:"<"
B : "&"
C : Both A & B
A : true
B : Flase
C : Depends on website
D : Depends on server
D : Both A & C
D : new mod()
A : append
B : push
D : None of above
A : yes
B : no
C : always
D : never
A : 8080
B : 7001
C : 8010
D : 9001
Q.no 21. Which Web browser is the least optimized for Microsoft's version of AJAX?
A : Firefox
B : Opera
C : Safari
D : Internet Explorer
Q.no 25. If we want define style for an unique element, then which css selector will we use ?
A : Id
B : text
C : class
D : name
C : $ install express
D : #update express
A : ActionErrors
B : ActionForward
C : ActionMapping
D : ActionError
Q.no 30. Which of the following component of HTTP request is used to indicate HTTP
version?
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 347/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
A : VERB
B : URI
C : HTTP Version
D : Request Header
Q.no 31. Which of the following selector selects all elements of E that have the attribute attr
that end with the given value?
A : E[attr^=value]
B : E[attr$=value]
C : E[attr*=value]
A : Xpath
B : XSLT
C : Xlink
D : Xpointer
A : Window Object
B : Document Object
C : Form Object
Q.no 34. Which attribute of JSP page directive defines the MIME type of the HTTP response
A : Import
B : Extends
C : contentType
D : info
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 348/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
p {line-height: 150%;}
A : class Selectors
B : element Selectors
C : id Selectors
Q.no 37. Which of the following code is used to get names of the attributes in servlet
A : response.getAttributeNames()
B : request.getAttributeNames()
C : Header.getAttributeNames()
A : background-color
B : border
C : color
D : display
Q.no 40. What should appear at the very end of your JavaScript?
The <script LANGUAGE="JavaScript">tag
A : The </script>
B : The <script>
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 349/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
Q.no 41. Which one of these legendary Greek mythical figures or places is the code name for
Microsoft's version of AJAX ?
A : Oracle
B : Atlas
C : Hercules
D : Delphi
A : PHP format
B : HTML format
C : PDF format
D : XML format
Q.no 43. What is the correct way to add 1 to the $count variable?
A : $count++;
B : ++count
C : $count =+1
D : count++;
A : deleteCookie(cookie);
B : request.deleteCookie(cookie);
C : cookie.setMaxAge(0)
D : esponse.deleteCookie(cookie);
Q.no 45. . What are various possible prefixes such as 'ng-' using which Angular directives (for
example, ng-app) can be defined?
B : ng-'
D : ng-', 'data-ng-','x-ng-'
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 350/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
Q.no 46. Which type of validation we must implement the Validateable interface (or extend
ActionSupport class) and provide the implementation of validate method?
A : By Input Validation
B : By Ajax Validation
C : By Custom Validation
D:0
Q.no 47. Which of the following selector selects the elements that are the default among a set
of similar elements?
A : :default
B : :%
C : :disabled
Q.no 48. What is the work of the form control elements in the HTML DOM?
C : Debugging elements
D : Collecting elements
Q.no 49. Which of the following is true about init() method of servlet?
A : The init() method loads new data for each service request of the servlet.
B : The init() method is called again and again for each user request.
A : $(".test").hide()
B : $("#test").hide()
C : Both of above
D : None of above
A : p with id
B : p with class
C : p with name
Q.no 53. Which one of the following method is used to retrieve the number of rows affected by
an INSERT, UPDATE, or DELETE query?
A : num_rows()
B : affected_rows()
C : changed_rows()
D : new_rows()
A : Object
B : Class
D : Array
A : MySQL 4.0
B : MySQL 4.1
C : MySQL 4.2
D : MySQL 4.3
Q.no 57. Which one of the following lines need to be uncommented or added in the php.ini file
so as to enable mysqli extension?
A : extension=php_mysqli.dll
B : extension=mysql.dll
C : extension=php_mysqli.dl
D : extension=mysqli.dl
Q.no 58. Which of the following layer in Web Service Protocol Stack is responsible for
describing the public interface to a specific web service?
A : Service Transport
B : XML Messaging
C : Service Description
D : Service Discovery
A : Database service
C : Network Service
D : Web Service
Q.no 60. The default model for complex type, in XML schemas for element is
A : textOnly
B : elementOnly
C : no default type
D : both 1 & 2
Answers
Question No 60. is
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 354/284
28/12/2020 https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25
b
https://sppu.wheebox.com/WAC-3/allqusdownloadhtml.ils?testNo=2748&code=1052000&showTest=319&actForm=edit&set=25 355/284