Você está na página 1de 2

Student Regn. No.

E
Session:- 9:30-12:30

Course Code: DCAP202 Course Title: Fundamentals of Web Programming


Date of Exam:- 19 Sept

Time Allowed : 3 hours

Max. Marks: 80

1. This paper contains 10 questions divided in two parts on 2 pages. 2. Parts A is compulsory. 3. In Part B (Questions 2 to 10), attempt any 6 questions out of 9. Attempt all parts of the questions chosen. 4. The marks assigned to each question are shown at the end of each question in square brackets 5. Answer all questions in serial order. Part A Q1. Attempt following questions briefly. a) Write code to create a hyperlink to open the web page in a new window or tab? b) What do you mean by DOM in JavaScript? Give the basic structure of DOM in JavaScript. c) What are arrays? How do we declare arrays in JavaScript? d) What is the purpose of using Frames in HTML? e) Differentiate between various types of List tags available in HTML f) Write any two benefits of DHTML. g) What do you mean by Domain Name System? Write briefly about it. h) Using example show implementation of Img tag. i) Differentiate between CheckBox and RadioButton. j) Write in short about string object in JavaScript. [2X10=20] Part B Q2. Which layer of TCP/IP model is responsible for choosing the correct route to destination? Write in detail about all the layers of TCP/IP model for internet. [10] Q3. How the connectivity to Internet is established. Explain the concept of IP addressing. Write & explain various types of IP addresses and various classes of IP address. [10] Q4. Which HTML tags are used for formatting the contents in a web page? Create a HTML web page in to show implementation of various text formatting tags available in HTML. [10] Q5. How loop control statements such as while are used to execute a group of statements a number of times. Write & explain various loop control statements and their respective syntax. Write the example programs to show usage of these statements. [10]

Q6. Why Cascading Style Sheets are used while creating web pages? Explain different types of CSS and the concept of classes in CSS. Use suitable example to show usage of CSS in creation of a web page. [10] Q7. What do you mean by events in JavaScript? How events are handled in JavaScript? Write in short about different events available in JavaScript on various HTML elements. Write the example program showing usage of at least two events and their respective handlers. [10] Q8. Write and explain form elements or controls that are used on a HTML form. Write the syntax and use of these elements. Create a webpage showing usage of various from elements. [10] Q9. Write program to create a online registration form for admission to a University. Use various HTML and JavaScript concepts to create this web page. [10] Q10. Create a webpage which makes use of <table> tag to represent time table for trains with following columns: Train No, Train name, Name of Source Station, Name of Destination station, Arrival Time at Destination station, departure Time from Source Station, Fare & Reservation charges. Data for at least five trains should be represented by Web Page. [10]

Você também pode gostar