Aspire's Library

A Place for Latest Exam wise Questions, Videos, Previous Year Papers,
Study Stuff for MCA Examinations

UGC NET Computer Science Previous Year Questions (PYQs)

UGC NET Computer Science Internet And Email PYQ


UGC NET Computer Science PYQ
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:





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.

UGC NET Computer Science PYQ
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:





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.

UGC NET Computer Science PYQ
Which mechanism in XML allows organizations to specify globally unique names as element tags in documents?





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science Sep 2022 (Paper II) PYQ

Solution

In XML, namespace is used to provide globally unique names for elements and attributes.

It avoids name conflicts between different XML documents.

UGC NET Computer Science PYQ

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 &lt;img&gt; tag of HTML.

Select the correct answer from the options given below:






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 &lt;img&gt; tag.

Therefore, only $P$ is true.


UGC NET Computer Science PYQ

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:






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.


UGC NET Computer Science PYQ
Which tag is used to enclose any number of javascript statements in HTML document?





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science Dec 2019 (Paper II) PYQ

Solution

<script>

    // JavaScript code

</script>


UGC NET Computer Science PYQ

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






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}}$

UGC NET Computer Science PYQ
 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:






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.


UGC NET Computer Science PYQ

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 :






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)


UGC NET Computer Science PYQ
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





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)$


UGC NET Computer Science PYQ
Which one of the following allows the session to continue?





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

A session cannot continue if the user logs out, the session is invalidated, or the session times out.

If the user refreshes the browser and a persistent cookie is available, the session can continue.


UGC NET Computer Science PYQ

Which of the following lists defined in HTML share a similar element

  1. Unordered lists
  2. Ordered lists
  3. Definition Lists
  4. Correlated lists
  5. Enumerated lists

Choose the most appropriate answer from the options given below:






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$


UGC NET Computer Science PYQ
In electronic mail, which of the following protocols allows the transfer of multimedia?





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science Nov 2021 (Paper II) PYQ

Solution

SMTP is used for sending email.

POP3 and IMAP are used for receiving or accessing email.

MIME stands for Multipurpose Internet Mail Extensions.

It allows email to carry multimedia content such as images, audio, video and attachments.

UGC NET Computer Science PYQ
In HTML, $<map>$ tag is used for





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science Nov 2020 (Paper II) PYQ

Solution

The $<map>$ tag is used with the $<area>$ tag to create an image map.

Image map means different clickable regions can be defined inside an image.

UGC NET Computer Science PYQ

Which of the following is the Markup language?


A. HTML

B. XML

C. DHTML

D. LML

E. PML






Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science June 2024 (Paper II) PYQ

Solution

HTML (HyperText Markup Language) → Markup language

• XML (Extensible Markup Language) → Markup language

• DHTML (Dynamic HTML) → Extension of HTML used for dynamic webpages


LML and PML are not standard markup languages



UGC NET Computer Science


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More

UGC NET Computer Science


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More

Limited Seats
× Aspire MCA Promotion

Game Changer NIMCET Test Series 2026

Boost your preparation with mock tests, analysis and rank-focused practice.

JOIN NOW
Ask Your Question or Put Your Review.

loading...