• Result
  • Today's Puzzle
    • Previous Puzzles
    • Prize & Rules
  • Discussion Board
    • Suggestion Board
    • Trending Articles
  • Maths Tricks
  • Placement Papers
    • Placement Questions
    • Interview Experience
    • Placed user Comment
    • Group Discussion
  • English APP
  • login
  • Result
  • Today's Puzzle
    • Previous Puzzles
    • Prize & Rules
  • Discussion Board
    • Suggestion Board
    • Trending Articles
  • Maths Tricks
  • Placement Papers
    • Placement Questions
    • Interview Experience
    • Placed user Comment
    • Group Discussion
  • Walkins
    • Corporate Job Exam
    • Government Job Exam
    • Entrance Exam
  • Training
    • Internship
  • Placement Questions
  • /
  • UNIX

Frequently Asked UNIX interview questions and answers for freshers Page 6

UNIX Select Another Category Select Another Topic

Programming and Technical

  • Android 118
  • ASP.NET 60
  • C 459
  • C++ 448
  • DATA STRUCTURE 66
  • DBMS 77
  • ELECTRONICS 39
  • Java 261
  • OOPs Concepts 117
  • Operating Syst 103
  • RDBMS 109
  • UNIX 70

UNIX Question Topics

    HR Interview (1)

  • Interview (1)
  • Logical Reasoning (2)

  • Blood Relations (1)
  • Mathematical Reasoning (1)
  • Programming (6)

  • Basics (1)
  • Technical (2)
Keep an EYE (0)
Solved Question (0) UnSolved Question (70)
Pages: 7FirstPrev234567NextLast
Advertisements

