3i Infotech Papers: Sample Questions 755 - 757 of 1245

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

Question number: 755

» Basic CS » Networks

Short Answer Question▾

Write in Short

What do you meant by “triple X” in Networks?

Explanation

  • The function of packet assembler and disassembler (PAD) is described in a document known as X. 3.

  • The standard protocol defined between the terminal and PAD is called X. 28;

  • Another protocol exists between PAD and the network called X. 29.

  • These three recommendations are often called “triple X”.

  • Used to connect a dumb terminal to X. 25 network.

Question number: 756

» Operating System » Unix

Essay Question▾

Describe in Detail

What do you mean by nice value?

Explanation

  • Nice value is the value that controls the priority of the process.

  • Value is returned by the nice () system call.

  • The equation for using nice value is Priority= (“recent CPU usage”/constant) + (base-prriority) + (nice value)

  • Only the administrators can supply the nice value.

  • The nice () system call works for the running process only.

  • Nice value of one process cannot affect the nice value of the other process.

  • It is an integer value between 0 and 39.

  • The default nice value is 20.

  • Increasing this value decreases the priority.

Question number: 757

» Database » MySQL

Short Answer Question▾

Write in Short

What is the output of the following query?

SELECT TRUNC (1234.5678, -2) FROM DUAL;

Explanation

  • Output is ‘1200’.

  • This negative number in truncate would remove the digits before decimal point and replace it.

  • If the negative parameter is passed under TRUNC function truncation will be done below decimal place i. e.

    • -1 means trunc to 10th (1234 becomes 1230)

    • -2 means trunc to 100th (1234 becomes 1200)

    • -3 means trunc to 1000th (1234 becomes 1000)