WEB QB

PESIT SOUTH CAMPUS QUESTION BANK Faculty: Mr. Sreenath M.V No. of Hours: 52 FUNDAMENTALS 1. What is WWW? 2 2. Wh...

1 downloads 164 Views 109KB Size
PESIT SOUTH CAMPUS

QUESTION BANK Faculty: Mr. Sreenath M.V

No. of Hours: 52

FUNDAMENTALS

1.

What is WWW?

2

2.

What are domain names? Explain domain name conversion with diagram

6

3.

What are the difference between web browser and web server

6

4.

Mention a few web servers.

4

5.

What are URI, URL and URN?

6

6.

What is a virtual host?

3

7.

What is a proxy server?

4

8.

Describe the purpose of the five most commonly used HTTP methods

5

9.

What is the difference between a virus and a worm?

4

10. What is a plug-in?

4

11. What is XML? Explain features of XML

6

12. Explain web programmers tool BOX

10

13. Write a note on Ruby

4

14. Write a note on Ajax

4

15. Write a note on MIME

6

16. What is HTTP?

6

17. Explain different states of HTTP and status codes

10

PESIT SOUTH CAMPUS-Education for the real world

Page 1

PESIT SOUTH CAMPUS

XHTML 18. What is XHTML? Explain the basic syntax.

6

19. What is the structure of XHTML document? Explain with an example

4

20. Explain HTML tags

10

21. What is a table tag? Explain all attributes of a table tag.

8

22. What are the difference between HTML and XHTML

4

23. Explain frame in HTML with example

8

24. What is a form tag? Explain with an example

6

25. Design a HTML document with controls EmpID, EmpName and EmpAge

6

26. Explain lists in HTML(ordered list ,unordered lists and definition list)

6

CASCADING STYLE SHEETS 27. What is the purpose of external style sheets?

4

28. What is the format of an external style sheet?

4

29. What is the purpose of the div tag?

4

30. Write a note on font properties.

5

31. Explain the Box Model with an example.

8

32. Create a CSS for any web site of your choice.

8

33. Explain tag

5

34. Explain any two commonly used web servers

8

BASIC JAVA SCRIPT 35. Describe briefly three major differences between java and java script

PESIT SOUTH CAMPUS-Education for the real world

6

Page 2

PESIT SOUTH CAMPUS

36. What are the uses of java script?

4

37. Explain primitive data types in java Script

5

38. What is NaN

12

39. Explain arrays in java script

6

40. What is pattern matching in java script

5

41. Explain screen input and output in java script

5

JAVASCRIPT AND HTML DOCUMENTS

42. Explain the DOM structure of a document with figure

6

43. What is event handling? Explain any three events in java script

8

44. How do you handle events of text box and password elements

8

45. Write a java script program to validate login form

5

46. Write a java script program to validate password field

3

47. Write a java script program to validate Employee form

6

48. Describe the approach of to addressing XHTML elements by using getElementById.

6

49. Write a java script program to validate email ID and date field

8

50. What is the difference between exception handling and event handling

4

DYNAMIC DOCUMENTS WITH JAVASCRIPT

PESIT SOUTH CAMPUS-Education for the real world

Page 3

PESIT SOUTH CAMPUS

51.

Define dynamic XHTML document

4

52.

What is an event? Describe different types of events.

10

53.

Describe the properties and actions of the setTimeOut() function

6

54.

Write a java script to change the color of text and font size when mouseout event occurs

6

55.

What is CSS-P?

5

XML 56.

What is the goal of XML?

4

57.

What is the main deficiency of HTML?

4

58.

What are the tow primary keys of validating XML parser

5

59.

What is XML? And explain the syntax.

6

60.

Explain XML document structure with an example

5

61.

What is DTD? Explain with an example.

8

62.

Explain about displaying raw XML documents

5

63.

Explain XSLT processing

5

64.

What are XML processors?

6

65.

What is XML names space?

5

66.

What is SOAP?

4

67.

What are the four categories of complex types in XML schema

7

PERL 68.

What is PERL? List the benefits of it.

PESIT SOUTH CAMPUS-Education for the real world

5

Page 4

PESIT SOUTH CAMPUS

69.

Write a PERL program which accepts strings as input from the user, stores all of the strings in an array, and then displays them in reverse order.

8

70.

Explain three types of Perl variables

6

71.

Explain arrays and associative arrays in Perl

8

72.

Explain file input and out put in Perl

8

73.

Explain built in array functions

6

74.

Explain functions in Perl

5

75.

What is CGI? Explain its working with figure

8

76.

What is CGI.pm module?

5

77.

What is a cookie?

5

RUBY , RAILS 78. What is RUBY on Rails? List the benefits of it.

