Last updated on March 20th, 2025 at 03:27 am
Here, We will see the Web Technology Question Paper from the previous year’s exam and the syllabus of Web Technology for the GATE and PSU Exam.
Table of Contents
1. Web Technology
Web Technology is a crucial topic in the GATE Computer Science (CSE) and Public Sector Undertaking (PSU) exams, testing candidates’ understanding of modern web development frameworks, protocols, and security mechanisms.
To excel, aspirants must align their preparation with the GATE CSE and PSU syllabus, which emphasize both foundational and advanced concepts.
2. Web Technology Syllabus
The Web Technology Questions asked in the GATE and PSU Exam focused on topics:
- Core Topics: HTML, CSS, XML, JavaScript (DOM, events, AJAX), HTTP protocols, and web servers (Apache, IIS).
- Server-Side Technologies: Basics of PHP, ASP.NET, and JSP.
- Security: Cross-site scripting (XSS), SQL injection, authentication mechanisms (OAuth, JWT), and HTTPS.
- Advanced Concepts: RESTful APIs, web sockets, cookies, session management, and web caching.
3. PSU Web Technology Syllabus
PSUs like ONGC, BHEL, and IOCL often mirror GATE’s syllabus but may include additional topics:
- Client-Server Architecture: Load balancing, proxy servers.
- Web Development Frameworks: Overview of React, Angular, or Node.js.
- Emerging Trends: Cloud integration (AWS, Azure) and web accessibility standards.
Web Technology Question Paper – GATE & PSU Exam
Q. Which of these events will be generated if we close an applet’s window?
- ActionEvent
- ComponentEvent
- AdjustmentEvent
- WindowEvent
Answer
WindowEvent
NIELIT 2017 OCT Scientific Assistant A (IT)
Q. If we don’t want to allow a floating div to the left side of an element, ___________ property will we use.
- margin
- clear
- float
- padding
Answer
clear
NIELIT Scientific Assistant A 2020 November
Q. Web links are stored within the page itself and when you wish to ‘jump’ to the page that is linked, we select the hotspot or anchor. This technique is called
- Hypertext
- Hypermedia
- Both 1 and 2
- Anchoring
Answer
Both 1 and 2
NIELIT 2017 OCT Scientific Assistant A (CS)
Q. ________ is used to write a comment in CSS.
- /* a comment */
- // a comment //
- / a comment /
- < ‘a comment’ >
Answer
/* a comment */
NIELIT 2021 Dec Scientist B
Q. The default character encoding in HTML5 is ________
- UTF-16
- UTF-32
- UTF-8
- ISO-8859-1
Answer
UTF-8
NIELIT Scientific Assistant A 2020 November
Q. Which of the following tags is used for inserting the largest heading in HTML?
- <h3>
- <h1>
- <h5>
- <h6>
Answer
<h1>
NIELIT 2021 Dec Scientist B
Q. How to add a background color in HTML for the marquee Tag?
- <marquee bgcolor : “red”>
- <marquee bg-color = “red”>
- <marquee bgcolor = “red”>
- <marquee color = “red”>
Answer
<marquee bgcolor = “red”>
NIELIT 2021 Dec Scientist B
Q. What does <main> include?
- Header
- Sidebar
- Article
- Footer
Answer
Article
NIELIT Scientific Assistant A 2020 November
Q. By which technology do we separate our business logic from the presentation logic?
- Servlet
- JSP
- Both (A) & (B)
- None of the above
Answer
JSP
NIELIT 2016 DEC Scientist B (IT)
Q. Which of the following tags is used intended for navigation in HTML5?
- nav
- footer
- section
- navigation tag
Answer
nav
NIELIT Scientist B 2020 November
Q. How can we set a Cookie visibility scope to local storage?
- $
- %
- /
- All of the options
Answer
/
NIELIT 2017 DEC Scientific Assistant A
Q. Limitations of the XML Data Type are:
- It cannot be compared or sorted. This means an XML data type cannot be used in a GROUP BY statement
- It cannot be used as a key column in an index
- The value() method of the XML data type returns a scalar value, so it can be specified anywhere where scalar values are allowed
- All of the options
Answer
All of the options
NIELIT Scientist B 2020 November
Q. Which of the following is the correct Content-Type header that a server-side script should send for SSE in HTML5?
- Content-Type: text/event-stream
- Content-Type: text/applicationstream
- Content-Type: text/data-stream
- None of the options
Answer
Content-Type: text/event-stream
NIELIT Scientist B 2020 November
Q. Which of the following is a component of Hadoop?
- YARN
- HDFS
- Map reduce
- All of the options
Answer
All of the options
NIELIT Scientist B 2020 November
Q. Which element is used to define the discrete units of content such as a blog post, comment, and so on?
- Section
- class
- article
- none of the options
Answer
article
NIELIT Scientist B 2020 November
Q. Match the problem domains in Group I with the solution technologies in Group II
Group I | Group II |
P. Service oriented computing | 1. Interoperability |
Q. Heterogeneous communicating systems | 2. BPMN |
R. Information representation | 3. Publish-find-bind |
S. Process description | 4. XML |
- P-1, Q-2, R-3, S-4
- P-3, Q-4, R-2, S-1
- P-3, Q-1, R-4, S-2
- P-4, Q-3, R-2, S-1
Answer
P-3, Q-1, R-4, S-2
NIELIT 2017 July Scientist B (CS)
Q. HTML(Hypertext Markup language) has language elements that permit certain actions other than describing the structure of the web document. Which of the following actions is NOT supported by pure HTML(without any server or client-side scripting) pages?
- Embed web objects from different sites into the same page.
- Refresh the page automatically after a specified interval.
- Automatically redirect to another page upon downloa1.
- Display the client time as part of the page.
Answer
Display the client time as part of the page.
NIELIT 2017 July Scientist B (IT)
Q. Consider the HTML table definition given below:
<table border=1> <tr> <td rowspan=2>ab</td> <td colspan=2>cd</td> </tr> <tr> <td>ef</td> <td rowspan=2>gh</td> </tr> <tr> <td colspan=2>ik</td> </tr> </table>
The number of rows in each column and the number of columns in each row are
- (2,2,3) and (2,3,2)
- (2,2,3) and (2,2,3)
- (2,3,2) and (2,3,2)
- (2,3,2) and (2,2,3)
Answer
(2,3,2) and (2,3,2)
NIELIT 2017 July Scientist B (IT)
Q. PI in XML specification stands for ________.
- priceless instruction
- processing instruction
- polymorphic inheritance
- primary instruction
Answer
processing instruction
NIELIT Scientist B 2020 November
Q. How to specify the comment in the XML document?
- <?–>
- <!–!>
- <!–>
- </–>
Answer
<!–>
NIELIT Scientist B 2020 November
Q. Which of the following statements is/are False?
1. XML overcomes the limitations in HTML to support a structured way of organizing content.
2. XML specification is not case sensitive while HTML specification is case sensitive.
3. XML supports user-defined tags while HTML uses pre-defined tags.
4. XML tags need not be closed while HTML tags must be closed.
- 2 only.
- 1 only.
- 2 and 4 only.
- 3 and 4 only.
Answer
2 and 4 only.
NIELIT 2017 July Scientist B (IT)
Q. Adding the style attributes in HTML elements, is known to be __________.
- Internal
- Inline
- Outline
- External
Answer
Inline
NIELIT Scientific Assistant A 2020 November
Q. _______ CSS property allows to wrap a block of text around an image.
- wrap
- push
- float
- align
Answer
float
NIELIT Scientific Assistant A 2020 November
Q. Match the following:
(P) Condition coverage | (i) Black-box testing |
(Q) Equivalence class partitioning | (ii) System testing |
(R) Volume testing | (iii) White-box testing |
(S) Alpha testing | (iv) Performance testing |
- P–ii, Q–iii, R–i, S–iv
- P–iii, Q–iv, R–ii, S–i
- P–iii, Q–i, R–iv, S–ii
- P–iii, Q–i, R–ii, S–iv
Answer
P–iii, Q–i, R–iv, S–ii
[2015]
Q. Which of the following statements is/are FALSE?
I. XML overcomes the limitations in HTML to support a structured way of organizing content.
II. XML specification is not case sensitive while HTML specification is case sensitive.
III. XML supports user-defined tags while HTML uses pre-defined tags.
IV. XML tags need not be closed while HTML tags must be closed.
- II only
- I only
- II and IV only
- III and IV only
Answer
II and IV only
[2015]
Q. Consider the following C program segment.
while (first <= last) { if (array[middle] < search) first = middle + 1; else if (array[middle] == search) found = TRUE; else last = middle– 1; middle = (first + last) / 2; } if (first > last) notPresent = TRUE;
The cyclomatic complexity of the program segment is _______.
- 5
- 4
- 3
- 1
Answer
5
[2015]
Q. A software requirements specification (SRS) document should avoid discussing which one of the following?
- User interface issues
- Non-functional requirements
- Design specification
- Interfaces with third-party software
Answer
Design specification
[2015]
Q. Consider the basic COCOMO model where E is the effort applied in person-months, D is the development time in chronological months, KLOC is the estimated number of delivered lines of code (in thousands) and ab , bb, cb, db have their usual meanings. The basic COCOMO equations are of the form
- E = ab(KLOC) exp(bb), D = cb(E) exp(db)
- D = ab(KLOC) exp(bb), E = cb(D) exp(db)
- E = ab exp(bb), D = cb(KLOC) exp(db)
- E = ab exp(db), D = cb(KLOC) exp(bb)
Answer
E = ab(KLOC) exp(bb), D = cb(E) exp(db)
[2015]
Q. Which one of the following statements is NOT correct about HTTP cookies?
- A cookie is a piece of code that has the potential to compromise the security of an Internet user.
- A cookie gains entry to the user’s work area through an HTTP header.
- A cookie has an expiry date and time.
- Cookies can be used to track the browsing pattern of a user at a particular site.
Answer
A cookie is a piece of code that has the potential to compromise the security of an Internet user.
[2015]
Q. Which one of the following assertions concerning code inspection and code walkthrough is true?
- Code inspection is carried out once the code has been unit tested.
- Code inspection and code walkthrough are synonyms
- Adherence to coding standards is checked during code inspection
- Code walkthrough is usually carried out by an independent test team
Answer
Adherence to coding standards is checked during code inspection
[2015]
Q. Consider a software project with the following information domain characteristics for the calculation of function point metric.
Number of external inputs (I) = 30
Number of external outputs (O) = 60
Number of external inquiries (E) = 23
Number of files (F) = 08
Number of external interfaces (N) = 02
It is given that the complexity weighting factors for I, O, E, F and N are 4, 5, 4, 10 and 7, respectively. It is also given that, out of fourteen value adjustment factors that influence the development effort, four factors are not applicable, each of the other four factors have value 3, and each of the remaining factors have value 4. The computed value of function point metric is _______ .
- 576 to 578
- 600 to 601
- 612 to 613
- None of the options
Answer
612 to 613
[2015]
Q. In a web server, ten WebPages are stored with the URLs of the form http://www.yourname.com/var.html; where, var is a different number from 1 to 10 for each Webpage. Suppose, the client stores the Webpage with var = 1 (say W1) in local machine, edits and then tests. Rest of the web pages remain on the web server. W1 contains several relative URLs of the form ‘var.html” referring to the other WebPages. Which one of the following statements needs to be added in W1, so that all the relative URLs in W1 refer to the appropriate WebPages on the web server?
- <a href: http://ww.yourname.com/”, href: “var.html”>
- <base href: http://ww.yourname.com/”>
- <a href: http://ww.yourname.com/”>
- <base href: http://ww.yourname.com/”, range: “var.html”>
Answer
<base href: http://ww.yourname.com/”>
[2015]
Q. Consider a software program that is artificially seeded with 100 faults. While testing this program, 159 faults are detected, out of which 75 faults are from those artificially seeded faults. Assuming that both real and seeded faults are of the same nature and have the same distribution, the estimated number of undetected real faults is _____________.
- 23
- 28
- 32
- 17
Answer
28
[2015]
Q. Consider three software items: Program-X, the Control Flow Diagram of Program-Y, and Control Flow Diagram of Program-Z as shown below
Program - X: Sumcal(int maxint, int value) { int result = 0, i = 0; if (value < 0) { Value = -value; } While((i < value) AND(result <= maxint { i = i + 1; result = result + 1; } if (result <= maxint) { printf(result); } else { printf(″large″) } printf(″end of program″); }
The value of McCabe’s Cyclomatic complexity of program-X, Program-Y, and Program-Z respectively are
- 4, 4, 7
- 3, 4, 7
- 4, 4, 8
- 4, 3, 8
Answer
4, 4, 7
[2015]