TCS Papers: Sample Questions 268 - 269 of 502

Examrace Placement Series prepares you for the toughest placement exams to top companies.

Question number: 268

» Languages » C & C Plus Plus

Short Answer Question▾

Write in Short

Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?


  • Placing comment symbols /**/ around a code, also referred to as “commenting out”, is a way of isolating some codes that maybe causing errors in the program, without deleting the code.

  • The idea is, if the code is in fact correct- simply remove the comment symbols and continue on.

  • It also saves time and effort on having to retype the code which was deleted

Question number: 269

» Basic CS » Networks

Essay Question▾

Describe in Detail

What is autonomous system?


  • An autonomous system (AS) is a network or a collection of networks managed and supervised by a single organization.

  • It is a heterogeneous network governed by large enterprise with many subnetworks having combined routing logic and policies.

  • Each subnetwork has unique 16 digit identification number (AS number or ASN) by the Internet Assigned Numbers Authority (IANA).

  • Introduced to regulate organizations such as Internet service providers (ISP), educational institutions, and government bodies under a single entity for easy management.

  • Large enterprises have large network infrastructures with many smaller networks, dispersed geographically but connected using a similar operating environment.

  • Border Gateway Protocol (BGP) is the protocol that addresses the routing of packets among different autonomous systems to connect them.

  • BGP uses the ASN to uniquely identify each system. This is particularly important when routing and managing routing tables for external networks or autonomous systems around their borders.

  • Autonomous systems numbered one to are available by IANA/ARIN (IANA/American Registry for Internet Numbers) for global use.

  • The series is reserved for private and reserved purposes.

Autonomous system

Autonomous System

Given the image is define the autonomous system