0% found this document useful (0 votes)
45 views17 pages

Web Technologies

The document contains questions and answers related to web technologies such as CSS, JavaScript, HTML, XML, HTTP etc. Some key topics covered include advantages of CSS, CSS cursor types, front-end frameworks like Bootstrap, AJAX definition, JavaScript methods and properties, HTTP status codes, XML extensions like XSLT, and basics of HTML.

Uploaded by

hema mishra
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
45 views17 pages

Web Technologies

The document contains questions and answers related to web technologies such as CSS, JavaScript, HTML, XML, HTTP etc. Some key topics covered include advantages of CSS, CSS cursor types, front-end frameworks like Bootstrap, AJAX definition, JavaScript methods and properties, HTTP status codes, XML extensions like XSLT, and basics of HTML.

Uploaded by

hema mishra
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 17

WEB TECHNOLOGIES

Which of the following is not an advantage of CSS?


A. Easy Maintenance
B. Offline Browsing
C. Multiple Device Compatibility
D. Platform Dependent

Answer

D. Platform Dependent

In CSS, which cursor indicates that an edge of a box is to be moved down?


A. se-resize
B. sw-resize
C. w-resize
D. s-resize

Answer

D. s-resize

Which of the following is a front-end framework for web development?


A. Ruby
B. Bootstrap
C. PHP
D. Python

Answer

B. Bootstrap

An alternative of JavaScript on windows platform is________


A. VBScript
B. ASP.NET
C. JSP
D. PHP

Answer

A. VBScript

AJAX stands for_________


A. Advanced JSP and XML
B. Asynchronous JSP and XML
C. Advanced JS and XML
D. Asynchronous JavaScript and XML

Answer

D. Asynchronous JavaScript and XML

Which of the following is a boolean cookie attribute in JS?


A. domain
B. lookup
C. secure
D. None of the Above

Answer

C. secure

_______ method returns the character at a specified index in a string?


A. CharCodeAt()
B. substring()
C. charAt()
D. None of the Above

Answer

C. charAt()

Which of the following is used to describe elements in CSS?


A. Selectors
B. Protectors
C. Both (A) & (B)
D. None of the Above

Answer

A. Selectors

What are the events generated by the Node objects called?


A. generators
B. highevents
C. emitters
D. None of the Above

Answer

C. emitters

Which of the following is a stateless protocol?


A. TCP
B. HTTP
C. HTML
D. XHTML

Answer B. HTTP

eatedly asked in previous exams.

In CSS, you can override precedence rules by adding the ____ property to a style declaration.
A. !override
B. !main
C. !important
D. !priority

Answer

C. !important
Which of the following class in JSP provides the capability to implement a growable array of objects?
A. Array class
B. GrowAbleArray class
C. Container class
D. Vector class

Answer

D. Vector class

Which XML extension is a standard way to describe how to transform the structure of an XML document
into an XML document with a different structure?
A. tree structure
B. XSLT
C. Both (A) & (B)
D. None of the Above

Answer

B. XSLT

In JSP, the classes that allow primitive types to be accessed as objects are known as________
A. Primitive classes
B. Object classes
C. Boxing classes
D. Wrapper classes.

Answer

D. Wrapper classes.

Which XML-based registry is intended as on online Internet registry for businesses worldwide?
A. Universal Plug and Play(UPnP)
B. UDF
C. Uniform Resource Locator(URL)
D. Universal Description Discovery and Integration(UDDI)

Answer

D. Universal Description Discovery and Integration(UDDI)

Which language is considered to be extensible because of its unlimited and self-defining markup
symbols?
A. HTML
B. XHTML
C. XML
D. None of the Above.

Answer

C. XML

In JSP, a Canvas object provides access to a Graphics object via one of its method called______
A. getCanvas()
B. getGraphics()
C. accessGraphics().
D. paint()

Answer

D. paint()

HTML defines ________ levels of headings.


A. Five
B. Four
C. Six
D. Three

Answer

C. Six

Which method of the Component class is used to set the position and size of a component in JSP?
A. setSize()
B. setPositionSize()
C. setPosition()
D. setBounds()