(#M40029537) UNIX QUESTION unix Keep an EYE Keep an eye puzzle Keep an eye puzzle

Q. What do you mean by u-area (user area) or u-block?

A. This contains the private data that is manipulated only by the Kernel. This is local to the Process, i.e. each process is allocated a u-area.

Asked In UNIX MAN (12 years ago)
Unsolved
Is this Puzzle helpful?   (0)   (0) Submit Your Solution

(#M40029535) UNIX QUESTION unix Keep an EYE Keep an eye puzzle Keep an eye puzzle

Q. What are the events done by the Kernel after a process is being swapped out from the main memory?

A. When Kernel swaps the process out of the primary memory, it performs the following:
Kernel decrements the Reference Count of each region of the process. If the reference count becomes zero, swaps the region out of the main memory,
Kernel allocates the space for the swapping process in the swap device,
Kernel locks the other swapping process while the current swapping operation is going on,
The Kernel saves the swap address of the region in the region table

Asked In UNIX MAN (12 years ago)
Unsolved
Is this Puzzle helpful?   (0)   (0) Submit Your Solution
Advertisements

(#M40029534) UNIX QUESTION unix Keep an EYE Keep an eye puzzle Keep an eye puzzle

What is a Region?

Asked In UNIX MAN (12 years ago)
Unsolved
Is this Puzzle helpful?   (0)   (0) Submit Your Solution

(#M40029533) UNIX QUESTION unix Keep an EYE Keep an eye puzzle Keep an eye puzzle

Q. What scheme does the Kernel in Unix System V follow while choosing a swap device among the multiple swap devices?

A. Kernel follows Round Robin scheme choosing a swap device among the multiple swap devices in Unix System V.

Asked In UNIX MAN (12 years ago)
Unsolved
Is this Puzzle helpful?   (0)   (0) Submit Your Solution

(#M40029531) UNIX QUESTION unix Keep an EYE Keep an eye puzzle Keep an eye puzzle

Q. What is the main goal of the Memory Management?

A. It decides which process should reside in the main memory,
Manages the parts of the virtual address space of a process which is non-core resident,
Monitors the available main memory and periodically write the processes into the swap device to provide more processes fit in the main memory simultaneously.

Asked In UNIX MAN (12 years ago)
Unsolved
Is this Puzzle helpful?   (0)   (0) Submit Your Solution

(#M40029529) UNIX QUESTION unix Keep an EYE Keep an eye puzzle Keep an eye puzzle

Q. What is the difference between Swapping and Paging?

A.
Swapping-:
Whole process is moved from the swap device to the main memory for execution. Process size must be less than or equal to the available main memory. It is easier to implementation and overhead to the system. Swapping systems does not handle the memory more flexibly as compared to the paging systems.
Paging-:
Only the required memory pages are moved to main memory from the swap device for execution. Process size does not matter. Gives the concept of the virtual memory.
It provides greater flexibility in mapping the virtual address space into the physical memory of the machine. Allows more number of processes to fit in the main memory simultaneously. Allows the greater process size than the available physical memory. Demand paging systems handle the memory more flexibly.

Asked In UNIX MAN (12 years ago)
Unsolved
Is this Puzzle helpful?   (0)   (0) Submit Your Solution

(#M40029530) UNIX QUESTION unix Keep an EYE Keep an eye puzzle Keep an eye puzzle

Q. What is major difference between the Historic Unix and the new BSD release of Unix System V in terms of Memory Management?

A. Historic Unix uses Swapping entire process is transferred to the main memory from the swap device, whereas the Unix System V uses Demand Paging only the part of the process is moved to the main memory. Historic Unix uses one Swap Device and Unix System V allow multiple Swap Devices

Asked In UNIX MAN (12 years ago)
Unsolved
Is this Puzzle helpful?   (0)   (0) Submit Your Solution

(#M40029528) UNIX QUESTION unix Keep an EYE Keep an eye puzzle Keep an eye puzzle

Q. What is IPC? What are the various schemes available?

A. The term IPC (Inter-Process Communication) describes various ways by which different process running on some operating system communicate between each other. Various schemes available are as follows:
Pipes:
One-way communication scheme through which different process can communicate. The problem is that the two processes should have a common ancestor (parent-child relationship). However this problem was fixed with the introduction of named-pipes (FIFO).
Message Queues :
Message queues can be used between related and unrelated processes running on a machine.
Shared Memory:
This is the fastest of all IPC schemes. The memory to be shared is mapped into the address space of the processes (that are sharing). The speed achieved is attributed to the fact that there is no kernel involvement. But this scheme needs synchronization.
Various forms of synchronisation are mutexes, condition-variables, read-write locks, record-locks, and semaphores.

Asked In UNIX MAN (12 years ago)
Unsolved
Is this Puzzle helpful?   (0)   (0) Submit Your Solution

(#M40029527) UNIX QUESTION unix Keep an EYE Keep an eye puzzle Keep an eye puzzle

Q. How do you execute one program from within another?

A. The system calls used for low-level process creation are execlp() and execvp(). The execlp call overlays the existing program with the new one , runs that and exits. The original program gets back control only when an error occurs.
execlp(path,file_name,arguments..); //last argument must be NULL
A variant of execlp called execvp is used when the number of arguments is not known in advance.
execvp(path,argument_array); //argument array should be terminated by NULL

Asked In UNIX MAN (12 years ago)
Unsolved
Is this Puzzle helpful?   (0)   (0) Submit Your Solution

(#M40029526) UNIX QUESTION unix Keep an EYE Keep an eye puzzle Keep an eye puzzle

Q. What is an advantage of executing a process in background?

A. The most common reason to put a process in the background is to allow you to do something else interactively without waiting for the process to complete. At the end of the command you add the special background symbol, &. This symbol tells your shell to execute the given command in the background.
Example: cp *.* ../backup& (cp is for copy)

Asked In UNIX MAN (12 years ago)
Unsolved
Is this Puzzle helpful?   (0)   (0) Submit Your Solution
Keep an EYE (0)
Solved Question (0) UnSolved Question (70)
Pages: 7FirstPrev234567NextLast
  • Login
  • Register

Resend

Sponsored Links

Advertisements

Challenger of the Day

no image
Dimple
India
Punjab
Time: 00:01:33
Points
19

Maths Quotes

There is something I don't understand about algebra: It has been around for thousands of years, yet no one has ever found out what the value of "x" or "y" really is.

Richard van der Merwe

MATHEMATICS have Strong Heart! So only, it will face so many "PROBLEMS"!!

Vignesh R (India)

Placed User Comments

M4Math helped me a lot.

Vipul Chavan 5 years ago

Thanks m4 maths for helping to get placed in several companies.
I must recommend this website for placement preparations.

yash mittal 5 years ago

Now enjoy Offline Access of latest Question.

Get M4maths app to avail expert's solution and latest selected questions.

Download m4maths app now

  • 2533K+Registerd user
  • 1774K+Engineers
  • 759K+MBA Asprirant
  • 3K+Enginnering College
  • 250+Company Exam
  • 150K+Interview Questions
  • Site Links
  • Home
  • Result
  • Today's Puzzle
  • Discussion Board
  • Maths Tricks
  • Advertise with us
  • Contact Us
  • Useful Info
  • Maths Quotes
  • Previous Puzzles
  • Prize
  • Privacy Policy
  • Disclaimer and Copyright
  • Terms and Conditions
  • Sitemap
  • Placement papers
  • TCS Placement Paper
  • HCL Placement Paper
  • INFOSYS Placement Paper
  • IBM Placement Paper
  • SYNTEL Placement Paper
  • TECHNICAL Interview
  • HR Interview
All rights are reserved to @m4maths.com