Q11. Answer the following questions:
- Shreenivasan is working for an IT firm where he needs to take a backup of his data of around 200MB to 400MB at the end of each day. The backup he takes everyday needs to be achieved separately for future reference. Suggest any two economic data backup devices, which he can use for this purpose.
- Differentiate between hackers and crackers with the reference to their intention and motive.
- Name one specific software/ tool for each of the following categories:
1. Anti-virus software
2. Data recovery tool
3. Online backup tool
4. Text editor to create HTML pages
5.Open Source web browser
- CD and DVD
- Hacker is a slang term for a person who is passionate about computers, one who enjoys gathering any type of information about computers and programming languages. The term is sometimes used derogatorily to mean a person who uses this knowledge to break into a computer to steal sensitive information. In simple word, hackers are people who break into a computer with no malicious intention. On the other side, crackers are the people who gain unauthorized access to a computer with the intention of stealing information or causing harm to the computer by destroying its software. However, the popular mass media finds no distinction between the two terms and uses them interchangeably.
1. Anti-virus software: Vipre
2. Data recovery tool: NTFS-reader
3. Online backup tool: Dropbox
4. Text editor to create HTML pages: Notepad2
5.Open Source web browser: Mozilla Firefox
Q19. Explain the utility of comments in XML.
Ans. a comment is a note or information that appears in the code of an XML document to help you understand the code better. Comments are not displayed in the output. They are not parsed by the XML parser.
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:
Q17. Compare XML with HTML with respect to the following two points:
- Document structure
- 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.
- 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.
Q16. What are the advantages of XML?
Ans. The advantages of XML are as follows:
- Stores data in plain text, therefore you do not need any special knowledge to understand the XML data.
- Provides a basic syntax that can be used to share information among different applications.
- 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.
- Allows the user to create tags according to his/her requirements.
- XML is a platform-independent language. Read More …
Q15. What is CSS?
Ans. CSS is a text document (or style-sheet) that is commonly used to define the style and layout of an XML document, such as font size, font color, line width, and background color. The same CSS document can be used in multiple XML documents. The CSS document, which has the .css extension, contains the style code for the structure, such as heading, paragraphs, and links, of the XML document.
Q14. Write the procedure to link a style-sheet with an XML document.
Ans. To link a CSS style-sheet with an XML document, we need to use the PI statement in the XML document.
We need to perform the following steps to link a style-sheet with an XML document:
- Create an XML document and save it as a file with the .xml extension.
- Create a style-sheet and save it as a file with the .css extension. Read More …
Q13. Consider the table shown in Question 12 and create a style-sheet for it, prescribing the color for Book_Name, Author and Price as red, green, and blue respectively. In addition, the font attribute is in bold style.
Q12. Create an XML document containing the information shown in the following table:
<?xml version=“1.0” encoding=”UTF-8” standalone=”yes”?>
<book> Read More …