Technology Questions

Q:

What are new Media Elements in HTML5?

Answer

Following are the New Media Elements are present in HTML5:


<audio> tag: for playing audio.


<video> tag: for playing video.


<source> tag: For media resources for media elements.


<embed> tag: For embedded content


<track> tag: For text tracks used in media players

Report Error

View answer Workspace Report Error Discuss

3 2082
Q:

What are the different JDBC drivers available ?

Answer

There are mainly four type of JDBC drivers available. They are:

Type 1 : JDBC-ODBC Bridge Driver - A JDBC-ODBC bridge provides JDBC API access via one or more ODBC drivers. Note that some ODBC native code and in many cases native database client code must be loaded on each client machine that uses this type of driver. Hence, this kind of driver is generally most appropriate when automatic installation and downloading of a Java technology application is not important. For information on the JDBC-ODBC bridge driver provided by Sun.

Type 2: Native API Partly Java Driver- A native-API partly Java technology-enabled driver converts JDBC calls into calls on the client API for Oracle, Sybase, Informix, DB2, or other DBMS. Note that, like the bridge driver, this style of driver requires that some binary code be loaded on each client machine.

Type 3: Network protocol Driver- A net-protocol fully Java technology-enabled driver translates JDBC API calls into a DBMS-independent net protocol which is then translated to a DBMS protocol by a server. This net server middleware is able to connect all of its Java technology-based clients to many different databases. The specific protocol used depends on the vendor. In general, this is the most flexible JDBC API alternative. It is likely that all vendors of this solution will provide products suitable for Intranet use. In order for these products to also support Internet access they must handle the additional requirements for security, access through firewalls, etc., that the Web imposes. Several vendors are adding JDBC technology-based drivers to their existing database middleware products.

Type 4: JDBC Net pure Java Driver - A native-protocol fully Java technology-enabled driver converts JDBC technology calls into the network protocol used by DBMSs directly. This allows a direct call from the client machine to the DBMS server and is a practical solution for Intranet access. Since many of these protocols are proprietary the database vendors themselves will be the primary source for this style of driver. Several database vendors have these in progress.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2081
Q:

What is classloader?

Answer

The classloader is a subsystem of JVM that is used to load classes and interfaces.There are many types of classloaders e.g. Bootstrap classloader, Extension classloader, System classloader, Plugin classloader etc.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2080
Q:

Name the framework that is used to construct application’s user interface for iOS.

Answer

The UIKit framework is used to develop application’s user interface for iOS. UIKit framework provides event handling, drawing model, windows, views, and controls specifically designed for a touch screen interface.

Report Error

View answer Workspace Report Error Discuss

Subject: IOS

1 2078
Q:

What is the difference between a primary key and a unique key?

Answer

By default, primary key creates a clustered index on the column, whereas a unique key creates a non clustered index by default.

Report Error

View answer Workspace Report Error Discuss

Subject: SQL

0 2076
Q:

What are the new attributes provided in HTML5 for "form" tag ?

Answer

The new attributes provided in HTML5 for <form> are: 


a.) autocomplete


– It specifies if a form or input field should have autocomplete as on or off. 


– If autocomplete is on, the browser is able to fill the values based on the values filled by the user earlier. 


– autocomplete works for following input types: text, search, url, tel, email, password, datepickers, range, and color. 


b.) novalidate


- This is a boolean attribute. 


- When present, it signifies that the form-data should not be validated when submitted.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 2076
Q:

what is use case? What is the diffrence between test cases and use cases?

Answer

Use case is nothing but the functional specification document in which all the customer requirements are documented.


Test case is a document which tells wat to test, steps to test and expected and actual results.


 

Report Error

View answer Workspace Report Error Discuss

Subject: QA Testing

0 2073
Q:

Explain foreign key constraint.

Answer

A foreign key is a reference to another table. It is used to establish relationships between tables. For example, relationship between employee and professor table. One employee can have multiple professors. The Primary key of employee becomes foreign key of professor.
Example:
create table employee ( id number NOT NULL, professor_id NOT NULL, Name varchar(200) Constraint prim_id Foreign key(id) references professor(professor_id) );

Report Error

View answer Workspace Report Error Discuss

Subject: Oracle

0 2073