TCS Placement: Sample Questions 260 - 262 of 502

Get unlimited access to the best preparation resource for competitive exams : get questions, notes, tests, video lectures and more- for all subjects of your exam.

Question 260

Edit

Write in Short

Short Answer▾

Interchange 1st & 2nd , 3rd & 4th , and so on, of the words “UNIMPRESSIVE” & then find 10th letter a) to the left b) from the left

Explanation

  • We have to interchange the position of letters of word UNIMPRESSIVE in a pair. Like, change 1st and 2nd letter, change 3rd and 4th letter, and so on.
  • By interchanging letters the word which we will get is NUMIRPSEISEV
  • We are asked to find the 10th letter in this word from right and left.

a) from right (to the left) :

10th letter will be M

b) from left (to the right) :

  • 10th letter will be S

Question 261

Edit

Write in Short

Short Answer▾

Is it possible to initialize a variable at the time it was declared?

Explanation

  • Yes, a separate assignment statement is not required after the variable declaration, unless value is changed later on.
  • For example: char planet [15] = “Earth” does two things:
    • Declares a string variable named planet
    • Initializes it with the value “Earth” .

Question 262

Edit

Describe in Detail

Essay▾

What are the types of transmission media?

Explanation

Signals are transmitted over transmission media broadly classified into two categories.

Guided or Bounded Media

  • Bounded media are made up of external conductor bounded by jacket material.
  • Provides a conduit from one device to another that include twisted-pair, coaxial cable and fiber-optic cable.
  • Signal traveling along any of these media is directed and contained by the physical limits of the medium.
  • Twisted-pair and coaxial cable are metallic and transport signals in the form of electrical current.
  • Optical fiber is a glass or plastic cable that accepts and transports light signals.

Unguided Media

  • Refers to wireless media that transports electromagnetic waves without a physical conductor.
  • Done through radio communication, satellite communication, and cellular telephony.
  • Wireless transmission can be used in both LAN and WAN.
  • Some of them are point-to-point antennas while others are omni-directional antennas.
  • Even satellites act as giant antennas receiving and transmitting signals generated from the earth.
  • Wi-Fi, wi-max, 3g are example wireless networks used for internet communication.
Given the Image is Defining the Transmission Media That Are Classified in to Two Categories

Developed by: