Skip to main content

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 environment’s entry value?
2. What is purpose of TEMP environment entry
3. Create a batch file which displays calendar for month of March’10


3. Given the output of following [5]:

1. rmdir abc|data abc|data2 abc
2. who >>file1
3. cat chap*>hello
4. echo $$
5. ps -l



SET C

Operating System Lab Quiz



1. Create a batch file teacher.bat that examines the batch parameter %1 through %4. 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 [3]:

1. How do you change existing environment’s entry value?
2. What is purpose of TEMP environment entry?
3. Create a batch file which displays calendar for month of March’10


3. Given the output of following [5]:

a. rmdir abc|data abc|data2 abc
b. who >>file1
c. cat chap*>hello
d. echo $$
e. ps -l


SET D
Operating System Lab Quiz



1. Answer the following questions [5]:

1. What will cat fit fit fit display
2. How will you copy a directory structure tree1 tree2 ?Does it make any difference if tree2 exist?
3. What is difference between cat foo and cat > foo?
4. Delete all files and directories of the current directory through a single command?
5. Count number of lines, number of words and characters for 3 files and total count. All through a single command.

2. What is significance of these commands?[3]
a. mv $Home/include
b. cp –r t1 t2
c. mv *../bin

3. Make a menu driven program in dos using choice command [2]


Comments

Popular posts from this blog

Inter-Organizational Value Chain

The value chain of   a company is part of over all value chain. The over all competitive advantage of an organization is not just dependent on the quality and efficiency of the company and quality of products but also upon the that of its suppliers and wholesalers and retailers it may use. The analysis of overall supply chain is called the value system. Different parts of the value chain 1.  Supplier     2.  Firm       3.   Channel 4 .   Buyer
Advantages and Disadvantages of EIS Advantages of EIS Easy for upper-level executives to use, extensive computer experience is not required in operations Provides timely delivery of company summary information Information that is provided is better understood Filters data for management Improves to tracking information Offers efficiency to decision makers Disadvantages of EIS System dependent Limited functionality, by design Information overload for some managers Benefits hard to quantify High implementation costs System may become slow, large, and hard to manage Need good internal processes for data management May lead to less reliable and less secure data

System Analysis and Design (SAD)

Introduction to System Analysis and Design (SAD) System are created to solve Problems. One can think of the systemsapproch as an organised way of dealing with a problem. In this dynamic world , the subject system analysis and design, mainly deals with the software development activities. This post include:- What is System? What are diffrent Phases of System Development Life Cycle? What are the component of system analysis? What are the component of system designing? What is System? A collection of components that work together to realize some objectives forms a system. Basically there are three major components in every system, namely input, processing and output. In a system the different components are connected with each other and they are interdependent. For example, human body represents a complete natural system. We are also bound by many national systems such as political system, economic system, educational system and so forth. The objective of the system demands tha...