TCS Papers: Sample Questions 217 - 219 of 502

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

Question number: 217

» Languages » C & C Plus Plus

Short Answer Question▾

Write in Short

Which of the following operators is incorrect and why? ( > =, < =, < > , ==)

Explanation

  • ” > =” indicates the operation “greater than or equal to”.

  • ” < =” indicates the operation “less than or equal to”.

  • ” < > ” it doesn’t have any operational meaning. Therefore it is incorrect in the C programming languages.

  • While this operator is correctly interpreted as “not equal to” in writing conditional statements, it is not the proper operator in C programming. Instead, the operator “! =” must be used for “not equal to” condition.

  • “==” this symbol is used to check whether two expressions or numbers are equal or not. Example: (x==2) this expression implies that it checks whether x is equal to 2 or not and proceeds for further operation

Question number: 218

» Basic CS » Networks

Essay Question▾

Describe in Detail

What is passive topology?

Explanation

  • When the computers on the network simply listen and receive signal without changing it (amplifying), they are referred to as passive.

  • For example linear bus

  • Some topologies include two nodes in a hardware cluster. One of these nodes is active, and the other is passive. Active node runs the Oracle Application Server components and handles all the requests. If active node goes down passive node takes over and runs the components.

Image of the passive topology

Image of the Passive Topology

Given the image is define the passive topology

Question number: 219

» Basic CS » Networks

Essay Question▾

Describe in Detail

What is NVT (Network Virtual Terminal)?

Explanation

  • Set of rules defining a very simple virtual terminal interaction used at the start of a Telnet session.

  • The Network Virtual Terminal (NVT) represents basic terminal and provides standard that for connecting computers:

    • Defines how data and commands are sent across the network.

    • Allows interoperability of Telnet with heterogeneous computers.

    • Protocol has virtual keyboard and printer that displays specific characters.

      • Printer responds to incoming data

      • Keyboard produces outgoing data sent over the TELNET connection.

    • Provides bi-directional character device.

  • Based on seven-bit USASCII in an eight-bit field.

The Network Virtual Terminal

The Network Virtual Terminal

Given the image is define the Network Virtual Terminal (NVT)