5

79.

Explain scalar type and their operations

8

80.

Explain input and output in RUBY.

6

81.

Explain arrays in RUBY

8

82.

Explain hash functions in RUBY.

8

83.

Explain pattern matching with examples

6

84.

Explain form processing in Rails

5

85.

Explain the database connectivity in Rails applications

8

86.

What are layouts in Rails

5

87.

Design a program to accept users feedback using Ruby and Rails

10

PESIT SOUTH CAMPUS-Education for the real world

Page 5

PESIT SOUTH CAMPUS

------------------------------------------------------------------------------------------------------------------------------

Objective Type Questions

---------------------------------------------------------------------------------------------

1. What does HTML stand for?

A. Hyperlinks and Text Markup Language B. Home Tool Markup Language C. Hyper Text Markup Language

------------------------------------------------------------------2.Who is making the Web standards?

A. Mozilla B. Microsoft

PESIT SOUTH CAMPUS-Education for the real world

Page 6

PESIT SOUTH CAMPUS

C. The World Wide Web Consortium -------------------------------------------------------------------

3.Choose the correct HTML tag for the largest heading

A.
B. PESIT Bangalore South Campus – Education for the Real World – Course Information – BE. VII-Sem IS 06CS73 - 6

PESIT SOUTH CAMPUS-Education for the real world

Page 7

PESIT SOUTH CAMPUS

C. D.



------------------------------------------------------------------4.What is the difference between XML and HTML?

A. HTML is used for exchanging data, XML is not. B. XML is used for exchanging data, HTML is not. C. HTML can have user defined tags, XML cannot

------------------------------------------------------------------5.What is the correct HTML tag for inserting a line break?

A.
B. C.

------------------------------------------------------------------6.Can a data cell contain images?

Yes No ------------------------------------------------------------------7.How do I add scrolling text to my page?

------------------------------------------------------------------8.What is the preferred way for adding a background color in HTML?

A. B. yellow C.

PESIT SOUTH CAMPUS-Education for the real world

Page 8

PESIT SOUTH CAMPUS

------------------------------------------------------------------9.What does vlink mean ?

A. visited link PESIT Bangalore South Campus – Education for the Real World – Course Information – BE. VII-Sem IS 06CS73 - 7

PESIT SOUTH CAMPUS-Education for the real world

Page 9

PESIT SOUTH CAMPUS

B. vlink C. active link

------------------------------------------------------------------10.Is width=”100” and width=”100%” the same?

Yes No ------------------------------------------------------------------11.Choose the correct HTML tag to make a text bold

------------------------------------------------------------------12.Choose the correct HTML tag to make a text italic

------------------------------------------------------------------13.What is extension of html file ?

html xml xhtml ------------------------------------------------------------------A. B. C.

14.What is the correct HTML for creating a hyperlink?

A B example example ------------------------------------------------------------------A. B. C. D.

PESIT SOUTH CAMPUS-Education for the real world

Page 10

PESIT SOUTH CAMPUS

15.How can we resize the image?

Using size attribute Using height and width PESIT Bangalore South Campus – Education for the Real World – Course Information – BE. VII-Sem IS 06CS73 - 8

PESIT SOUTH CAMPUS-Education for the real world

Page 11

PESIT SOUTH CAMPUS

------------------------------------------------------------------16.How can you create an e-mail link?

A. B. C. D.

a@b

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

A.
B. C.

------------------------------------------------------------------18.Which of these tags are all tags?

A.
B.
C. D.

------------------------------------------------------------------19.Choose the correct HTML to left-align the content inside a tablecell

A. B. C. D.



------------------------------------------------------------------20.How can you make a list that lists the items with numbers?

PESIT SOUTH CAMPUS-Education for the real world

Page 12

PESIT SOUTH CAMPUS

A.
    B. C.


      PESIT Bangalore South Campus – Education for the Real World – Course Information – BE. VII-Sem IS 06CS73 - 9

      PESIT SOUTH CAMPUS-Education for the real world

      Page 13

      PESIT SOUTH CAMPUS

      D.



      ------------------------------------------------------------------21.How can you make a list that lists the items with bullets?

          ------------------------------------------------------------------A. B. C. D.

          22.What is the correct HTML for making a checkbox?

          ------------------------------------------------------------------A. B. C. D.

          23.What is the correct HTML for making a text input field?

          A. B. C. D.



          ------------------------------------------------------------------24.What is the correct HTML for making a drop-down list?

          A. B. C. D.



          ------------------------------------------------------------------25.What is the correct HTML for making a text area?

          PESIT SOUTH CAMPUS-Education for the real world

          Page 14

          PESIT SOUTH CAMPUS

          A. B. C.