3i Infotech Placement: Sample Questions 132 - 134 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 132

Edit

Describe in Detail

Essay▾

What is IGP (Interior Gateway Protocol) ?

Explanation

Understanding of IGP
  • IGP is a protocol for exchanging routing information between gateways within an autonomous network.
  • This information is then used by the internet protocol or other network protocols to route transmissions.

Two commonly used IGP:

  • Routing Information protocol
  • Open shortest path first protocol

Types of IGP:

  • Distance-Vector Routing Protocol
    • Uses the Bellman -Ford algorithm.
    • Example RIP, INTERIOR Gateway Routing Protocol and Enhanced Interior Gateway Routing Protocol.
  • Link-State Routing Protocol:
    • Used to construct connectivity maps.
    • Access all network topology data via the routing table.
Types of IGP in Image

Question 133

Edit

Write in Short

Short Answer▾

What are the conditions that have to be met for a condition to be an invariant of the class?

Explanation

  • The condition should hold at the end of every constructor.
  • The condition should hold at the end of every mutator (non-const) operation.

Question 134

Edit

Describe in Detail

Essay▾

Why there are some null interfaces in java? What does it mean? Give some null interface in JAVA?

Explanation

  • Null interfaces (or marker interfaces) mark the class that implements them.
  • When the JVM looks at a class it allows it to call certain methods based on markers.
  • All classes which inherit a class are able to call its methods.
  • However like virtual classes in C ++ all the functions of marker or null interface have to be implemented.

Some null interface in java:

Null Interface in Java

Developed by: