3i Infotech Placement: Sample Questions 922 - 923 of 1245
Glide to success with Doorsteptutor material for competitive exams : get questions, notes, tests, video lectures and more- for all subjects of your exam.
Question 922
Explanation
- Degree of relationship is the number of entity sets that are participated in that relationship.
- The number of entity sets that are connected through the relationship in question is called the degree of relationship.
- Based on the degree, the relationship may be identified as:
- Unary
- Binary
- Ternary.
Unary relationship
- The relationship ‘Represents’ is an one-to-many unary relationship.
- It connects with only one table
Binary relationship:
- The relationship ‘Registers’ is a many-to-many Binary relationship.
- It connects two entity sets.
Ternary relationship:
- The relationship ‘STC’ is a many-to-many Ternary relationship.
- It link the entity sets student, courses and teacher.
Question 923
Explanation
- The eligibility for swapping a page is found by the page stealer which puts the eligible pages in a list of pages.
- The page is copied by the kernel to a swap device and the valid bit in the page table entry is cleared.
- The data reference count is also decremented and the data table entry is placed at the end of the free list in case its reference count is 0.