Technology Questions

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 2207
Q:

What is .NET Framework?

Answer

.NET Framework is a complete environment that allows developers to develop, run, and deploy the following applications:

 => Console applications
 => Windows Forms applications
 => Windows Presentation Foundation (WPF) applications
 => Web applications (ASP.NET applications)
 => Web services
 => Windows services
 => Service-oriented applications using Windows Communication Foundation (WCF)
 => Workflow-enabled applications using Windows Workflow Foundation (WF)

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

0 2207
Q:

Can you access non static variable in static context ?

Answer

A static variable in Java belongs to its class and its value remains the same for all its instances. A static variable is initialized when the class is loaded by the JVM. If your code tries to access a non-static variable, without any instance, the compiler will complain, because those variables are not created yet and they are not associated with any instance.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2207
Q:

Explain about services in Angular.js ?

Answer

In angular.js services are the singleton objects or functions that are used for carrying out specific tasks.
It holds some business logic and these function can be called as controllers, directive, filters and so on.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

4 2206
Q:

What exactly do you mean by UDP?

Answer

UDP (User Datagram Protocol) is a communications protocol that offers a limited amount of service when messages are exchanged between computers in a network that uses the Internet Protocol (IP).

Report Error

View answer Workspace Report Error Discuss

0 2205
Q:

What is Constructors and Destructors?

Answer

CONSTRUCTOR : PHP allows developers to declare constructor methods for classes. Classes which have a constructor method call this method on each newly-created object, so it is suitable for any initialization that the object may need before it is used.

DESTRUCTORS : PHP 5 introduces a destructor concept similar to that of other object-oriented languages, such as C++. The destructor method will be called as soon as all references to a particular object are removed or when the object is explicitly destroyed or in any order in shutdown sequence.

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 2205
Q:

How to set cookies in PHP?

Answer

The function setcookie() is used to define a cookie that is to be sent along with HTTP headers. The cookie must be sent prior to any output from the script as is the protocol restriction. After setting the cookies, they can be used when the next page is loaded by using $_COOKIE or $HTTP_COOKIE_VARS arrays.

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 2205
Q:

HTML 5 provides drag and drop facility. How do you make an image draggable?

Answer

To make an image draggable, the draggable attribute is set to true:


<img draggable="true">

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 2204