Answer

D. setBounds()

What method is used to specify a containers layout in JSP?


A. setLayout()
B. Layout()
C. setContainerLayout()
D. setConLayout()

Answer

A. setLayout()

Which of the following provide additional information about HTML elements?


(A) Headings
(B) Paragraphs
(C) Styles
(D) Attributes

Answer

(D) Attributes

The ______ method requests data from a specified source.


(A) GET
(B) POST
(C) Both (A) & (B)
(D) None of the above

Answer
(A) GET

Symbol used at the beginning of the HERF text is_______


(A) #
(B) $
(C) &
(D) ^

Answer

(A) #

Which of the following method converts the request connection to a transparent TCP/IP tunnel?
(A) HEAD
(B) PUT
(C) OPTIONS
(D) CONNECT

Answer

(D) CONNECT

HTML is a subset of ______


(A) SGMT
(B) SGML
(C) SGMD
(D) None of the above

Answer

(B) SGML

The MIME text file is saved with _____


(A) THM extension
(B) HTML extension
(C) HMT extension
(D) None of the above

Answer

(B) HTML extension

SGML stands for______


(A) Standard General Mark Language
(B) Security General Markup Language
(C) Standard Generalized Markup Language
(D) Standard Generalized Mark Language

Answer

(C) Standard Generalized Markup Language

HTML tags are surrounded by ______


(A) Square Brackets
(B) Curly Brackets
(C) Angle Brackets
(D) None of the above

Answer

(C) Angle Brackets

Extensible Markup Language (XML) tags are ____


(A) Case Insensitive
(B) Case Sensitive
(C) Both (A) & (B)
(D) None of the above

Answer

(B) Case Sensitive

Document Object Model(DOM) is a ______


(A) Character User Interface (CUI)
(B) Application Programming Interface (API)
(C) Both (A) & (B)
(D) None of the above

Answer

(B) Application Programming Interface (API)

repeatedly asked in previous exams.

The ______ method submits data to be processed to a specified resource.


(A) GET
(B) POST
(C) Both (A) & (B)
(D) None of the above

Answer

(B) POST

Which of the following specifies a short cut key to activate or focus an element?
(A) class
(B) hidden
(C) draggable
(D) access key

Answer

(D) access key

______ specifies the tabbing order of an element.


(A) class
(B) hidden
(C) draggable
(D) tabindex
Answer

(D) tabindex

HTTP works as a ______ protocol between a Client and Server.


(A) request response
(B) Standard
(C) Both (A) & (B)
(D) None of the above

Answer

(A) request response

Which of the following method has length restrictions?


(A) GET
(B) POST
(C) Both (A) & (B)
(D) None of the above

Answer

(A) GET

______ converts character into a format which can be transmitted over the Internet?
(A) URL Encoding
(B) URL Decoding
(C) Both (A) & (B)
(D) None of the above

Answer

(A) URL Encoding

Which of the following method draws a filledrectangle?


(A) rect()
(B) clearRect()
(C) StrokeRect()
(D) fillRect()

Answer

(D) fillRect()

Which is the standard response for successful HTTP requests?


(A) 202 Accepted
(B) 201 created
(C) 200 OK
(D) None of the above

Answer

(C) 200 OK
_______ creates an arc/curve between two tangents.
(A) arc()
(B) arcTo()
(C) quadraticCurveTO()
(D) None of the above

Answer

(B) arcTo()

______ sets or returns whether the audio/video should start playing as soon as it is loaded.
(A) audioTracks
(B) autoplay
(C) Controller
(D) None of the above

Answer

(B) autoplay

A computer program can often be a very satisfactory _______ of a physical system such as road traffic
conditions.
A. solution
B. replacement
C. model
D. simulation

?
Answer
D. simulation

2.Which of the following software engineering concept does Ada language support?
A. abstraction
B. generic
C. information hiding
D. All of the Above

?
Answer
D. All of the Above

3.A module that is supplied along with the programming language translator to make the language
easier is called a/an ________
A. intrinsic function
B. benchmark program
C. data structure
D. None of the Above

