Interview Questions

Q:

What is String Args in Java?

Answer

String Args (String []) is an array of parameters of type String.


In Java, 'args' contains the supplied command-line arguments as an array of String objects. In other words, if you run your program as 'java MyProgram Hello World' then 'args' will contain ["Hello", "World"]. When a java class is executed from the console, the main method is what is called.

Report Error

View answer Workspace Report Error Discuss

9 2560
Q:

What are the different types of components involved in URI?

Answer

URI is known as Uniform Resource Identifier as it identifies the resources requested by clients and fetches them from the server. 


The components that are used in URI are as follows:


- http: is the first thing that is used in a URL and it is used to tell what kind of resource that needs to be retrieved over the server.


 This includes the server details and it is itself a protocol known as Hypertext Transfer Protocol (HTTP) that is used to fetch the information. 


- Web browsers sometimes use the secure protocol that is represented using HTTPs used in case of secure transaction over the internet. 


- FTP: is also a protocol that is known as File Transfer Protocol that allows the transfer from a file from local computer to server

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 2558
Q:

How do you sort in a COBOL program? Give sort file definition, sort statement syntax and meaning.

Answer

Syntax:


SORT   file-1 ON ASCENDING/DESCENDING KEY key....


USING  file-2


GIVING file-3.


 


USING can be substituted by INPUT PROCEDURE IS para-1 THRU para-2


GIVING can be substituted by OUTPUT PROCEDURE IS para-1 THRU para-2.


 


file-1 is the sort workfile and must be described using SD entry in FILE SECTION.


file-2 is the input file for the SORT and must be described using an FD entry in FILE SECTION and SELECT clause in FILE CONTROL.


file-3 is the outfile from the SORT and must be described using an FD entry in FILE SECTION and SELECT clause in FILE CONTROL.


file-1, file-2 & file-3 should not be opened explicitly.


 


INPUT PROCEDURE is executed before the sort and records must be RELEASEd to the sort work file from the input procedure.


OUTPUT PROCEDURE is executed after all records have been sorted. Records from the sort work file must be RETURNed one at a time to the output procedure.

Report Error

View answer Workspace Report Error Discuss

0 2557
Q:

What’s the difference between include and require?

Answer It’s how they handle failures. If the file is not found by require(), it will cause a fatal error and halt the execution of the script. If the file is not found by include(), a warning will be issued, but execution will continue.
Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 2557
Q:

What is multicast?

Answer

To send data/info to group of computers using same network

Report Error

View answer Workspace Report Error Discuss

0 2556
Q:

What is Internal marketing?

Answer

Internal marketing is the process of motivating and empowering the employees of a company to work as a team for the overall well-being of the customers and thereby the company itself. This is actually the core to succes of a company. A harmonised effort  within the company is an utmost necessity to provide customers with services at a desired level. If a firm doesn't deliver the service it promises in its marketing campaign, it will fail for sure. And it only can keep that promise when all of its employees at all levels realise what actually it is going to deliver. 

Report Error

View answer Workspace Report Error Discuss

0 2555
Q:

What is Benchmarking?

Answer

Benchmarking is the process of comparing one's business proceses and performance metrics to industry bests or best practices from other industries. Dimensions typically measured are quality, time and cost.

Report Error

View answer Workspace Report Error Discuss

0 2553
Q:

What is the difference between TCP and UDP?

Answer

TCP-Transmission Control Protocol


UDP- user Datagram protocol


UDP is user assisted program and converts the application into the encapsulated form and makes it end point for data to send and then TCP helps in transmission or broadcast!

Report Error

View answer Workspace Report Error Discuss

0 2551