Home      Tests New!      Polls      Discussion Forums     Take a Quiz     Make a Quiz     Login     Contact QuizMoz Go to Home Page  


   
  Find a quiz.
  Example: Harry Potter Quiz


Create your own Poll
Create a Test
Make a Trivia Quiz
Make a Quiz about Yourself
Make Free Personality Test
Recommend QuizMoz
  Personal Injury Law Quizzes






 
Hottest Quizzes
Valentine Quiz
 

Featured Quizzes
 Michael Jackson Quiz
 English Language Test
 Does He Love You Quiz
 Business Phone Etiquette Quiz
 Impossible Quiz
 Personality Quiz
 Free Quizzes
 Tiger Woods Wife Cheating Quiz
 Keira Knightley Quiz
 Rage Against The Machines Quiz
 FIFA World Cup 2010
 Are you in Love Quiz
 Skeletal System Quiz
 Love Personality Quiz
 NFL Quiz



 



      Home > Quizzes and Fun Tests > Oracle OCP Practice Tests > Free Oracle OCP Practice Test - Oracle SQL PL/SQL OCP Quiz

Hottest Quizzes
  Valentine Quiz
 
 Free Oracle OCP Practice Test - Oracle SQL PL/SQL OCP Quiz

Welcome to the QuizMoz Free Oracle OCP Practice Test - Oracle SQL PL/SQL OCP Quiz. QuizMoz offers one of the Internet's largest collection of quizzes for you to tease your brain and pit your wits against the experienced QuizMoz quiz masters. Go ahead and find out what you know about yourself and the world around you. Best of luck!!

 Free Oracle OCP Practice Test - Oracle SQL PL/SQL OCP Quiz Facts
 Average Score for this quiz: 32.5%
 No of times this quiz has been taken: 193
 No of people passing this quiz: 69
 No of people failing this quiz: 124
 Maximum score for this quiz: 100%