?
Answer
A. intrinsic function

4.The model which reduces the cost of development of software is _______


A. waterfall model
B. spiral
C. prototyping
D. None of the Above

?
Answer
C. prototyping

5.The model which estimates the total effort in terms of person, months of the technical project staff, is
________
A. waterfall model
B. spiral
C. COCOMO Model
D. prototyping

?
Answer
C. COCOMO Model

6.The graph theoretic concept will be useful in software testing is ________


A. Cyclomatic number
B. Eulerian Cycle
C. Hamultonian circuit
D. prototyping

?
Answer
A. Cyclomatic number

7.A desirable property of module is________


A. multifunctional
B. independency
C. high coupling
D. None of the Above

?
Answer
B. independency

8.The maximum effort distribution in phases of software development is ________


A. requirement analysis
B. testing
C. coding
D. None of the Above

?
Answer
B. testing

9.COM stands for ________


A. Computer on Microprocessor
B. Computer Output Microprocessor
C. Computer on Microfilm
D. Computer Output Microfilm

?
Answer
D. Computer Output Microfilm

10.In Object oriented design of software, objects have _____


A. Attributes
B. Operations
C. Both (A) and (B)
D. None of the Above

?
Answer
C. Both (A) and (B)

Which of the following is used to specify the layout of web pages?


(A) HTML
(B) CSS
(C) Java Script
(D) None of the above

Answer

(B) CSS

In Java Script, the multi-line comment is denoted as ________


(A) //
(B) /*/
(C) /* */
(D) None of the above

Answer

(C) /* */

In JS, The ______ method searches a string for a specified value and returns the position of match.
(A) slice()
(B) substr()
(C) index()
(D) search()

Answer

(D) search()

In Java Script, the _____ method returns the new array length.
(A) shift()
(B) substr()
(C) index()
(D) unshift()

Answer

(D) unshift()

In Java Script, which statement lets you to handle the error?


(A) try
(B) catch
(C) Both (A) & (B)
(D) None of the above

Answer

Both (A) & (B)

Which property is very useful for getting or replacing the content of HTML elements?
(A) innerHTML
(B) outerHTML
(C) Both(A) & (B)
(D) None of the above

Answer

(A) innerHTML

Which of the following function converts an objects value to a number?


(A) Number()
(B) isNaN()
(C) isFinite()
(D) None of the above

Answer

(A) Number()

________message denotes the requested page could not be found and it may be available in future?
(A) 202 Accepted
(B) 201 created
(C) 403 Forbidden
(D) 404 Not Found

Answer
(D) 404 Not Found

Which of the following method can be cached?


(A) GET
(B) POST
(C) Both (A) and (B)
(D) None of the above

Answer

(A) GET

Which can reduce the number of server requests and save bandwidth?
(A) Image Gallery
(B) Image Opacity
(C) Image Sprites
(D) None of the above

Answer

(C) Image Sprites

Which of the following was designed to store and transport data?


(A) Java Script
(B) HTML
(C) XML
(D) None of the above

Answer

(C) XML

______ language has no predefined tags.


(A) XML
(B) HTML
(C) Both (A) and (B)
(D) None of the above

Answer

(A) XML

________message denotes the request has been fulfilled and a new source is created.
(A) 202 Accepted
(B) 201 created
(C) 403 Forbidden
(D) 404 Not Found

Answer

(B) 201 created

Cascading Style Sheets(CSS) can be used to create an ______


(A) Image Gallery
(B) Image Opacity
(C) Image Sprites
(D) None of the above

Answer

(A) Image Gallery

JavaScript can change all the ___________ in the web page.


(A) HTML elements
(B) CSS Styles
(C) HTML attributes
(D) All of the above

Answer

(D) All of the above

In JS, the ______ method returns the index of the last occurrence of a specified text in a string.
(A) slice()
(B) substr()
(C) lastIndex()
(D) search()

Answer

(C) lastIndex()

