Content text 3160713 - WP 2022W.pdf
1 Seat No.: ________ Enrolment No.___________ GUJARAT TECHNOLOGICAL UNIVERSITY BE - SEMESTER–VI(NEW) EXAMINATION – WINTER 2022 Subject Code:3160713 Date:16-12-2022 Subject Name:Web Programming Time:02:30 PM TO 05:00 PM Total Marks:70 Instructions: 1. Attempt all questions. 2. Make suitable assumptions wherever necessary. 3. Figures to the right indicate full marks. 4. Simple and non-programmable scientific calculators are allowed. MARKS Q.1 (a) List and explain the website design principles. 03 (b) Write a difference between following a) HTML and XHTML b) Client-side scripting and Server-side scripting a) HTML and XHTML b) Client side scripting and Server side scripting 04 (c) What is navigation? Discuss the characteristics of effective navigation. Also write code of html page to open a link in a new browser window. 07 Q.2 (a) What are the key components of XML? 03 (b) Explain with example frames in HTML. 04 (c) Explain different ways to write the CSS with example. 07 OR (c) Write an HTML snippet with CSS for following effects 1. link: after visited red color and before visited green color 2. table with even rows black and odd rows green color. 3. Text color-green, Text case-uppercase 07 Q.3 (a) State full form of following acronym. (1) DOM (2) XSL (3) DTD (4) HTTP (5) PHP (6) XML 03 (b) Explain meta tag? How it is useful by search engine? 04 (c) Design a login form using HTML & JavaScript with following validations using Regular Expression on username and password fields. 1. Username and Password should not be both blank 2. Username should not start with digit, _, @ or # 3. Password length must be 8 to 16 characters 07 OR Q.3 (a) What are web services? Explain role of SOAP in Web services. 03 (b) What is FTP? Demonstrate functionality of various FTP commands in brief. 04 (c) Write a PHP script to open, close, read and write into a file. 07 Q.4 (a) Differentiate synchronous and Asynchronous web programming 03 (b) Explain the use of following arrays in PHP. 1) $_REQUEST [ ] 2) $_SERVER [ ] 04 (c) Write a Java Script to read data from XML File and print it in tabular manner. 07 OR Q.4 (a) List some advantages of JavaScript. 03 (b) Explain in brief about XSL and XSLT with example. 04