Assignment-1 Q-1 Write A Short Note On Operating System? Ans: Definition
Assignment-1 Q-1 Write A Short Note On Operating System? Ans: Definition
Ans: Definition:
“Operating System is a collection of programs that control all hardware and other
resources in the computer system”. Without Operating System the computer is useless.
Required:
The Operating System operate and controls the C.P.U., Memory , Various I/U devices
such that Keyboard, Mouse, Video Display Unit, Printers etc.
1. Locate the program file required to run the program on the Floppy or the hard disk
drive.
2. Find out the vacant space in the memory where the program files may be loaded.
3. Loaded the program files in the memory.
4. While the program is running keep the resources required by the programme
reserved on permanent or time-sharing bases.
5. Manage and control the users interaction with the I/U devices.
Types of Operating System:
Ans: Definition:
Warm booting:-
“Restarting PC without switching off the power is called warm booting”.
Cold booting:-
“Sometime warm booting doesn’t work in that case you have to switch off and
switch it on to boot it again is called cold booting”.
The Operating System creates and manages the directory system on the
secondary storage devices.
Examples:
Copy, REN, Erase. DIR, CD, Date, Time, Type, Prompt, Version, RMDIR(RD),
MKDIR(MD).
External Command:
Examples:
Ans: (1) Autoexec.bat and Config.sys file are automatically loaded when DOS is booted. (2)
Autoexec.bat and Config.sys are contains the necessary of DOS commands to load the
startup programme. On computer Config.sys is configuration file of your PC.
DOS GUI
Q-6 Explain following commands in detail with their Use, Syntax and Example.
Ans: 1. DIR:
Use: This Command is used to list files and directories from a particular directory.
Syntax: DIR
Example: c:\ > DIR
2. MD or MKDIR:
Use: This key is use to store all DOS command in memory. When you want to see it,
press Up and Down arrow keys.
7. Version:
Use: This Command is use to display or watch the DOS version in use in the PC.
Syntax: VER
Example: c:\ > VER
8. Date:
Use: This Command is used to display or change system date of our computer.
Syntax: Date
Example: c:\ > Date Current Date is (mm-dd-yy).
9. Time:
Use: This Command is used to see the system time of our computer.
Syntax: Time
Example: c:\ > Time Current Time is:
10. Copy:
Use: This Command is used to copying the file from place to another place.
Syntax: Copy source destination.
Example: c:\ > copy C: FYBCA D: SYBCA
11. Del or Erase:
Use: This Command is use to delete or erase your file from particular directory or
drive.
Syntax: DEL c:\<Filename>
Example: D:\DEL c:\FYBCA
12. Move: (External)
Use: This Command use to move files from one directory to another directory or to
rename directory.
Syntax: Move c:\<Filename> c:\<Filename>
Example: D:\> MOVE c:\FYBCA c:\SYBCA.
13. Copy Con:
Use: This Command is used to configure or DOS prompt to your linking $ sign must
be placed.
Syntax: Prompt $ character.
Example: C:\> Prompt $ b o/p
16. DIR/P:
Use: This Command is used to watch all files and press any key then you see
another files (page wise).
Syntax: DIR/P.
Example: C:\> Dir/P
17. DIR/a:
Use: This Command shows all the files with its attributes (Date\Time).
Syntax: C:\> dir/a
18. DIR/w:
Ans: Each file has given a name so that it can be referred later. This name is called
Filename. File name in DOS capable up to 8 characters and extension is capable up to 3
characters long.
We cannot use some character ‘,’, ‘;’, ‘:’, ‘<’, ‘>’, ‘\’, ‘/’ etc.
Ans: 1. Wild card characters are used for select and move multiple file.
i. asterisk ( * )
ii. ?
Example:
DIR *.txt - This command is used to see the list of files with extension txt.
DIR T?.doc - This command is used to see the list of files with maximum 2
character’s name, fist character T and extension doc.
Ans:
A Batch file is a simple text file that contains a series of DOS command.
It can help us to run series of DOS commands without requiring our attention.
When we enter command we can enter only one command at a time.
If command take longtime to finish waiting for DOS to finish can be us.