অণুজীব

pl-sql – programming-sql – কুইজ মডেল টেস্ট অনুশীলন – 7

8686. Why does the following code fail : DECLARE V_BONUS NUMBER; BEGIN SELECT SALARY V_SALARY FROM EMPLOYEE WHERE EMP_ID = 101; V_BONUS := V_SALARY * 0.1; END;

  1. None of the above
  2. The SELECT statement cannot have an alias name.
  3. The exception section is missing.
  4. The V_BONUS variable is not initialized.

8687. What is the name of the PL/SQL block that is associated with a table and executes automatically when an event occurs?

  1. Procedure
  2. Trigger
  3. Function
  4. Package

8688. Choose the true answer: A variable is defined as %TYPE.

  1. None of the above
  2. You do not have to know the data type or the precision of that column.If the underlying table column data type changes
  3. the PL/SQL code needs to be changed.Only character variables can be defined using %TYPE.

8689. Which exception is raised, if a number is divided by 0

  1. ZERO_EXCEPTION
  2. ZERO_DIVIDE
  3. EXCEPTION_ZERO
  4. DIVIDE_ZERO

8690. The procedure which determines if the current session has issued a COMMIT is

  1. DBMS_LOCK.COMMIT
  2. DBMS_LOCK
  3. DBMS_COMMIT
  4. DBMS_COMMIT.LOCK

8691. Why does the following declaration fail : MY_NUMBER POSITIVEN;

  1. A variable declared as POSITIVEN should always be initialized to a non-NULL value.
  2. POSITIVEN is not a PL/SQL data type.
  3. The statement is missing a keyword.
  4. The variable name is invalid.

8692. Identify the valid identifier name

  1. 5_index_db
  2. v-index_db
  3. v index_db
  4. v$index_db

8693. What is done in the following PL/SQL code – INVALID_DATE EXCEPTION;

  1. An exception is handle
  2. An exception is associate
  3. An exception is declare
  4. An exception is raise

8694. Which line of the following code has an error? 1 X := Y + 200; 2 IF X < 10 THEN 3 Y := 30; 4 ELSEIF X < 40 THEN 5 Y := 20; 6 END IF;

  1. Line 2
  2. Line 5
  3. Line 3
  4. Line 4

8695. Which variable value changes, after every row fetch

  1. %ISCLOSE
  2. %ROWCOUNT
  3. %ISOPEN
  4. %DBCOUNT

আমাদের কাছে থাকা লক্ষ লক্ষ মডেল টেস্ট থেকে প্রাকটিজের জন্য কিছু এখানে তুলে ধরা হল। প্রতিটি অধ্যায়ের উপরে ইশিখন.কম কুইজ চ্যালেঞ্জ এ আছে শত শত মডেল টেস্ট বার বার মডেল টেস্ট দিয়ে নিজেকে যাচাই কর এবং পুরো বাংলাদেশের সকল শিক্ষার্থীর সাথে আপনার মেধা তালিকা দেখুন। প্রশ্নে কোন প্রকার ভুল থাকলে সঠিক উত্তরসহ নিচে কমেন্ট করে জানাবেন, আমরা ঠিক করে দেবো।

Leave a Reply

স্যার, কিভাবে আপনাকে সাহায্য করতে পারি?

Click one of our representatives below

Customer Support
Customer Support

Syeda Nusrat

I am online

I am offline

Technical Support
Technical Support

Ariful Islam Aquib

I am online

I am offline