3i Infotech Papers: Sample Questions 1032 - 1034 of 1245

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

Question number: 1032

» Basic CS » Operating System

Short Answer Question▾

Write in Short

Reorders of

Explanation

Step 1

Step 2

Step 3

Step 4

So, correct answer

Question number: 1033

» Languages » Assembly Language

MCQ▾

Question

To send a data packet using datagram, connection will be established

Choices

Choice (4) Response

a.

no connection is required.

b.

before data transmission.

c.

connection is not established before data transmission.

d.

All of the above

Answer

a.

Explanation

  • To send a data packet using datagram no connection is required.

  • User datagram protocol allows an application to send data packet with a low overhead in some important standards.

  • Datagram sends and receives data packets like TCP without any connection

  • Datagram is routed and send individually with no guarantee of delivery.

  • To send and receive datagrams an appropriate socket is required – for example an instance of the java. net. DatagramSocket class.

Question number: 1034

» Languages » Java

Essay Question▾

Describe in Detail

Why java is considered as platform independent?

Explanation

Understanding of java independent program.

Understanding of Java Independent Program.

Understanding of java independent program.

  • Platform independence means that java source code can run on all operating systems.

  • Java code is written in human readable language.

  • A compiler (JIT) converts source code into executable code.

  • Java converts the source code into intermediate representation that is interpreted by virtual machine.

  • Intermediate representation in java is the java byte code.