image

Solution of Assignment Synopsis & Project Dissertation Report


Note: ⇩    Fill the Name, Email and Mobile to get unlock the priclist...!!!!



Online-Typing-and-Filling

Title Name Amity Solved Assignment Basics of OS (UNIX LINUX and Shell Programming
University AMITY
Service Type Assignment
Course B.Sc-(IT)
Semester Semester-V Course: B.Sc-(IT)
Session
Short Name or Subject Code Basics of OS (UNIX LINUX and Shell Programming)
Commerce line item Type Semester-V Course: B.Sc-(IT)
Product Assignment of B.Sc-(IT) Semester-V (AMITY)
Price

PRICE INR

Click to View Price
Download Question File
Download Answer File 582721386549.docx (Purchase the product for download...!!!)

Questions:-


Assignment A

  1. Discuss the features of UNIX operating system that have made them such phenomenally successful Operating systems

Ans1-

  1. What is shell programming? Write a shell program to print all the contents of an existing text file in upper case

Ans2- 

  1. Describe what the grep command does? Illustrate its use with an original example.

Ans3-

  1. Write a shell program to generate the first “n” terms of the following sequence without using multiplication.

        1 2 4 8 16 32………

Ans4-

  1. What are filters? Give some examples of commands that can be used as filters

Ans5-

  1. What are the different kinds of file systems available to UNIX operating system.

Ans6-

  1. Write shell programs for the following:

i    To find second largest number among the 5 numbers given.

  1. To find sum of all the alternate digits in a given 7 digit number.

iii. To count number of vowels in a given string.

  1. To take 2 strings as input, concatenate them and display the length of the resultant string.
  2. To display the reverse of a given number.

Ans7

  1. 1. Write the UNIX commands for the following
  2. i) To display the sizes and names of the six largest files in /bin, listed in descending order of their size.
  3. ii) To display the number of words in the last 250 lines of any file.

iii)            To display the name of the oldest file (and only the oldest file) in the current working directory.

  1. iv) To show the number of all files and directories (including hidden ones, but not. or.) in the directory /bin.
  2. v) Use the ps command, and the grep command, in a pipeline to find all the processes owned by you.

Ans8-

Assignment B

  1. What is an i-node and what information is contained in it? Describe how named files are mapped to i-nodes.

Ans1- 

  1. How is the information associating disc blocks with i-nodes represented?

Ans2-

  1. What restrictions are placed on name to i-node links to simplify file system recovery?

Ans3-

Assignment C

  1. UNIX uses ls to list files in a directory. The corresponding command in MS environment is--

Options          

  1. lf
  2. list
  3. dir
  4. None of above

Ans- dir

  1. A file with extension .txt--

Options          

  1. Is a text file created using vi editor
  2. Is a text file created using a notepad
  3. Is a text file created using word
  4. & b) above

Ans- Is a text file created using a notepad    

  1. What is POSIX?

Options          

  1. A standard operating system interface and environment
  2. A version of the UNIX operating system.
  3. A portable platform for Java programming
  4. A subsystem of Windows NT, 2000 and XP that isolates the Executive from

Ans- A standard operating system interface and environment

  1. Which of the following files in the current directory are identified by the regular expression a?b*.

Options          

  1. afile
  2. aab
  3. abb
  4. abc

Ans- aab, abb

  1. For some file the access permissions are modified to 764. Which of the following interpretation are valid?

Options          

  1. Every one can read, group can execute only and the owner can read and write.
  2. Every one can read and write, but owner alone can execute.
  3. Every one can read, group including owner can write, owner alone can execute
  4. None of above

Ans- Every one can read, group including owner can write, owner alone can execute

  1. The file’s properties in Windows environment include which amongst the following?

Options          

  1. File owners’ name
  2. File size
  3. The date of last modification
  4. Date of file creation

Ans- Date of file creation, file size, the date of last modification     

  1. Which of the following information is contained in inode structure?

