This document contains:
1. A list of 40 questions related to fundamentals of web development, XHTML, CSS, JavaScript, and dynamic web documents that have appeared on VTU exam papers between 2010-2014.
2. The questions are grouped under three units - Fundamentals of Web and XHTML (12 questions), XHTML and CSS (16 questions), and JavaScript and Dynamic Documents (12 questions).
3. Details provided for each question include the topic, number of marks allotted, and the years each question appeared on VTU exams.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0%(1)0% found this document useful (1 vote)
435 views5 pages
Question Bank - IWT - 2019
This document contains:
1. A list of 40 questions related to fundamentals of web development, XHTML, CSS, JavaScript, and dynamic web documents that have appeared on VTU exam papers between 2010-2014.
2. The questions are grouped under three units - Fundamentals of Web and XHTML (12 questions), XHTML and CSS (16 questions), and JavaScript and Dynamic Documents (12 questions).
3. Details provided for each question include the topic, number of marks allotted, and the years each question appeared on VTU exams.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5
UNIT – 1
Fundamentals of Web, XHTML - 1
Q.no Question Year wise appearance Marks
in VTU question papers 1. Give a brief introduction to the origin of internet. 05 2. Explain how the web works. July 2014/ July 10 2011/Dec 2011/ Dec 2010 3. Explain the XHTML tags used for lists in XHTML documents. July 2011/ Dec 2010 05 4. Explain HTTP request and response phase. Dec 2013/Jan 2014/ 08 July 2014/ July 2011/Dec 2010 5. Write a note on origin & evolution of HTML and XHTML. Dec 2011 05 6. Give a brief overview about the origin of www. 05 7. Discuss with a neat diagram the task of DNS name server. Dec 2013/ Dec 2010 07 8. What is MIME? Explain its type specifications. Jan 2014/ Dec 2010 04 9. Explain the security issues in internet. 10 10. Write a brief note on web programmer’s toolbox. July 2011 10 11. Write a brief overview on the history of 06 i) TCP / IP ii) AJAX iii) BITNET
XHTML-2, CSS
Q.no Question Year wise Marks
appearance in VTU question papers 12. Write a note on the XHTML document structure. 05 13. List the syntactic difference between HTML and XHTML Dec 2013/ Dec 06 2011/ Dec 2010 14. Explain the following HTML tags along with their attributes. Dec 2013 10 i) <P> ii) <PRE> iii) <SUB> iv) <BR> 15. Create an XHTML document that defines a table that has two levels of Dec 2013 10 column labels: an overall label, Meals, and 3 secondary labels, Breakfast, Lunch and Dinner. There must be 2 levels of row labels: an overall label, Foods and 4 secondary labels, Bread, Main course, Vegetable and Dessert. The cells of the table must contain a number of grams for each of the food categories. 16. Write an XHTML document to create a form with the following widgets. Dec 2010 10 i) Three text boxes to collect the user name and address. ii) Four check boxes, one for each of the following a) Four 100-watt light bulbs for Rs. 20 b) Eight 200-watt light bulbs for Rs. 30 c) Four 100-watt long life light bulbs for Rs. 25 d) Eight 200-watt long life light bulbs for Rs. 35 iii) Three radio buttons as follows a) Visa b) Master Card c) Discover iv) A submit and a reset button 17. Create an XHTML document that has at least half a page of text and that Dec 2011 10 has a small box of text embedded on the left margin, with the main text flowing around the small box. The embedded text must appear in a smaller font and also must be set in Italic. 18. Create an XHTML document that includes atleast two images and July 2014 10 enough text to precede the images, flow around them (one on left and one on right) and continue after the last image. (Note: use CSS tags) 19. Create, test and validate an XHTML document that has two frames in Dec 2010 10 one column. The top frame, which must be 20 percent of the column, must have at least four links to other documents; the bottom frame will display those documents. The links must be names of cars; the documents must be at least five line descriptions of the car. 20. Explain with examples, all the controls used to create a <input> tag. July 2011 10 21. Explain the syntax of the following tags: Jan 2014/ Dec 10 i) <blockquote> ii) <meta> iii) <img> iv) <sub> v) <pre> vi) <a> 2011/ Dec 2010 22. Explain <span>, <select>, <frame>, <textarea> and <div> tags. Dec 2013/Jan 2014 05 23. Write a note on conflict resolution in CSS. July 2011/Dec 05 2010 24. Write an XHTML document to describe an ordered list of your five 10 favorite movies. Each element of the list must have a nested list of at least two actors in your favorite movies. 25. Explain the different levels of style sheets available in CSS with Dec 2013/Jan 07 examples. 2014/ Dec 2010 26. With examples explain the different selector forms in CSS Dec 2013/ July 10 2011/ Dec 2010 27. With examples explain the different font properties used in CSS. 10 28. What is the purpose of an external style sheet? Compare it with other two July 2011 10 levels of style sheet. Write the format of external level style sheet. 29. Explain the following CSS tags, with an example for each: Dec 2010 10 i) Pseudo classes ii) Text decoration iii) Alignment of text
UNIT – 2
The basics of JavaScript
Q.no Question Year wise Marks
appearance in VTU question papers 30. Describe briefly the 3 major differences between Java & JavaScript. Dec 2013/ 06 July 2011 31. Explain the different primitive types in JavaScript. Jan 2014 32. What are coercions? Give examples. 05 33. Explain with examples the 3 window methods used to create dialog boxes. July2011/Dec 10 Explain the screen output and keyboard input methods. 2010 34. With examples explain 5 array methods used in JavaScript. July 2014/ 06 July 2011 35. Write a JavaScript script to accept 3 numbers using the prompt method. Dec 2010 10 Find and display the largest of the 3 numbers using alert method. Use predefined function Math.max. 36. Write a JavaScript script that contains a function named phone_num, which July 2014/ 10 tests the phone number of the format ddd-dddd-ddddddd < 091-8256- Dec 2010 1234567 > and display whether the given number is valid or not using alert. 37. Write a JavaScript script for accepting the username and display it on the 08 browser window. 38. Write a program using XHTML and JavaScript to move an image to the 10 given x and y coordinates. 39. Write a JavaScript to validate the name, the name should be entered using a Jan 2014 14 prompt. The first and last name should not have more than 10 characters and middle name must contain only the initial. Display the validated name. The format is the first_name, second_name and third_name. 40. Write the following functions in JavaScript with HTML call functions: Dec 2013 10 i) Input: An integer number N from keyboard input. Output: Display the first N Fibinacci numbers. ii) Input: An integer number N from keyboard input. Output: Display the factorial of N; alert in case the number is negative or alpha.
UNIT – 3
JavaScript and XHTML documents, Dynamic documents with JavaScript
Q.no Question Year wise Marks
appearance in VTU question papers 41. Explain with examples the two ways in which an event handler can be July 2011/ 10 associated with an event generated by a specific XHTML element in the Dec 2010 DOM0 event model. Discuss the different approaches of XHTML element access in JavaScript. 42. What is an event, event handler and registration? Dec 2013 06 43. Explain the three phases of event processing in the DOM2 event model. July 2014/ 10 July 2011/ Dec 2010 44. Develop an XHTML document that has check boxes for Apple (59 cents 10 each), Orange (49 cents each) and Banana (39 cents each) along with a SUBMIT button. Each of the check boxes should have its own onclick event handler. These handlers must add the cost of their fruit to a total cost. An event handler for the SUBMIT button must produce an alert window of the total cost, including 5 percent sales tax. 45. Explain the different ways of positioning the Elements in JavaScript. Jan 2014/ 08 July 2011 46. Write a program using XHTML and JavaScript to toggle an image to appear 10 and not appear in the document display. 47. Explain the different ways of positioning the Elements in JavaScript. July 2014/ 10 Dec 2010 48. Write a JavaScript script to compare two passwords. Dec 2010 08 49. Write a program using XHTML and JavaScript to move an image to the 10 given x and y coordinates. 50. Write a program using XHTML and JavaScript to toggle an image to appear 10 and not appear in the document display. 51. Write a program using XHTML and JavaScript to show how the background 10 color, foreground color and font properties of the text can be changed dynamically. 52. Write a program using XHTML and JavaScript to show the dynamic stacking Dec 2010 10 of images. 53. Write a program using XHTML and JavaScript to locate the position of the July 2014/ 10 mouse cursor. Dec 2010
UNIT – 4
Introduction to XML
Q.no Question Year wise Marks
appearance in VTU question papers 54. Write a note on DTD’s of XML. Jan 2014/ 05 July 2011/ Dec 2010 55. What is the purpose of character data section? Explain with an example. July 2011 05 56. Explain the two categories of user defined XML schema data types. July 2011 06 57. Mention the advantages of XML schema over DTD’s. Jan 2014/ 05 July 2011 58. Explain the following: Dec 2013/ 10 i) XML Namespaces ii) XML Schemas July 2014 iii) XML Datatypes iv) XSLT Stylesheet 59. Create a DTD for a catalogue of cars, where each car has child elements Dec 2010 10 Make, Model, Year, Color, Engine, No. of doors, Transmission type and Accessories. The Engine element has the child elements No. of Cylinders and Fuel system. The Accessories element has the attribute radio, air conditioning, power windows, each of which is required and has the possible values Yes or No. Create 3 instances of car element of popular car makes’. 60. How are elements and attributes declared in a DTD? Give a sample DTD for 10 defining an airplane.
UNIT – 4
PHP Programming
Q.no Question Year wise Marks
appearance in VTU question papers 61. What is a session? Explain how client state is maintained using session July 2014 10 and also explain about session tracking and session management using an example. 62. Discuss arrays in PHP. July 2014 08 63. Explain the different scalar types available in PHP. Jan 2014 05 64. Write a simple code to know the number of days between two given 10 dates using PHP? 65. Explain with examples, the process of opening, reading and writing text Jan 2014/ July 08 files in php. 2014 66. Explain the actions of implode and explode functions. 05 67. Explain any six string functions in PHP. Jan 2014 06 68. With a neat diagram, explain logical internal structure of an array in Jan 2014 05 PHP. 69. What is a cookie? How is it created using PHP script? July 2014 04 70. Write a PHP program to store page views count in SESSION, to Dec 2011 10 increment the count on each refresh, and to show the count on web page.
UNIT 5
Q.no Question Year wise Marks
appearance in VTU question papers 1. Explain the following SQL commands create, insert, update, delete with syntax and example for each. 2. Explain how to connect to database using PHP. 3. Write the Mysql query for the shop database having name, id , price, brand details: i) Count the number of products based songs each brand has ? ii) Order the products based on the brand . iii) Search the songs based on price between 2000 to 6000. 4. Write an HTML document to create a form that collects favorite popular songs, including the name of the song, the composer, and the performing artist or group. This document must call one PHP script when the form is submitted and another to request a current list of survey results. 5. Write an HTML document to create a form that collects favorite books, including the name of the book, the author, and the price. This document must call one PHP script when the form is submitted and another to request a current list of survey results. 6. With a neat diagram explain the logical data model for a database. 7. With a neat diagram explain the three-tier architecture of a Web site supported by databases. 8. Explain common database access architecture.