Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Web Technology MCQ Questions PDF

Download as pdf or txt
Download as pdf or txt
You are on page 1of 8

Web Technology MCQ Questions PDF

1. A much better approach to establish the base URL is to use__________

A. HEAD element

B. BASE element

C. Both (a) and (b)

D. None

Answer: BASE element

2. Symbol used at the beginning of the HREF text is_________

A. (C) &

B. (A) #

C. (B) $

D. (D) ^

Answer: (A) #

3. From which tag descriptive list starts?

A. <DS>

B. <DD>

C. <LL>

D. <DL>

Answer: <DL>

4. Which method of the Component class is used to set the position and size of a
component in JSP?

A. setSize()

B. setBounds() method

C. setPosition()

D. setPositionSize()
Answer: setBounds() method

5. What are Empty elements and is it valid?

A. No, it is not valid to use Empty Element

B. Empty elements are element with no data

C. No, there are no such terms as Empty Element

D. None

Answer: Empty elements are element with no data

6. Which of the following is a container?

A. <SELECT>

B. <BODY>

C. <INPUT>

D. Both (a) and (b)

Answer: Both (a) and (b)

7. How can you open a link in a new browser window?

A. < a href = "url" target = "new">

B. <a href = "url" target= "_blank">

C. <a href = "url" target ="open">

D. <a href = "url".new>

Answer: <a href = "url" target= "_blank">

8. The tag used to create a hypertext relationship between current document and
another URL is___________

A. <LINK>

B. <A>

C. <ISINDEX>

D. None

Answer: <LINK>
9. Which of the following statement is not true regarding JavaScript?

A. A JavaScript embedded in an HTML document is compiled and executed by the client


browser

B. JavaScript is an object-based language

C. JavaScript is a loosely typed language

D. JavaScript is event driven

Answer: A JavaScript embedded in an HTML document is compiled and executed by


the client browser

10. Which tag creates a number/order list?

A. <UL>

B. <OT>

C. <OL>

D. None

Answer: <OL>

11. Markup tags tell the web browser___________

A. How to display the page

B. How to display message box on page

C. How to organize the page

D. None

Answer: How to display the page

12. The map definition file is generally stored in____________

A. BIN

B. RECYCLE-BIN

C. CGI-BIN

D. All of the above

Answer: CGI-BIN
13. The attribute, which define the relationship between current document and
HREF'ed URL is

A. REL

B. URL

C. REV

D. All of the above

Answer: REV

14. Which of the following options is correct with regard to HTML?

A. It is a DTP language

B. It is a modeling language

C. It is used to structure documents

D. It is a partial programming language

Answer: It is used to structure documents

15. How can you make an e-mail link?

A. <a href ="mail to: xxx@y.com">

B. <a href = "xxx@y.com">

C. <mail href +"xxx@y.com">

D. None

Answer: <a href ="mail to: xxx@y.com">

16. Web pages starts with which of the following tag?

A. <Title>

B. <Form>

C. <Body>

D. <HTML>

Answer: <HTML>

17. Correct HTML tag for the largest heading is_______________


A. <h6>

B. <heading>

C. <head>

D. <h1>

Answer: <h1>

18. Correct HTML to left align the content inside a table cell is____________

A. <td leftalign>

B. <td align = "left">

C. <td raligh = "left" >

D. <tdleft>

Answer: <td align = "left">

19. In ASP the function which returns an expression formatted as a date or time
is_________

A. FormatDateOrTime()

B. FormatTimeDate()

C. FormatDateTime()

D. FormatDateAndTime()

Answer: FormatDateTime()

20. What i s the correct HTML for adding a background color?

A. <body color = "Green">

B. <body bg color = "Green">

C. <background>green<Background>

D. <body bg =“green”>

Answer: <body bgcolor = “green”>

21. What method is used to specify a container’s layout in JSP?

A. setContainerLayout()
B. Layout()

C. setLayout()

D. ContainerLayout()

Answer: setLayout()

22. Which of the following statements is incorrect regarding multimedia on the web?

A. The MPEG, AU and MIDI are cross-platform formats

B. The SND format has a relatively low fidelity

C. The MPEG, AIFF and WAV are cross-platform formats

D. VRML can be used to model and display 3D interactive graphics

Answer: The MPEG, AIFF and WAV are cross-platform formats

23. The web standard allows programmers on many different computer platforms to
dispersed format and display the information server. These programs are
called___________

A. Internet Explorer

B. Web Browsers

C. HTML

D. None

Answer: Web Browsers

24. What value does readLine() return when it has reached the end of a file in JSP?

A. False

B. Null

C. EOF

D. Last character in the file

Answer: Null

25. In JSP, the classes that allow primitive types to be accessed as objects are known
as________

A. Object classes
B. Primitive classes

C. Wrapper classes

D. Boxing classes

Answer: Wrapper classes

26. HTML is a subset of

A. SGMT

B. SGML

C. SGMD

D. None

Answer: SGML

27. HTML stands for?

A. Hyper Tabular Markup Language

B. Hyper Text Markup Language

C. High Text Markup Language

D. None

Answer: Hypertext Markup Language

28. Any part of the graphic that is not included in another hot zone is considered to be
part of__________

A. Point

B. default

C. Rect

D. Polygon

Answer: Default

29. The latest HTML standard is________

A. XML

B. HTML 4.0
C. SGML

D. HTML 5.0

Answer: HTML 5.0

30. www is based on which model?

A. Client-server

B. Local-server

C. 3-tier

D. None

Answer: Client-server

You might also like