Options          

  1. The file size
  2. The name of the owner of the file
  3. The access permissions for the file
  4. All the dates of modification since the file’s creation

Ans- All the dates of modification since the file’s creation

  1. What are utilities?

Options          

  1. Peripherals that are connected to a computer.
  2. Operating system routines that execute in supervisor mode.
  3. Data structures that are part of the kernel of an operating system
  4. Shells, compilers and other useful system programs.

Ans- Operating system routines that execute in supervisor mode

  1. Which directory under the root contains the information on devices?

Options          

  1. /usr/bin
  2. /usr/sbin
  3. /usr/peripherals/dev
  4. /etc/dev

Ans- /usr/bin

  1. What is the command ‘mv’ used for in Unix?

Options          

  1. To display the files in current directory
  2. To rename a file
  3. To move to a different directory
  4. To open a file in the Main Viewer

Ans- To move to a different directory, to rename a file

  1. What is the result of typing the command pwd?

Options          

  1. It allows you to change the password
  2. allows you to enter your password to log in
  3. It will display the name of your computer
  4. It will show your current location in the file system

Ans- It will show your current location in the file system

  1. Which unix command will display all files starting with an a?

Options          

  1. mv a*
  2. cd
  3. ls
  4. ls a*

Ans- ls a*

  1. Unix Operating System is--

Options          

  1. Time Sharing Operating System
  2. Multi-User Operating System
  3. Multi-tasking Operating System
  4. All the Above

Ans- All the Above

  1. The program is known as _________ that interacts with the inner part of called kernel.

Options          

  1. Compiler
  2. Device Driver
  3. Protocol
  4. Shell

Ans- Shell

  1. Identify the odd thing in the services of operating system--

Options          

  1. Accounting
  2. Protection
  3. Error detection and correction
  4. None of above

Ans-Error detection and correction

  1. Dead lock handling in ______ OS, the response time is very critical.

Options          

  1. Multitasking
  2. Batch
  3. Online
  4. Real-time

Ans- Real-time

  1. Software is a program that directs the overall operation of the computer facilitates its use and interacts with the user. What are the different types of such software?

Options          

  1. Operating system
  2. Language Compiler
  3. Utilities
  4. All of the above

Ans- All of the above

  1. PCB stands for--

Options          

  1. Program Control Block
  2. Process Control Block
  3. Process Communication Block
  4. None of the above

Ans- Process Control Block  

  1. The primary job of the operating system of a computer is to--

Options          

  1. Command Resources
  2. Manage Resources
  3. Provide Utilities
  4. Be user friendly

Ans- Manage Resources

  1. Super computers typically employ--

Options          

  1. Real time Operating system
  2. Multiprocessors OS
  3. Desktop OS
  4. None of the above

Ans- Multiprocessors OS

  1. Which one of the following statements correctly describes the relationship between the processes and programs in a computer system at any given moment?

Options          

  1. Every program stored in secondary memory must be associated with a process.
  2. A different program must be associated with every process.
  3. Several programs may be associated with the same process.
  4. Several processes may be associated with the same program.

Ans- Several processes may be associated with the same program.

  1. Multiprogramming systems --

Options          

  1. Are easier to develop than single programming systems
  2. Execute each job faster
  3. Execute more jobs in the same time
  4. Are used only on large main frame computers

Ans- Execute more jobs in the same time     

  1. Multiprocessing--

Options          

  1. Make the operating system simpler
  2. Allows multiple processes to run simultaneously
  3. Is completely understood by all major computer vendors
  4. Allows the same computer to have the multiple processors

Ans- Allows the same computer to have the multiple processors     

  1. Which is not the state of the process?

Options          

  1. Blocked
  2. Running
  3. Ready
  4. Privileged

Ans- Privileged

  1. The operating system of a computer serves as a software interface between the user and the-

Options          

  1. Hardware
  2. Peripheral
  3. Memory
  4. Screen

