Oracle Certification Questions

Practice Oracle Certification MCQs with answers and explanations. Page 1 of 3.

Category
Certification
Topic
Oracle Certification
Page
1 / 3
Mode
Practice

Questions

Open any question to view the answer and explanation.

In a relational database management system DBMS, what is a primary key and why is it important for a table?
Open
View answer
In SQL Server style relational databases, the system function @@IDENTITY returns the last identity value generated in the current session. After which Data Manipulation Language DML command do you typically use @@IDENTITY to retrieve the newly generated identity value?
Open
View answer
In Oracle oriented database exams, what is often cited as the maximum number of distinct triggers that can be defined on a single table when you consider different combinations of timing and events such as before and after for insert, update, and delete operations?
Open
View answer
In relational database design, what is the main difference between a candidate key and a primary key?
Open
View answer
In relational database design, why do you need common fields columns in different tables?
Open
View answer
In Java programming, consider the following code fragment: int Output = 10; boolean b = false; if ((b == true) && ((Output += 10) == 20)) { System.out.println("We are equal " + Output); } else { System.out.println("Not equal! " + Output); } What happens when this code is compiled and executed?
Open
View answer
In Java, consider the following independent code fragments: A. StringBuffer sb1 = "abcd"; B. Boolean b = new Boolean("abcd"); C. byte b = 255; D. int x = 0x1234; E. float fl = 1.2; Which of the following statements about which fragments compile without error is correct?
Open
View answer
In the context of SQL databases such as Oracle, what is an execution plan?
Open
View answer
In standard SQL classification, the INSERT command falls under which sub language category?
Open
View answer
In a Relational Database Management System R DBMS, the data is logically organized in which basic structure?
Open
View answer
From the perspective of database administrators, which of the following lists correctly represents the major types of SQL statements?
Open
View answer
In SQL, when you join four tables together using equality joins in a single query, what is the minimum number of join conditions you typically need to connect all four tables?
Open
View answer
In Oracle Database, which SQL statement would you use from SQL Plus to create a backup copy of the control file at the database level?
Open
View answer
In Oracle Database, what is an index and why is it used?
Open
View answer
In modern strongly typed languages used with Oracle such as PL SQL and in standard C compilers, what is the default return type of a function if you do not explicitly declare one?
Open
View answer
In Java, consider the following classes and methods: class Value { public int i = 15; } public class Test { public static void main(String argv[]) { Test t = new Test(); t.first(); } public void first() { int i = 5; Value v = new Value(); v.i = 25; second(v, i); System.out.println(v.i); } public void second(Value v, int i) { i = 0; v.i = 20; Value val = new Value(); v = val; System.out.println(v.i + " " + i); } } What output is produced when this program is compiled and run?
Open
View answer
In computing, files with the MOV file name extension are usually associated with which type of content?
Open
View answer
In SQL, what is Data Control Language DCL and what is its main purpose?
Open
View answer
In a relational database table, which type of key is specifically used to uniquely identify each individual row (record) in that table?
Open
View answer
In database technology, what is the main difference between Oracle, SQL, and Microsoft SQL Server when people talk about them together?
Open
View answer

Practice smarter

Solve a few questions daily and revisit weak topics regularly to improve accuracy.