How many node types are there in total?
1. 11
2.12
3.13
4. 14
The blobs are broken into smaller pieces using which of the following functions?
1.partition()
2.cut()
3.sliceall()
4.slice()
What does a Node object represent?
1. Single node
2.Set of nodes
3. Sequence of nodes
4.Node array
What is the purpose of the method getUserData(key)?
1.Returns the associated object
2.Gets the user data
3.Returns the user data
4.Gets the user key
Which object can be used to create your own blobs?
1.Creator
2.BlobCreator
3.BlobBuilder
4.BuilderBlob
Which of the following Node object property returns the local part of the name of a node?
1.lastName
2.localName
3. firstName
4.objectname
A Blob URL can be created using which of the following function?
1.createURL()
2.createObjectURL()
3.designURL()
4.URLCreation()
BLOB stands for ______
1.Binary Little Object
2.Binary Large Object
3. Broken Large Object
4.Binary Small object
Define templating in ExpressJs ?
1.Pug
2.EJS
3.Mustache
4.All of the above
How are the objects organized in the HTML DOM?
1.Class-wise
2.Queue
3.Hierarchy
4. Stack
How can the nodes in the node list be accessed?
1.Key
2. Index number
3.Looping
4. Value
How is everything treated in HTML DOM?
1.Node
2.Attributes
3.Elements
4.Arrays
How many node object properties are there?
1.12
2.14
3.16
4.17
How many nodetype – named constants are available?
1.13
2.11
3.12
4.10
How to associate an object to a key on a node?
1. getUserData()
2. cloneNode()
3. setUserData(key,data,handler)
4.clonedata()
How to test if two nodes are equal?
1.isEqualNode()
2. equal()
3.==
4. equalto()
How to use express js in node?
1.var = require('express')();
2.var_require('express')();
3.var app = require('express')();
4.None of them
One of the main advantage of using src attribute is _______
1. It becomes self-cached
2. It makes the HTML file modular
3.It restricts manipulation in the HTML file
4.It simplifies the HTML files
The blobs are generally stored in ______
1.Memory
2. Disk
3. Both Memory and Disk
4.Temporary storage
The language is commonly used to _______
1.Specify the user’s language
2. Specify the language going to be scripted
3.No longer in use
4.Specify the programmer’s favourable language
The size of blobs are generally calculated in ______
1.Meters
2.Kilometers
3.Bytes
4. Pixels
What does the NamedNodeMap object represent in the HTML DOM?
1.Unordered collection of elements
2. Unordered collection of attributes
3.Unordered collection of nodes
4.Unordered collection of arrays
What does the nodeName of the nodeType Document return?
1.doctype name
2.target
3. #comment
4.#document
What is middleware in ExpressJs ?
1. function(req){ }
2.method(req){ }
3.function(req,res,next){ }
4.method(req,res,next){ }
What is Scaffolding in Express.js?
1.Yeoman
2.Express application generator
3.Handler functions
4.Both A & B
What is the code for getting the current time?
1. now = new Date();
2.var now = new Date();
3.var now = Date();
4.var now = new Date(current);
What is the code to start displaying the time when the document loads?
1. onload = displayTime;
2.window. = displayTime;
3.window.onload = displayTime;
4.window.onload = start;
What is the default value of the type attribute?
1. text/css
2.text/javascript
3. html
4. xml
What is the purpose of the DocumentFragment node type?
1. To hold a portion of a document
2. To split the document into fragments
3.To hold the entire document
4.To hold the fragments
What is the purpose of the Legacy DOM?
1.Makes the scripting easier
2.Allows access to few keys and elements
3.Modify the nodes
4.Making the script modular
What is the purpose of the method item()?
1.Returns node after the specified index
2. Returns node before the specified index
3.Returns node at specified index
4.Returns the node following the specified node
What is the purpose of the method nodeMap.setNamedItem()?
1.Sets ID
2.Sets attribute node
3.Sets element name
4.Sets element type
What is the purpose of the Node object property ownerDocument?
1.Returns the root element
2.Returns the last element
3.Returns the parent node
4.Returns the immediate node
What is the reason for avoiding the attributes property in the HTML DOM?
1.Found unnecessary
2.Attributes don’t have attributes
3. Attributes have attributes
4.Considered irrelevant
What will be done if more than one page requires a file of JavaScript code?
1.Downloads that many times
2.Retrives from the browser cache
3. Must be re executed
4.Must be included in all the pages
When does JavaScript code appear inline within an HTML file?
1.Between the “script” tag
2.Outside the “script” tag
3.Between or Outside the “script” tag
4.Between the header tag
Which algorithm supports blobs?
1.Structured clone algorithm
2. Double buffer algorithm
3. Chen’s algorithm
4.Retrieval algorithm
Which character in JavaScript code will be interpreted as XML markup?
1. !
2.>
3.&
4. .
Which database can be used to retrieve blobs?
1.Server-side databases
2.Client-side databases
3.Both Server-side and Client-side databases
4.Temporary databases
Which is the root element in a HTML document?
1.HTML
2.HEAD
3.HEAD
4.BODY
Which method facilitates in uploading a Blob to a server?
1.send()
2.pass()
3. upload()
4.store()
Which method is used to compare the placement of two nodes in the DOM hierarchy (document)?
1.compareDocumentPosition()
2.cloneNode()
3. getUserData()
4.getFeature()
Which node type represents the root-node of the DOM tree?
1.Document
2.DocumentFragment
3.DocumentType
4.Entity
Which object is the top of the hierarchy?
1.Window Object
2.Document Object
3. Form Object
4.Form Control Elements
Which of the following is a subtype of Blob?
1.Elemental Object
2.Create Object
3. Data Object
4.File Object
Which of the following is a type of HTML DOM?
1.Legacy DOM
2.W3C DOM
3.IE4 DOM
4.All of the Mentioned
Which of the following is a way of embedding Client-side JavaScript code within HTML documents?
1. From javascript:encoding
2.External file specified by the src attribute of a “script” tag
3.By using a header tag
4.By using body tag
Which of the following is the child(s) of the node type EntityReference?
1. Element
2. Text
3. Both Element and Text
4. Entity
Which of the following Node object property returns the node immediately before a node?
1.previousSibling
2.textContent
3. index
4.localName
Which of the following Node types have a node value equal to null?
1.Document
2.DocumentFragment
3.DocumentType
4.All of the Mentioned