Ans- Hardware

  1. A process is--

Options          

  1. Program in execution
  2. A concurrent program
  3. Any sequential program
  4. Something Which Prevents Deadlock

Ans- Program in execution    

  1. The kernel of the operating system remains in the primary memory because--

Options          

  1. It is mostly called (used)
  2. It manages all interrupt calls
  3. It controls all operations in process
  4. It is low level

Ans- It is mostly called (used)           

  1. Which of the following statement is not true?

Options          

  1. Multiprogramming implies multitasking
  2. Multi-user does not imply multiprocessing
  3. Multitasking does not imply multiprocessing
  4. Multithreading implies multi-user

Ans- Multithreading implies multi-user

  1. The term “Operating System " means--

Options          

  1. A set of programs which controls computer working
  2. The way a computer operator works
  3. Conversion of high-level language in to machine level language
  4. The way a floppy disk drive operates

Ans- A set of programs which controls computer working

  1. What is a shell?

Options          

  1. It is a hardware component
  2. It is a command interpreter
  3. It is a part in compiler
  4. It is a tool in CPU scheduling

Ans- It is a command interpreter

  1. The operating system manages--

Options          

  1. Memory
  2. Processor
  3. Disk and I/O devices
  4. All of the above

Ans- All of the above

  1. chown means--

Options          

  1. Changes the mode of operation to kernel mode
  2. Creates a thread
  3. Changes the users and/or group ownership of each given file
  4. Creates a child process

Ans- Changes the users and/or group ownership of each given file

  1. The process which terminates before the parent process exits, is called as--

Options          

  1. Zombie
  2. Orphan
  3. Child
  4. None of above

Ans-child

  1. Identify the point(s) that is not true w.r.t. signals--

Options          

  1. Signals are software generated interrupts that are sent to a process when an event happens
  2. Signal delivery is analogous to hardware interrupts in that a signal can be blocked from being delivered in the future.
  3. Most signals are synchronous by nature.
  4. Most signal cause termination of the receiving process if no action is taken by the process in response to the signal

Ans- Most signals are synchronous by nature.

  1. ---------Works as a command interpretor.

Options          

  1. Hardware
  2. Kernal
  3. Shell
  4. CPU

Ans-Shell

  1. An important task that the operating system performs is____, which keeps track of the files stored on a PC so that they can be retrieved when needed

Options          

  1. File management
  2. File listing
  3. File recovery
  4. Disk management

Ans-File management

  1. The means by which an operating system or any other program interacts with the user is called--

Options          

  1. user login
  2. program front-end
  3. user interface
  4. programming interface

Ans- user interface

  1. ---------- was originally developed at AT&T Bell Labs as an operating system

Options          

  1. Linux
  2. Solaris
  3. Mac OS X
  4. UNIX

Ans-UNIX

  1. For multiprogramming systems, most UNIX operating systems use--

Options          

  1. Swapping
  2. Demand paging
  3. Either (a) or (b)
  4. Neither (a) nor (b)

Ans- Either (a) or (b)

  1. What are the tasks of an Operating System?

Options          

  1. To manage all hardware and software resources
  2. To Allow creation of documents, images and music
  3. To provide a user interface
  4. All of the above

Ans- All of the above

Solve by www.solvezone.in contact for more detail - 8882309876


Questions:-



Only after making the payment you would be able to see the answer...!!!

Review

Average user rating

4.8 / 5

Rating breakdown

5
80% Complete (danger)
1
4
80% Complete (danger)
1
3
80% Complete (danger)
0
2
80% Complete (danger)
0
1
80% Complete (danger)
0

January 29, 2015
This was nice in buy
Assignment from solve zone is probably one of the first preference of students.

January 29, 2015
This was nice in buy
Assignment from solve zone is probably one of the first preference of students.

09-Apr, 2018
This was nice in buy
Assignment from solve zone is probably one of the first preference of students.