Qus : 1
UGC NET Computer Science PYQ
3
Which of the following statements regarding XML is/are True? (A) XML is a set of tags designed to tell browsers how to display text and images in a web page. (B) XML defines a syntax for representing data, but the meaning of data varies from application to application. (C) <Letter>, <LETTER>, and <letter> are three different tags in XML. Choose the correct answer from the options given below:
1
(A) and (B) only 2
(A) and (C) only 3
(B) and (C) only 4
(A), (B) and (C) Go to Discussion
UGC NET Computer Science UGC NET PYQ
UGC NET Computer Science UGC NET Computer Science Nov 2020 (Paper II) PYQ
Solution XML is used to store and transport data, not to display data like HTML. So, statement A is false. XML defines syntax for representing data, but meaning depends on application. So, statement B is true. XML tags are case-sensitive. So, <Letter>, <LETTER>, and <letter> are different tags. So, statement C is true.
Qus : 2
UGC NET Computer Science PYQ
4
Firewall is a device that filters access to the protected network from the outside network. Firewalls can filter the packets on the basis of (A) Source IP Address (B) Destination IP Address (C) TCP Source Port (D) UDP Source Port (E) TCP Destination Port Choose the correct answer from the options given below:
1
(A), (B) and (C) only 2
(B) and (E) only 3
(C) and (D) only 4
(A), (B), (C), (D) and (E) only Go to Discussion
UGC NET Computer Science UGC NET PYQ
UGC NET Computer Science UGC NET Computer Science Nov 2020 (Paper II) PYQ
Solution A firewall can filter packets using information present in the packet header. It can filter packets on the basis of Source IP Address. So, statement (A) is true. It can filter packets on the basis of Destination IP Address. So, statement (B) is true. It can filter packets on the basis of TCP Source Port. So, statement (C) is true. It can filter packets on the basis of UDP Source Port. So, statement (D) is true. It can also filter packets on the basis of TCP Destination Port. So, statement (E) is true. Therefore, all statements (A), (B), (C), (D) and (E) are correct.
Qus : 4
UGC NET Computer Science PYQ
4
Which of the following statements is/are true?
$P$: In a scripting language like JavaScript, types are typically associated with values, not variables.
$Q$: It is not possible to show images on a web page without the <img> tag of HTML.
Select the correct answer from the options given below:
1
$P$ only 2
$Q$ only 3
Both $P$ and $Q$ 4
Neither $P$ nor $Q$ Go to Discussion
UGC NET Computer Science UGC NET PYQ
UGC NET Computer Science UGC NET Computer Science June 2019 (Paper II) PYQ
Solution Statement $P$ is true.
JavaScript is dynamically typed. In JavaScript, variables can store values of different types at different times.
So, types are associated with values, not fixed permanently with variables.
Statement $Q$ is false.
Images can also be shown on a web page using CSS background images, SVG, canvas, object tag, embed tag, etc.
So, it is possible to show images without using the <img> tag.
Therefore, only $P$ is true.
Qus : 5
UGC NET Computer Science PYQ
1
Which of the following statements is/are true?
$P$: An XML document with correct syntax as specified by W3C is called "Well Formed".
$Q$: An XML document validated against a DTD is both "Well formed" and "Valid".
$R$: An XML declaration written without the required question-mark based declaration format is syntactically correct for an XML document.
Select the correct answer from the options given below:
1
$P$ and $Q$ only 2
$P$ and $R$ only 3
$Q$ and $R$ only 4
All of $P,Q$ and $R$ Go to Discussion
UGC NET Computer Science UGC NET PYQ
UGC NET Computer Science UGC NET Computer Science June 2019 (Paper II) PYQ
Solution Statement $P$ is true.
An XML document with correct syntax is called a well-formed XML document.
Statement $Q$ is also true.
If an XML document is validated against a DTD, then it is well formed and valid.
Statement $R$ is false.
An XML declaration must follow the proper XML declaration format. Without the required question-mark based syntax, it is not syntactically correct.
Therefore, only $P$ and $Q$ are true.
Qus : 7
UGC NET Computer Science PYQ
2
Suppose that a corporate website appearance varies according to the department that owns various documents. All the documents need to follow the corporate look and feel. The HR department does not need a separate style sheet. It needs only the sheet containing the difference from the corporate sheet.
Which of the following statements justify the above scenario?
A. The styles sheets cannot stack on each other
B. The style sheets can stack on each other
C. The style sheets can override each other
D. The style sheets cannot override each other
1
A, C Only 2
B, C Only
3
B, D only 4
A, D only Go to Discussion
UGC NET Computer Science UGC NET PYQ
UGC NET Computer Science UGC NET Computer Science Dec 2022 Shift I (Paper II) PYQ
Solution In CSS, multiple style sheets can be applied together.
This is called cascading.
Also, one style sheet can override rules of another style sheet.
So, correct statements are B and C.
So, correct option is:
$\boxed{(b)\ \text{B, C Only}}$
Qus : 8
UGC NET Computer Science PYQ
4
Which of the statements given below is/are correct?
It is always important and useful to include an $alt$ attribute on $img$ tag in HTML because
A. users who cannot see the image due to vision impairment can have a textual description of the image which can be spoken aloud by a screen reader.
B. If the image fails to load due to slow connection, broken path, etc. then alt text is displayed instead.
C. SEO Search Engine Optimization benefits.
Choose the correct answer from the options given below:
1
A only 2
B and C only 3
C only 4
A, B, and C Go to Discussion
UGC NET Computer Science UGC NET PYQ
UGC NET Computer Science UGC NET Computer Science Nov 2021 (Paper II) PYQ
Solution The $alt$ attribute is used inside the $img$ tag in HTML.
It provides alternative text for an image.
Now check each statement.
Statement A:
If a user has vision impairment, then screen readers can read the $alt$ text aloud.
So, the user can understand what the image represents.
Therefore, statement A is correct.
Statement B:
If the image does not load because of slow internet, wrong image path or broken link, then the browser can display the $alt$ text.
Therefore, statement B is correct.
Statement C:
Search engines cannot understand images like humans.
So, $alt$ text helps search engines understand the image content.
It also gives SEO benefits.
Therefore, statement C is correct.
Hence, A, B and C are correct.
Qus : 9
UGC NET Computer Science PYQ
3
Match List - I with List - II.
List - I
List - II
(A) HTML (I) Allow for dynamic and interactive web pages. (B) DHTML (II) Defines the structure of web pages. (C) XML (III) Object-oriented programming language for web applications. (D) JAVA
(IV) Used for data storage and transport.
Choose the correct answer from the options given below :
1
(A)-(I), (B)-(III), (C)-(II), (D)-(IV) 2
(A)-(II), (B)-(III), (C)-(IV), (D)-(I) 3
(A)-(II), (B)-(I), (C)-(IV), (D)-(III) 4
(A)-(III), (B)-(I), (C)-(IV), (D)-(II) Go to Discussion
UGC NET Computer Science UGC NET PYQ
UGC NET Computer Science UGC NET Computer Science August 2024 (Paper II) PYQ
Solution HTML → defines structure of web pages → (II)
DHTML → dynamic interactive web pages → (I)
XML → data storage and transport → (IV)
JAVA → object-oriented programming language → (III)
Thus matching:
(A)-(II), (B)-(I), (C)-(IV), (D)-(III)
Qus : 10
UGC NET Computer Science PYQ
3
Match List-I with List-II:
List-I
HTML Element / Attribute
List-II
Use
(a)
Frame attribute
(i)
to create link in HTML
(b)
<tr> tag
(ii)
for vertical alignment of content in cell
(c)
Valign attribute
(iii)
to enclose each row in table
(d)
<a> tag
(iv)
to specify the side of the table frame that display border
1
(a)-(i), (b)-(ii), (c)-(iii), (d)-(iv) 2
(a)-(ii), (b)-(i), (c)-(iii), (d)-(iv) 3
(a)-(iv), (b)-(iii), (c)-(ii), (d)-(i) 4
(a)-(iii), (b)-(iv), (c)-(ii), (d)-(i) Go to Discussion
UGC NET Computer Science UGC NET PYQ
UGC NET Computer Science UGC NET Computer Science Dec 2019 (Paper II) PYQ
Solution Frame attribute is used to specify the side of the table frame that displays border.
So, (a) $\rightarrow$ (iv)
<tr> tag is used to enclose each row in a table.
So, (b) $\rightarrow$ (iii)
Valign attribute is used for vertical alignment of content in a cell.
So, (c) $\rightarrow$ (ii)
<a> tag is used to create links in HTML.
So, (d) $\rightarrow$ (i)
Hence, correct matching is:
$(a)-(iv),\ (b)-(iii),\ (c)-(ii),\ (d)-(i)$
Qus : 12
UGC NET Computer Science PYQ
3
Which of the following lists defined in HTML share a similar element
Unordered lists
Ordered lists
Definition Lists
Correlated lists
Enumerated lists
Choose the most appropriate answer from the options given below:
1
$1,2$ only 2
$1,3,5$ only 3
$1,2,3$ only 4
$1,3,4$ only Go to Discussion
UGC NET Computer Science UGC NET PYQ
UGC NET Computer Science UGC NET Computer Science Dec 2022 Shift II (Paper II) PYQ
Solution HTML mainly supports three types of lists:
Unordered list
Ordered list
Definition list
So,
Statement $1$ is correct.
Statement $2$ is correct.
Statement $3$ is correct.
Correlated lists and enumerated lists are not standard HTML list types.
Therefore, the correct set is:
$1,2,3$
[{"qus_id":"17390","year":"2024"},{"qus_id":"17548","year":"2024"},{"qus_id":"18546","year":"2022"},{"qus_id":"18610","year":"2020"},{"qus_id":"18645","year":"2022"},{"qus_id":"18731","year":"2022"},{"qus_id":"18811","year":"2021"},{"qus_id":"18906","year":"2021"},{"qus_id":"18920","year":"2020"},{"qus_id":"18955","year":"2020"},{"qus_id":"18970","year":"2020"},{"qus_id":"19026","year":"2019"},{"qus_id":"19095","year":"2019"},{"qus_id":"19243","year":"2019"},{"qus_id":"19244","year":"2019"}]