Question 1. What All Items Aidl Supports In Case Of Website Builders?
AIDL supports charSequence, list, map, string, and all types of native java data types.
Question 2. How Do You Avoid An Anr?
You basically want as little work done as possible on the main thread, also known as the UI thread. Since that is the core single thread that your application runs on, you would want to keep activities that require more complex computations or network and database connections, for example, on separate worker threads so as not to slow down the main thread.
Question 3. What Is Long Polling, How Does It Work, And Why Would You Use It?
There are two important drawbacks that need to be considered when using long polling:
Long polling requests are not different from any other HTTP request and web servers handle them the same way. This means that every long poll connection will reserve server resources, potentially maxing out the number of connections the server can handle. This can lead to HTTP connection timeouts.
Each web browser will limit the maximum number of connections web application can make.
Question 4. What Is The Difference Between Service-oriented Architecture (soa) And A Web Service?
- SOA (Service-Oriented Architecture) is an architectural pattern that makes possible for
- services to interact with one another independently.
- Web Services is a realization of SOA concept, that leverages XML, JSON, etc. and common Internet protocols such as HTTP(S), SMTP, etc.
- SOA is a system-level architectural style that tries to expose business. WOA is an interface-level architectural style that focuses on the means by which these service capabilities are exposed to consumers.
Question 5. What Is “copy Constructor” And When It Is Called?
Copy constructor is a special constructor of a class which is used to create copy of an object. Compiler will give a default copy constructor if you don’t define one. This implicit constructor will copy all the members of source object to target object.
Implicit copy constructors are not recommended, because if the source object contains pointers they will be copied to target object, and it may cause heap corruption when both the objects with pointers referring to the same location.
Question 6. Describe The Key Advantages Of Http/2 As Compared With Http 1.1?
HTTP/2 provides decreased latency to improve page load speed by supporting:
- Data compression of HTTP headers
- Server push technologies
- Loading of page elements in parallel over a single TCP connection
- Prioritization of requests
- An important operational benefit of HTTP/2 is that it avoids the head-of-line blocking problem in HTTP 1.
Question 7. What Is An Etag And How Does It Work?
An ETag is an opaque identifier assigned by a web server to a specific version of a resource found at an URL. If the resource content at that URL ever changes, a new and different ETag is assigned.
In typical usage, when an URL is retrieved the web server will return the resource along with its corresponding ETag value, which is placed in an HTTP ETag field:
The client may then decide to cache the resource, along with its ETag.
Question 8. What Is Cross-origin Resource Sharing (cors)? How Does It Work ?
CORS adds new HTTP headers that provide access to permitted origin domains. For HTTP methods other than GET (or POST with certain MIME types), the specification mandates that browsers.
Question 9. What Are Web Services ?
Web Services are client and server applications that communicate over the World Wide Web’s (WWW) Hyper Text Transfer Protocol (HTTP). Web Services provide a standard means of inter operating between software applications running on a variety of platforms and frameworks.
Question 10. What Is Web Services Description Language (wsdl)?
WSDL (Web Services Description Language) is an XML format for describing web services and how to access them.
Question 11. Explain The Purpose Of Each Of The Http Request Types When Used With A Restful Web Service?
The purpose of each of the HTTP request types when used with a RESTful web service is as follows:
GET: Retrieves data from the server (should only retrieve data and should have no other effect).
POST: Sends data to the server for a new entity. It is often used when uploading a file or submitting a completed web form.
PUT: Similar to POST, but used to replace an existing entity.
PATCH: Similar to PUT, but used to update only certain fields within an existing entity.
Question 12. What Are Containers ?
Containers holds objects and widgets together, depending on which items are needed and in what arrangement they need to be in. Containers may hold labels, fields, buttons, or even child containers, as examples.
Question 13. What Do You Mean By Storage Classes?
Storage class are used to specify the visibility/scope and life time of symbols(functions and variables). That means, storage classes specify where all a variable or function can be accessed and till what time those variables will be available during the execution of program.
Question 14. What Is A “mime Type”, What Does It Consist Of, And What Is It Used For?
MIME is an acronym for Multi-purpose Internet Mail Extensions. It is used as a standard way of classifying file types over the Internet.
Web servers and browsers have a defined list of MIME types, which facilitates transfer of files of a known type, irrespective of operating system or browser.
A MIME type actually has two parts: a type and a subtype that are separated by a slash (/). For example, the MIME type for Microsoft Word files is application/msword.
Question 15. What Is Message Transmission Optimization Mechanism (mtom)?
MTOM (Message Transmission Optimization Mechanism) is a mechanism for transmitting large binary attachments with SOAP messages as raw bytes, allowing for smaller messages.
AutoCAD Interview Questions
HTML 4 Tutorial
HTML 4 Interview Questions
HTML Interview Questions
HTML 5 Interview Questions
HTML 5 Tutorial
Web Designing Interview Questions
AutoCAD Interview Questions
Web Designing Tutorial
PL/SQL Interview Questions