MC Which statement is NOT CORRECT? The JPA was meant as a replacement for entity beans in EJB 2.0 incorrect JPA relies heavily on annotations and convention-over-configuration incorrect JPA uses its own internal query language, but supports SQL as well incorrect All these statements are correct correct
MC Which of the following is not a client-side scripting language? VBScript incorrect PHP correct Jscript incorrect JavaScript incorrect
MC Which statement is NOT CORRECT? Session Beans represent an object-oriented representation of business entities and can be made persistent correct Enterprise JavaBeans are components that establish a clear decoupling between business logic and client applications incorrect Three types of Enterprise JavaBeans exist, although one type is outdated now incorrect Enterprise JavaBeans extend the concept of Java Beans incorrect
MC Which JDBC driver type is implemented completely in Java and communicates directly with the vendor's DBMS through a network socket connection? Type 2 incorrect Type 1 incorrect Type 4 correct Type 3 incorrect
MC Which statement is NOT CORRECT? One drawback of ODBC is that the architecture is mostly native to Microsoft-based platforms incorrect Call-level database APIs can use early binding incorrect An embedded API can also be referred to as an embedded DBMS. correct A Java Bean is re-usable. incorrect
MC Which statement is CORRECT? JavaScript can not be used as a client-side scripting language. incorrect JPA relies heavily on annotations and convention-over-configuration correct Embedded database APIs can use late binding incorrect JPQL queries can differ depending on the underlying DBMS used incorrect
MC Which statement is NOT CORRECT? A client-server architecture using a file system causes performance and maintenance issues. incorrect ODBC is largely Linux-based. correct CGI programs can be written in almost any programming language incorrect In the context of database APIs, universal APIs are generally more popular. incorrect
MC Which statement is NOT CORRECT? One drawback of ODBC is that performance can be worse compared to proprietary DBMS API's incorrect One drawback of ODBC is that application code needs to be modified every time a different driver needs to be used correct One drawback of ODBC is that the architecture is mostly native to Microsoft-based platforms incorrect One drawback of ODBC is it not using an object-oriented paradigm incorrect
MC Which database access technique does the following C# statement illustrate?
public void Example() {
DataClassesContext dc = new DataClassesContext();
var q =
from a in dc.GetTable()
where a.CustomerName.StartsWith("Seppe")
select a;
dataGrid.DataSource = q;
} JDBC incorrect ODBS incorrect Language-integrated queries correct None of these techniques incorrect
MC Which statement is NOT CORRECT? One drawback of ODBC is that the architecture is mostly native to Microsoft-based platforms incorrect One drawback of ODBC is that performance can be worse compared to proprietary DBMS API's incorrect One drawback of ODBC is it not using an object-oriented paradigm incorrect One drawback of ODBC is that application code needs to be modified every time a different driver needs to be used correct