Differentiate between a cracker and a hacker.

Q5. Differentiate between a cracker and a hacker.

Ans. Hackers are people who break into a computer with no malicious intention. on other hand, crackers are people who gain unauthorized access to a computer with the intention of stealing information or causing harm to the computer by destroying its software. Read More …

Name some forms of virus attacks.

Q3. Name some forms of virus attacks.
Ans.
The most common attacks faced by the computer are as follows:

  1. Spamming
  2. Computer viruses
  3. Worms
  4. Malware
  5. Spyware
  6. Adware
  7. Trojan horses
  8. Sweepers
  9. Denial of services
  10. Password guessing
  11. Phishing
  12. Hacking.

Characteristics of a computer virus.

Q2. List the some common characteristics of a computer virus.
Ans.
Common characteristics of a computer virus are as follows:

  1. Ability to attach itself to another program or file.
  2. Require an external action to activate itself. 
  3. Can replicate itself.

Define a virus.

Q1. Define a virus?
Ans.
Virus is a harmful program, which, on entering a computer, starts creating copies of it. It then attacks by corrupting the executable files and folders saved on the computer. Similar to a biological virus, a computer virus cannot travel on its own; it needs to be attached with some other program or executable file to move from one computer to another.

What does it mean when we say that XML tags are case-sensitive.

Q18. What does it mean when we say that XML tags are case-sensitive?

Ans. The case-sensitivity of XML tags means the opening and closing tags must be in the same case. The following code snippet is an example of a well-formed document, where the opening and closing are in the same case:
<FirstName> Ambrish</FirstName>

Compare XML with HTML.

Q17. Compare XML with HTML with respect to the following two points:

  1. Document structure
  2. Tags

Ans.

  1. Document Structure: The data of both XML and HTML documents are represented in a tree-like structure. However, in the case of XML documents or data, the structure is defined by DTD or schemas. This ensures that the data is organized according to DTD rules. HTML does not have such facility to define the data and document structure.
  2. Tags: Tags are used in both XML and HTML. However, there is one main difference between the two. HTML provides a set of predefined tags, which means that the user cannot extend tag capability in HTML. In other words, the user cannot create his/her own tags. However, in the case of XML, the user can create his/her own tags and use them according to his/her requirements.

Advantages of XML.

Q16. What are the advantages of XML?

Ans.  The advantages of XML are as follows:

  1. Stores data in plain text, therefore you do not need any special knowledge to understand the XML data.
  2. Provides a basic syntax that can be used to share information among different applications.
  3. XML is completely compatible with Java. In addition, it is fully portable to the extent that it can be used on large networks with multiple platforms, such as the Internet, and on palmtops.
  4. Allows the user to create tags according to his/her requirements.
  5. XML is a platform-independent language. Read More …