3i Infotech Papers: Sample Questions 179 - 180 of 1245

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

Question number: 179

» Basic CS » Networks

Short Answer Question▾

Write in Short

What is difference between baseband and broadband transmission?


Difference between baseband and broadband

Difference between baseband and broadband



Digital signal are used

Analog signals are used

Frequency division multiplexing is not possible

Frequency division multiplexing is possible

Bi-directional transmission

Transmission is unidirectional

Short distance signal travelling

Signal travelling distance is long

Entire bandwidth of the cable is consumed by a single signal.

The signals are sent on multiple frequencies- multiple signals are sent simultaneously.

Question number: 180

» Languages » C & C Plus Plus

Essay Question▾

Describe in Detail

Define precondition and post-condition to a member function.


Precondition: A precondition is a condition that must be true on entry to a member function.

  • If a class is used correctly- preconditions are never false.

  • For example, the interface invariants of stack class say nothing about pushing another element on full stack.

  • Thus! isful () is a precondition of the push operation.

Precondition example

Precondition Example

Define the java basic precondition example

Post-Condition: A post-condition is a condition that must be true on exit from a member function if the precondition was valid on entry to that function.

  • A class is implemented correctly if post-conditions are never false.

  • For example, after pushing an element on the stack, we know that! isempty () must necessarily hold- a post-condition of the push operation.

Post condition example

Post Condition Example

Define the example of post condition in loop