________ message denotes the request can not be fulfilled due to the wrong syntax.
(A) 202 Accepted
(B) 400 Bad Request
(C) 403 Forbidden
(D) 404 Not Found

Answer

(B) 400 Bad Request

In JavaScript, _____ method returns a number as a string.


(A) valueOf()
(B) toPrecision()
(C) toExponential()
(D) toString()

Answer

(D) toString()

Which properties are used to generate space around content?


(A) CSS Borders
(B) CSS Margins
(C) CSS Padding
(D) None of the above

Answer
(C) CSS Padding

In CSS, _______ property can be used to wrap text around images?


(A) float
(B) clear
(C) Both(A) & (B)
(D) None of the above

Answer

(A) float

The default display value for most elements is _____


(A) line
(B) block
(C) (A) or (B)
(D) None of the above

Answer

(C) (A) or (B)

XHTML stands for_________


(A) Extensible Hyper Text Markup Language
(B) Extended Hyper Text Markup Language
(C) Expensive Hyper Text Markup Language
(D) Extensible Hyper Text Marked Language

Answer

(A) Extensible Hyper Text Markup Language

The attributes and elements of XHTML are must be in ______


(A) Upper-case
(B) Lower-case
(C) Both (A) and (B)
(D) None of the above

Answer

(B) Lower-case

Which of the following message denotes the requested page has moved to a new URL?
(A) 202 Accepted
(B) 201 created
(C) 302 Found
(D) 301 Moved Permanently

Answer

(D) 301 Moved Permanently

Which of the following method uploads a representation of the specified URI?


(A) HEAD
(B) PUT
(C) DELETE
(D) OPTIONS

Answer

(B) PUT

Which is a uniform naming scheme for locating resources on the web?


(A) Uniform Resource Identifier(URI)
(B) HTTP
(C) Resource Name
(D) None of the above

Answer

(A) Uniform Resource Identifier(URI)

Which of the following method cannot be bookmarked?


(A) GET
(B) POST
(C) Both (A) and (B)
(D) None of the above

Answer

(B) POST

Which of the following property returns the length of the current audio/video?
(A) error
(B) loop
(C) ended
(D) duration

Answer

(D) duration

Which method pauses the currently playing the audio/video?


(A) play()
(B) pause()
(C) load()
(D) None of the above

Answer

(B) pause()

XHTML is almost similar to _______


(A) HTML
(B) XML
(C) HTTP
(D) None of the above

Answer
(A) HTML

Which of the following property sets or returns the CORS settings of the audio/video?
(A) controls
(B) crossOrigin
(C) currentSrc
(D) None of the above

Answer

(B) crossOrigin

The Javascript allows _____


(A) single line comment
(B) multi line comment
(C) Both(A) & (B)
(D) None of the above

Answer

(C) Both(A) & (B)

CSS Stands for______


(A) Combined Styling Sheets
(B) Cascading Style Sheets
(C) Current Style Sheets
(D) Cascading Script Sheets

Answer

(B) Cascading Style Sheets

Which of the following message denotes the requested page has moved temporarily to a new URL?
(A) 202 Accepted
(B) 201 created
(C) 301 Moved Permanently
(D) 302 Found

Answer

(D) 302 Found

In CSS, _______ property is used to control the behaviour of floating elements?


(A) float
(B) clear
(C) Both(A) & (B)
(D) None of the above

Answer

(B) clear

Which method returns the HTTP methods that the server supports?
(A) HEAD
(B) PUT
(C) DELETE
(D) OPTIONS

Answer

(D) OPTIONS

In Java Script, the single line comment is denoted as ________


(A) //
(B) /*/
(C) /* */
(D) None of the above

Answer

(A) //

Java Script can be used to create ________


(A) cookies
(B) spam
(C) cache
(D) None of the above

Answer

(A) cookies

Which determines whether a value is a finite number?


(A) Number()
(B) isNaN()
(C) isFinite()
(D) None of the above

Answer

(C) isFinite()

How many types of pop up boxes are used in JavaScript?


(A) One
(B) Two
(C) Four
(D) Three

Answer

(D) Three

You might also like