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

Describe in Detail Essay▾

What is degree of Relationship type?

Edit

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:
  1. Unary
  2. Binary
  3. Ternary.

Unary relationship

Diagram of Unary Relationship
  • The relationship ‘Represents’ is an one-to-many unary relationship.
  • It connects with only one table

Binary relationship:

Diagram of Binary Relationship
  • The relationship ‘Registers’ is a many-to-many Binary relationship.
  • It connects two entity sets.

Ternary relationship:

Diagram of Ternary Relationship
  • The relationship ‘STC’ is a many-to-many Ternary relationship.
  • It link the entity sets student, courses and teacher.

Question 923

Write in Short Short Answer▾

What are the phases of swapping a page from the memory?

Edit

Explanation

Define Swapping
  • 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.