Skip to main content

Posts

Lecture Notes MIS

Some of the popular MIS posts MIS POST http://lecture-notes-forstudents.blogspot.com/2010/04/system-analysis-and-design-sad.html http://lecture-notes-forstudents.blogspot.com/2010/04/types-of-information-system.html http://lecture-notes-forstudents.blogspot.com/2010/04/mis-and-system-analysis.html http://lecture-notes-forstudents.blogspot.com/2010/04/mis-and-system-analysis.html

Some questions from OS LAB

SET A Operating System Lab Quiz 1. Create a DOS batch file student.bat that examines the batch parameter %1 through %3. If a parameter is defined display the parameter’s value. If the parameter is not defined display an appropriate error message. [3] 2. Answer the following questions with respect to DOS: [3] 1. Which commands place entries in the environment? 2. How can you use SET to change your command prompt? 3. What is the function of REN command 4. what is purpose of pause command 5. How does Echo off affect pause? 3. Given the output of following: [4] 1. rm file * 2. wc < file1 3. ls|wc –l > file 4. mkdir abc|data abc|data2 abc Set B 1. Create a DOS batch file student.bat that examines the batch parameter %1 through %3. If a parameter is defined display the parameter’s value. If the parameter is not defined display an appropriate error message. [2] 2. Answer the following with respect to DOS [3]: 1. How do you change existing environ

XML Attributes

From HTML you will remember this: < IMG SRC="comp.gif" >. The SRC attribute provides additional information about the IMG element. In HTML (and in XML) attributes provide additional information about elements: < img src="computer.gif" > < a href="demo.asp" > Attributes often provide information that is not a part of the data. In the example below, the file type is irrelevant to the data, but important to the software that wants to manipulate the element: < file type="gif" > computer.gif < /file > Students now u know abt basic XML, its scripting rules. Lets understand XML attributes which can be understood as property of an element. Here are simple rules for XML elements Quote Styles, "female" or 'female'? Attribute values must always be enclosed in quotes, but either single or double quotes can be used. For a person's sex, the person tag can be written like this: < person se

Element naming

XML elements must follow these naming rules: Names can contain letters, numbers, and other characters Names must not start with a number or punctuation character Names must not start with the letters xml (or XML, or Xml, etc) Names cannot contain spaces Take care when you "invent" element names and follow these simple rules: Any name can be used, no words are reserved, but the idea is to make names descriptive. Names with an underscore separator are nice. Examples: < stud_name >, < stud_age > . Avoid "-" and "." in names. For example, if you name something "first-name," it could be a mess if your software tries to subtract name from first. Or if you name something "first.name," your software may think that "name" is a property of the object "first." Element names can be as long as you like, but don't exaggerate. Names should be short and simple, like this: < Thesis_title

XML SCRIPTING

XML Language can be understood as a generic language used to describe other markup languages. You need to understand that XML makes a clear distinction between the markup and the content of the webpage. Here markup implies tags and attributes that are being used in the XML document and content refers to the information being presented in the document. E.g. < p > XML is used to store data in a structured way < /p > In this example < p >…. </p > refers to the markup being used in the document and the text written between these tags refer to the content of the document. You can say that markup is actually used to describe the presentation of the content. This is done using standard tags and attributes that are available in HTML. You will find that the XML markup is generally used to describe the content of the document and is not related with the appearance of the document. E.g. < quiz answer=”Qutab Minar” > Can you name a famous monument in delhi?&l

Difference between HTML and XML

You need to understand that you will not use XML for replacing HTML. Both XML and HTML have been designed for different goals which can be summarized as follows: a. XML is designed specifically for describing and structuring the data where as HTML is used for formatting and displaying the data. b. XML is focused on defining data with its attributes. It basically tells what data is all about. HTML is focused on presentation of data and is used to customize looks of data. c. In case of HTML Document tags to be used and the structure of the documents are predefined. While using HTML you can only use tags which are pre-defined in the HTML standards. In case of XML you can define your own tags and develop your own document structure. d. An XML document is saved with an extension .XML whereas an HTML document is saved as .HTML. E.g. The following example is an e-mail from Ram to Shyam stored as XML < email > < to > Ram </to > < from > Shyam &