0
Alien head

programming languages Online Quiz - 156

Description: programming languages Online Quiz - 156
Number of Questions: 20
Created by:
Tags: programming languages
Attempted 0/20 Correct 0 Score 0

What does the attribute "auto-import" in root element signify?

  1. imports name of database schema

  2. permits to access all properties automatically

  3. determines wether unqualified names can be used in query language

  4. imports name of database catalog


Correct Option: C

Which of the following is valid usage of tag/


Correct Option: A

What does element in mapping documnet signify?

  1. maps domain object with the corresponding entity in databse

  2. mapping from property to primary cloumn

  3. generates unique identifiers for instances

  4. declares a persistent ,Java Bean style


Correct Option: D

What are the attributes found in a tag ?

  1. increment

  2. sequence

  3. hilo

  4. foreign


Correct Option: A,B,C

element in a mapping file is used to

  1. represent primary key cloumn and assosciate attribute in domain object

  2. map a table with the corresponding class

  3. represent all attributes available in domain object

  4. both 1 & 2


Correct Option: B

Which one of the following is not true about hibernate

  1. doest not allow database migration

  2. allow programmers to store objects directly into databse

  3. does not require build time processing such as byte code manipulation

  4. has a built in support of transaction management


Correct Option: A

Every persistent class needs to be mapped with its configuration file

  1. True

  2. False


Correct Option: A

just like any other language ,hibernate can use identifiers internally ,but we could lose the flexibility of application

  1. True

  2. False


Correct Option: A

The Tag in hibernate. cfg.xmlfile has which of the following as sub tags


Correct Option: B,D

what are the features of Hibernate?

  1. Object oriented Query language

  2. Transparent persistence without byte code processing

  3. High Perfomance

  4. Automatic Composite Key generation


Correct Option: A,B,C

For an entire application in hibernate

  1. only one session factory is created

  2. depends on the application developed

  3. depends on thesession interfaces to be created

  4. Atleast 2 factories has to be created


Correct Option: A

First step in hibernate application is to :

  1. Retreive Hibernate session

  2. persist objects

  3. Save session

  4. config hibernate.cfg.xml


Correct Option: A

Hibernate makes use of which class?

  1. Pojo classes

  2. Poto classes

  3. Session classes

  4. Persistent classes


Correct Option: A

Identify one of the main component in hibernate architecture

  1. Collection Management

  2. Session Management

  3. Application management

  4. Transaction Management


Correct Option: D

Which of the following does hibernate take care of

  1. mapping java classes to database tables

  2. mapping of java data types to sql data types

  3. data querying and retreival

  4. all the above


Correct Option: D

The following statement WRITE OUT-REC. Which one of the following modes of operating the Sequential file is not true

  1. OPEN INPUT

  2. OPEN INPUT-OUTPUT

  3. OPEN EXTEND

  4. OPEN OUTPUT


Correct Option: A

How many types of file access are there in COBOL.

  1. 2

  2. 3

  3. 4

  4. 5


Correct Option: B

How many types of file organisation is there in COBOL.

  1. 2

  2. 3

  3. 4

  4. 5


Correct Option: B

Which phrase delimits the the scope of MULTIPLY statement.

  1. END MULTIPLY

  2. END-MULTIPLY

  3. STOP MULTIPLY

  4. STOP-MULTIPLY


Correct Option: B

A READ statement can have AT END clause and INVALID KEY clause, but both must not appear simultaneously.

  1. True

  2. False


Correct Option: A
+ View questions