• 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

UNIX interview questions and answers for freshers Page 5

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: 7FirstPrev1234567NextLast
Advertisements

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

Q. What are the entities that are swapped out of the main memory while swapping the process out of the main memory?

A. All memory space occupied by the process, process's u-area, and Kernel stack are swapped out, theoretically. Practically, if the process's u-area contains the Address Translation Tables for the process then Kernel implementations do not swap the u-area.

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

(#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
Advertisements

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

Q. Is the Process before and after the swap are the same? Give reason.

A. Process before swapping is residing in the primary memory in its original form. The regions (text, data and stack) may not be occupied fully by the process, there may be few empty slots in any of the regions and while swapping Kernel do not bother about the empty slots while swapping the process out.
After swapping the process resides in the swap (secondary memory) device. The regions swapped out will be present but only the occupied region slots but not the empty slots that were present before assigning.
While swapping the process once again into the main memory, the Kernel referring to the Process Memory Map, it assigns the main memory accordingly taking care of the empty slots in the regions.

Asked In UNIX MAN (12 years ago)
Unsolved
Is this Puzzle helpful?   (2)   (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

(#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

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

Q. What is a Map?

A. A Map is an Array, which contains the addresses of the free space in the swap device that are allocatable resources, and the number of the resource units available there

Asked In UNIX MAN (12 years ago)
Unsolved Read Solution (1)
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
Keep an EYE (0)
Solved Question (0) UnSolved Question (70)
Pages: 7FirstPrev1234567NextLast
  • Login
  • Register

Resend

Sponsored Links

Advertisements

Challenger of the Day

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

Maths Quotes

If there is a God, he's a great mathematician.

Paul Dirac

A man has one hundred dollars and you leave him with two dollars. That's subtraction.

Mae West

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