Basic CS [3i Infotech Placement]: Sample Questions 137 - 138 of 243

Glide to success with Doorsteptutor material for competitive exams : get questions, notes, tests, video lectures and more- for all subjects of your exam.

Question 137

Edit

Describe in Detail

Essay▾

What are the advantages of using typedef in a program?

Explanation

Understanding of Typedefination
  • Typedef is a reserved keyword in the C and C ++ programming languages.
  • Creates an alias name for another data type.
  • Used to simplify the syntax of declaring complex data structures consisting of struct and union types
  • Also used to provide specific descriptive type names for integer data types of varying lengths.

Question 138

Basic CS
Edit

Describe in Detail

Essay▾

What is BGP (BORDER Gateway Protocol) ?

Explanation

Understanding of Border Gateway Protocol
  • BGP manages routing of packets across the internet through the exchange of routing and reachability information between routers.
  • It directs packets between autonomous system networks managed by a signal enterprise or service provider.
  • Described as a reachability protocol rather than a routing protocol.
  • It is a Path Vector Protocol maintaining paths to different hosts, networks and gateway routers- determining routing decision based on that.

Role of BGP:

  • It is Path Vector Protocol- communicating entire autonomous system path topology to other networks.
  • Maintains routing table with topologies of all externally connected networks.
  • Allows classless interdomain routing allocating IP addresses to connected internet devices.
  • Created to extend Exterior Gateway Protocol.

Developed by: