0% found this document useful (0 votes)
170 views1 page

GTU Web Technology Exam Paper 2024

Uploaded by

pruthvirajpasi42
Copyright
© © All Rights Reserved
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% found this document useful (0 votes)
170 views1 page

GTU Web Technology Exam Paper 2024

Uploaded by

pruthvirajpasi42
Copyright
© © All Rights Reserved
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

Enrolment No.

/Seat No_____________

GUJARAT TECHNOLOGICAL UNIVERSITY


BE - SEMESTER–VI (NEW) EXAMINATION – SUMMER 2024
Subject Code:3161012 Date:20-05-2024
Subject Name:Web Technology
Tim[Link] AM TO 01: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.

Q.1 (a) Define Protocol. List the various types of servers. 03


(b) Explain the architecture of web browser. 04
(c) Discuss the web design issues in detail. 07

Q.2 (a) How many types of heading does an HTML contain? Explain them. 03
(b) Compare: Ordered List and Unordered List. 04
(c) Design Student registration page for any event in HTML. 07
OR
(c) Design a page with HTML, which show daily routine time table of yours. 07

Q.3 (a) List down the advantages of JavaScript. 03


(b) Explain datatypes and operators used in JavaScript. 04
(c) Explain pop-up boxes in JavaScript with examples. 07
OR
Q.3 (a) Compare and contrast Client Side and Server Side Scripting. 03
(b) What do you mean by event in JavaScript? Give at least two examples of events with their 04
handling.
(c) Explain HTML forms and form validation in JavaScript 07

Q.4 (a) List various String Functions in PHP. 03


(b) What is the difference between identical and equal operator in PHP? Explain with 04
example.
(c) Write a php program to check if number is prime or not. 07
OR
Q.4 (a) Explain various types of arrays in PHP. 03
(b) What are CRUD operations with Database in PHP? 04
(c) Explain the predefined and user defined functions in PHP with an example. 07

Q.5 (a) How to create a hyperlink in HTML? Write a code for it. 03
(b) List advantages and disadvantages of CSS. 04
(c) Design a web page of your hometown with an attractive background color, text color, 07
an Image, font etc. (use internal CSS).
OR
Q.5 (a) How many types of text alignments can be included in a CSS page? Which property of CSS 03
controls the repetition of image inserted in a web page as a background?
(b) How would you embed CSS in your HTML? 04
(c) Explain frames and its usage in HTML with examples. 07

********************
1

Common questions

Powered by AI

Form validation in JavaScript ensures that user inputs meet specified criteria before form submission, preventing incorrect or incomplete data from reaching the server. This validation enhances user experience by providing instant feedback, guiding users with error messages, and ensuring efficient data entry. It also improves data integrity by standardizing input formats, reducing errors and follow-up corrections .

HTML is used primarily for the structure and content of a webpage, providing the basic framework and layout. JavaScript, on the other hand, adds interactivity and dynamic features to the site. While HTML ensures that content is displayed, JavaScript allows for content manipulation, control of multimedia, and responding to user actions, making web pages more interactive and engaging .

Understanding web design issues is crucial because it impacts how users interact with a website. Poor design can lead to a confusing interface, slow loading times, and non-responsive elements, which can frustrate users and drive them away. Usability issues affect how easily a user can navigate and find information, while accessibility issues may prevent users with disabilities from using the website effectively. Analyzing these factors aids in creating an inclusive, efficient, and user-friendly web environment .

Frames in HTML allow dividing the browser window into multiple sections, each capable of displaying different documents. Advantages include simultaneous content viewing and persistent navigation. However, frames complicate URL linking and bookmarking, impair SEO, and can degrade user experience due to inconsistent visual design across different frames, leading to usability challenges .

CRUD operations—Create, Read, Update, Delete—are fundamental for interacting with databases in PHP. They represent the basic functions needed to work with database records. Create adds new records, Read retrieves data, Update modifies existing data, and Delete removes records. These operations are essential for maintaining data integrity and enabling dynamic data manipulation in web applications .

CSS can enhance a web page by improving its look and feel through styles for fonts, colors, and layout, making it aesthetically pleasing and easier to navigate. However, improper use of CSS can hinder performance (e.g., excessive styling can slow down load times) or reduce accessibility for users with disabilities if not designed with web standards in mind. Balancing design and functionality is key to effective CSS usage .

Client-side scripting runs in the user's browser, allowing interaction and immediate feedback without server delays, but is limited by the user's system resources and security constraints. Server-side scripting executes on a server and can manage data processing and dynamic content generation but can be slower and dependent on server load and network latency. These differences impact performance, scalability, and security considerations in web development .

JavaScript events are actions or occurrences that take place in the browser, which can be handled using event handlers to trigger functions. They improve user interaction by responding to user inputs such as clicks or keystrokes, making pages dynamic. For instance, onclick events handle button clicks, and onkeypress events respond to keyboard input, enhancing functionality and providing real-time feedback .

Ordered lists in HTML are used to display items in a specific order, typically represented with numbers. Unordered lists show items without any specific sequence, often using bullets. Ordered lists are ideal for steps in a process, while unordered lists are suitable for items that do not require a specific order, such as features or ingredients .

The identical (===) and equal (==) operators in PHP are fundamental in comparing data types and values. The equal operator checks only if the values are the same, allowing type coercion, which can lead to unexpected results. The identical operator checks both value and type, ensuring stricter comparisons. This distinction is crucial in avoiding logical errors, especially in conditions and loops where accurate type checking is necessary .

You might also like