CuriousTab
Search
CuriousTab
Home
Aptitude
Computer
C Programming
C# Programming
C++ Programming
Database
Java Programming
Networking
Engineering
Biochemical Engineering
Biochemistry
Biotechnology
Chemical Engineering
Civil Engineering
Computer Science
Digital Electronics
Electrical Engineering
Electronics
Electronics and Communication Engineering
Mechanical Engineering
Microbiology
Technical Drawing
GK
Current Affairs
General Knowledge
Reasoning
Data Interpretation
Logical Reasoning
Non Verbal Reasoning
Verbal Ability
Verbal Reasoning
Exams
AIEEE
Bank Exams
CAT
GATE
IIT JEE
TOEFL
Jobs
Analyst
Bank PO
Database Administrator
IT Trainer
Network Engineer
Project Manager
Software Architect
Discussion
Home
‣
Database
‣
Object-Oriented Database
Comments
Question
Using OQL, you may do which of the following?
Options
A. Return an entire collection of elements including duplicates.
B. Return a collection of elements without duplicates.
C. Return a specific subset of elements using a given criteria.
D. All of the above.
Correct Answer
All of the above.
Object-Oriented Database problems
Search Results
1. Which of the following is an ordered collection of elements of the same type?
Options
A. Set
B. Bag
C. List
D. Dictionary
Show Answer
Scratch Pad
Discuss
Correct Answer: List
2. A relationship should be specified how in the ODL?
Options
A. One direction starting with the first class
B. One direction starting with the second class
C. Neither direction.
D. Both directions.
Show Answer
Scratch Pad
Discuss
Correct Answer: Both directions.
3. Which of the following is an unordered collection of elements that may contain duplicates?
Options
A. Set
B. Bag
C. List
D. Dictionary
Show Answer
Scratch Pad
Discuss
Correct Answer: Bag
4. The reserved word enum is used for which of the following?
Options
A. To define a range for an attribute.
B. To define a range for a class.
C. To define a range for a relationship.
D. All of the above.
Show Answer
Scratch Pad
Discuss
Correct Answer: To define a range for an attribute.
5. The keyword "inverse" is used in which of the following?
Options
A. Class
B. Attribute
C. Relationship
D. All of the above.
Show Answer
Scratch Pad
Discuss
Correct Answer: Relationship
6. The Object Query Language is which of the following"?
Options
A. Similar to SQL and uses a select-from-where structure
B. Similar to SQL and uses a select-where structure
C. Similar to SQL and uses a from-where structure
D. Not similar to SQL
Show Answer
Scratch Pad
Discuss
Correct Answer: Similar to SQL and uses a select-from-where structure
7. An atomic literal is which of the following?
Options
A. Strings
B. Boolean
C. Long
D. All of the above.
Show Answer
Scratch Pad
Discuss
Correct Answer: All of the above.
8. The object definition language (ODL) is which of the following?
Options
A. Used to develop logical schemas
B. A data definition language for OODB
C. A method to implement a logical schema
D. All of the above.
Show Answer
Scratch Pad
Discuss
Correct Answer: All of the above.
9. Identify the class name for the following code: ABC123 course();
Options
A. ABC123
B. course
C. course()
D. All of the above.
Show Answer
Scratch Pad
Discuss
Correct Answer: ABC123
10. Which of the following is true concerning the following statement: class Manager extends Employee
Options
A. Manager is a concrete class and a superclass.
B. Manager is a concrete class and a subclass.
C. Manager is an abstract class and a superclass.
D. Manager is an abstract class and a subclass.
Show Answer
Scratch Pad
Discuss
Correct Answer: Manager is a concrete class and a subclass.
Comments
There are no comments.
Enter a new Comment
Save
More in Database:
Advanced SQL
Data and Database Administration
Data Modeling with ER Model
Data Models into Database Designs
Data Warehousing
Database Design Using Normalization
Database Processing for BIS
Database Redesign
Distributed Databases
ER Model and Business Rules
Introduction to Database
Introduction to SQL
JDBC, Java Server Pages, and MySQL
Logical Database Design
Managing Databases with Oracle
Managing Multiuser Databases
Modeling Data in the Organization
Object-Oriented Data Modeling
Object-Oriented Database
ODBC, OLE DB, ADO, and ASP
Physical Database Design
SQL for Database Construction
SQL Server 2000
The Client-Server Database
The Database Development Process
The Database Environment
The Internet Database Environment
The Relational Model and Normalization
XML and ADO.NET