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

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

Which phrase delimits the the scope of MULTIPLY statement.





Correct Option: B

How many types of file organisation is there in COBOL.

  1. 2

  2. 3

  3. 4

  4. 5

Correct Option: B

How many types of file access are there in COBOL.

  1. 2

  2. 3

  3. 4

  4. 5

Correct Option: B

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





Correct Option: A

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

Identify one of the main component in hibernate architecture

  1. Collection Management

  2. Session Management

  3. Application management

  4. Transaction Management

Correct Option: D

Hibernate makes use of which class?

  1. Pojo classes

  2. Poto classes

  3. Session classes

  4. Persistent classes

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

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

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

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

Correct Option: B,D

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

Every persistent class needs to be mapped with its configuration file

  1. True

  2. False

Correct Option: A

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

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

What are the attributes found in a tag ?

  1. increment

  2. sequence

  3. hilo

  4. foreign

Correct Option: A,B,C

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

Which of the following is valid usage of tag/

Correct Option: A

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
- Hide questions