Samplevikas

30 Questions | Attempts: 166
Share
Please wait...
Question 1 / 30
0 %
0/100
Score 0/100
1. The contents of a collection can be copied to another collection as long as they are built from the exact same collection type. State true or false ?
Submit
Please wait...
About This Quiz
Samplevikas - Quiz

Tell us your name to personalize your report, certificate & get on the leaderboard!
2. An index, once defined, is automatically maintained and used by oracle. State True or False.?
Submit
3. Which of the following features of Oracle 10g allows user to see a consistent view of the database at a point in the past without requiring any structural changes to the database?
Submit
4. In Oracle database, Number data type allows both number and decimal digits, state true or false?
Submit
5. . Data dictionary views are static views. State True or False?
Submit
6. Consider the following employee table emp(empno,empname) Which of the following sql statement will retrieve the list of employee names of 4 characters length and ending with 'ill'(eg. Bill)?  
Submit
7. State the following is True/False-- The SQL query that builds the view is stored in the data dictionary and needs not be reassembled every time the view is used.
Submit
8.  Consider the following code: declare n1 number:=20; n2 number:=10 n3 number; begin n1:=30; n2:=n1; n3:=n1*n2; dbms_output.put_line(n1); dbms_output.put_line(n2); dbms_output.put_line(n3); end; What will be the output?  
Submit
9. Examine the code below: if v_val>100 then v_new_val:=2*v_val; elsif v_val>200 then  v_new_val:-3*v_val; elsif v_val>300 then v_val:=4*v_val; else v_new_val:=5*v_val; end if; What would be the value assigned to v_new_val if v_val=250 ?  
Submit
10. In the following code, does the IF condition evaluates to True or False? IF Dinu=dinu THEN END IF; 
Submit
11. Which of the following will allow you to pass a value from a procedure to the calling environment?
Submit
12. Consider the following Sql statement: Select trunc(round(546.56)) from dual; What will be the output of the above query?
Submit
13. The correct syntax for defining a user-defined exception, called myexp is_____?
Submit
14. In Pl/Sql, a function can return a record, State True or False.
Submit
15. Consider the following table: employees(emp_id,lname,fname,sal,dept_id,job_id) An sql query is formed as: select emp_id,lname,fname,sal from employees where salary in (select max(sal) from employees where dept_id=60) and job_id not like 'IT_%'; Which is the correct description for the above query?
Submit
16. Consider the following: select emp_id,lname,job_id,salary from employees  where salary>=10000 and job_id like %MAN%. Which of the following is true?
Submit
17. In the condition evaluates to NULL in a while loop, the loop body is executed, State True or False
Submit
18. Consider the following statements: Statement 1: Declare and exception sections are mandatory. Statement 2: Begin and End section are optional
Submit
19. The maximum no of characters allowed when defining a table name is________________.?
Submit
20. In sql, ypu issue the following command: Delete from patient_details where patient_id=811 You recieved an integrity constraint(restrict on delete) error because child records were found in case_history table for the patient. Which of the following gives the solution to make the above delete go through , assuming you are allowed to change the constraints?  
Submit
21. Consider the following table that contains details of CLUB members: MemberDetails table Member_id number(5) Member_name varchar(30) date_of_birth date city varchar(30) You are required to display the list of city names where the club members reside.Those members whose residing city is not known, it should be displayed as    'Not Known'.Which of the following statement will achieve the above task?
Submit
22. Consider the following code: declare j number; begin for index in 1..6 loop j:=index; goto outer; end loop; <<outer>> j:=j+1; end; What is the value of the j after the above code is executed?
Submit
23. Which of the following tablespace can be used when a user runs a SQL statement that requires the creation of temporary segments?
Submit
24. What does the method Extend(n,i) do?
Submit
25. Examine the code below: declare v_sal number(9,2):=0; v_emp_id number:=1; begin execute immediate 'update emp set sal:=salary where empno:=employee_id' --line 6 end; Which of the following code if provided at line 6 successfully executes the program?  
Submit
26. Consider the following Sql statement: select * from emp where emp_id=100'; Oracle opens an explicit cursor for the above statement.
Submit
27. Examine the following code: declare  j number:=100; result number:=0; begin ---other stmnts here Begin result:=j/0; Exception When Others Then dbms_output.put_line('When other handlers'); End; exception When Zero_divide then  dbms_output.put_line('Zero divide handler'); end;   Which of the following gives the output of above code?  
Submit
28.  Allied Corporation is a Software services company.The management has asked Ram, the database engineer, to list the names and year of joining of all their    employees.They have also specified that the year should be in 'YYYY' format. Consider employees table as emp(empid,ename,hiredate) Which of the following  statements will accomplish him the above task?
Submit
29. Which of the following statements are true about the package(choose 3)?
Submit
30. Which of the following are true about Dynamic SQL (choose 3)?
Submit
View My Results

Quiz Review Timeline (Updated): Feb 18, 2013 +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Feb 18, 2013
    Quiz Edited by
    ProProfs Editorial Team
  • May 19, 2012
    Quiz Created by
    Vikasverma
Cancel
  • All
    All (30)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
The contents of a collection can be copied to another collection as...
An index, once defined, is automatically maintained and used by...
Which of the following features of Oracle 10g allows user to see a...
In Oracle database, Number data type allows both number and decimal...
. Data dictionary views are static views. State True or False?
Consider the following employee table emp(empno,empname)...
State the following is True/False-- The SQL query that builds the view...
 Consider the following code:...
Examine the code below:...
In the following code, does the IF condition evaluates to True or...
Which of the following will allow you to pass a value from a procedure...
Consider the following Sql statement:...
The correct syntax for defining a user-defined exception, called myexp...
In Pl/Sql, a function can return a record, State True or False.
Consider the following table:...
Consider the following:...
In the condition evaluates to NULL in a while loop, the loop body is...
Consider the following statements:...
The maximum no of characters allowed when defining a table name...
In sql, ypu issue the following command:...
Consider the following table that contains details of CLUB members:...
Consider the following code:...
Which of the following tablespace can be used when a user runs a SQL...
What does the method Extend(n,i) do?
Examine the code below:...
Consider the following Sql statement:...
Examine the following code:...
 Allied Corporation is a Software services company.The management...
Which of the following statements are true about the package(choose...
Which of the following are true about Dynamic SQL (choose 3)?
Alert!

Advertisement