Coverage
:
  • Aggregating Data Using Group Function
  • SubQueries
  • Single Row Functions
  • Other Database Objects
  • Overview of Data Modeling and Database Design
  • Manipulating Data
  • Producing Readable Output with SQL*Plus
  • Writing Basic SQL Statements
  • Displaying Data from Multiple Tables
  • Creating Views
  • Including Constraints
  • Creating and Managing Tables
  •  Free Oracle OCP Practice Test - Oracle SQL PL/SQL OCP Discussion Forum
    1. Consider the following SQL statement:

    SELECT         manufacturer_id, COUNT(*), order_date
    FROM            ITEM
    WHERE         price > 14.00
    GROUP BY    order_date, manufacturer_id
    HAVING        COUNT(*) > 10

    Which clause specifies the rows that will be returned from the ITEM table?
    a.WHERE price > 14.00
    b.HAVING COUNT(*) > 10
    c.GROUP BY order_date, manufacturer_id
    d.SELECT manufacturer_id, COUNT(*), order_date
    2. The BOOK table was created with the following statement:

    1. CREATE TABLE BOOK
    2. (book_id      NUMBER(9)
    3. CONSTRAINT book_id_pk PRIMARY KEY,
    4. name        VARCHAR2(25),
    5. title        VARCHAR2(25),
    6. CONSTRAINT booktitle_nn NOT NULL);

    Which line in the statement causes a syntax error?
    a.1st
    b.6th
    c.3rd
    d.2nd
    3. The ITEM table has six columns.  Since the table is often queried with a join to the SALE table, an index was created on five of the columns in the ITEM table.  What will be the result?
    a.Inserts to the table will be slower
    b.The size of the ITEM table will be increased
    c.All queries on the ITEM table will be faster if it does not contain a large number of NULL values
    d.The speed of deletes will be increased
    4. Which of the following relationships exist for patient and doctor if a patient can have many doctors, a doctor can have many patients, and a doctor can be a patient?
    a.Recursive
    b.One-to-one
    c.One-to-many
    d.Many-to-one
    e.Many-to-many
    5. Each employees salary must be increased by 10% and their commission by 20% of their newly increased salary.  Display the new salary and commission plus each employee's total compensation.
    Evaluate the following SQL statements:

    1.   SELECT sal * 1.1 "Salary", sal * 1.1 * .2 "Commission", sal * 1.1 + sal * 1.1 * .2 "Compensation"
          FROM    emp;
    2.   SELECT sal * 1.1 "Salary", sal * 1.1 * .2 "Commission", (sal * 1.1) + (sal * .2) "Compensation"
          FROM    emp;
    3.   SELECT sal * 1.1 "Salary", sal * .2 "Commission", sal * 1.1 + sal * 1.1 * .2 "Compensation"
          FROM    emp;

    What are the results of these statements?
    a.Two statements return the desired result
    b.Only statement one returns the desired result
    c.Only statement three returns the desired result
    d.None of the statements return the desired result
    6. The EMP table contains the following columns:

    EMPNO       NUMBER(6)
    HIREDATE    DATE
    Review the following SELECT statement:
    SELECT  empno, TO_DATE('31-DEC-05') - hiredate
    FROM     emp
    WHERE  hiredate BETWEEN '31-DEC-04' AND '31-DEC-05';

    What are the results of this statement?  
    a.Only numeric values are returned
    b.The employee numbers of any employees hired on January 1, 2004 are displayed
    c.Date and numeric values are returned
    d.The employee numbers of all employees hired before the year 2000 are displayed
    e.Only the employee numbers of all employees are displayed because the BETWEEN operator used in the WHERE clause condition is a number function
    7. Which construct can be used to return data based on an unknown condition?
    a.An ORDER BY clause
    b.An GROUP BY clause
    c.A WHERE clause with an OR condition
    d.A Subquery
    8. How many values can a subquery use with the <> operator return?
    a.Only 1
    b.Up to 2
    c.Unlimited
    d.Up to 10
    9. Which SQL SELECT statement clause is an example of the selection capability, but not the joining capability?
    a.WHERE d.deptno = 10
    b.SELECT *
    c.WHERE d.deptno = e.deptno
    d.SELECT id_number, description, cost
    10. Select can be used in FROM clause of SQL select.
    a.True    
    b.False
    11. Which component is a literal in the following select statement?

    Select 'Emp name :'||ename from emp where deptno=20;
    a.ename.
    b.20.
    c.emp name.
    d.||.
    12. Which of the following SQL statements defines a FOREIGN KEY constraint on the DEPT NO column of the EMP table?
    a.CREATE TABLE EMP (empno NUMBER(4), ename VARCHAR2(35), deptno NUMBER(7,2) NOT NULL, CONSTRAINT emp_deptno_fk FOREIGN KEY deptno REFERENCES dept deptno);
    b.CREATE TABLE EMP (empno NUMBER(4), ename VARCHAR2(35), deptno NUMBER(7,2) CONSTRAINT emp_deptno_fk REFERENCES dept (deptno));
    c.CRETE TABLE EM (empno NUMBER(4), ename VARCHAR2(35) deptno NUMBER (7,2) NOT NULL, CONSTRAINT em_deptno_fk REFERENCES dept (deptno) FOREIGN KEY (deptno));
    d.CREATE TABLE EMP (empno NUMBER (4), ename VARCHAR2(35), deptno NUMBER(7,2) FOREIGN KEY CONSTRAINT emp deptno fk REFERENCES dept (deptno));
    Think you know more about this quiz!

     
    Please enter your Name and what you would like to tell everyone about Free Oracle OCP Practice Test - Oracle SQL PL/SQL OCP
     Name:
    Think you know more about Free Oracle OCP Practice Test - Oracle SQL PL/SQL OCP and would like others to know too? Whether its a great fact, a joke, a personal experience or an interesting anecdote, please share it with all the human beings on planet earth. Your contribution will help keep QuizMoz a free site for all.

       (Optional)
     (average submission size - 5 to 10 lines)


    Free Oracle OCP Practice Test - Oracle SQL PL/SQL OCP Discussion Forum
    Know the Latest News about Free Oracle OCP Practice Test - Oracle SQL PL/SQL OCP!


    What others think about Free Oracle OCP Practice Test - Oracle SQL PL/SQL OCP
    By: kiran on Aug 25, 2009
      very good quiz
      



    Hot Links
     

     
    Hottest Quizzes
    Valentine Quiz
     

    Most Popular Quizzes
     Free IQ Test
     Big Brother 2010
     Kids General Knowledge Quiz
     2009 General Knowledge Quiz
     NBA 2010 Quiz
     Science Quiz for Kids
     Medical Terminology Quiz
     Career Quiz for Kids
     Home And Away Quiz
     Harry Potter Quiz
     US History Quiz
     Am I Pregnant Quiz
     Dating Etiquette Quiz
     Email Etiquette Quiz




     
    Home     About Us      Advertise     Terms of Service     Privacy Policy     Contact QuizMoz    FAQ     SiteMap
    Copyright © 2007.www.quizmoz.com. All rights are reserved.