3i Infotech Papers: Sample Questions 1018 - 1020 of 1245

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

Question number: 1018

» Languages » Java

Essay Question▾

Describe in Detail

What is thread?

Explanation

Understanding of thread process.

Understanding of Thread Process.

Understanding of thread process.

  • A thread is a single sequential flow of control within a program- that is the path of executing a program (through control statements).

  • Java programs have least one main thread created by the java virtual machine (JVM) at the program’s start. This thread calls the main () method.

  • Creating a thread is accomplished by implementing an interface and extending a class.

  • Multi-threaded applications allow multiple thread execution simultaneously.

  • A single-threaded application executes only one thread at a time- for example a single- threaded application may allow only typing of words.

Question number: 1019

» Languages » Java

Essay Question▾

Describe in Detail

Why is java not 100 % pure oops?

Explanation

  • Pure object oriented language support features, which treats element inside program as objects.

  • C language uses primitive types such as int, char, Boolean but C is not object oriented language.

  • Java however also entertains primitive type object.

  • Java also does not support multiple & multi-level inheritance.

  • There are seven qualities to satisfy for a programming language to pure object oriented.

They are:

Programming language

Programming Language

Programming language

Question number: 1020

» Languages » Java

Essay Question▾

Describe in Detail

What is middleware? What is the functionality of web server?

Explanation

  • The software that connects network requests by a client to the back-end data is called middleware.

  • That is some software that “glues together” separate, complex and existing programs.

  • For example, middleware can use remote software and cloud service. Cloud providers thus bundle middleware into cloud services suites.

Functionality of Web Server

  • A computer where the web content is stored.

  • Hosts websites but also used for gaming, storage, FTP, email etc.