অণুজীব

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

8746. Which collection type can be sparse

  1. VARRAY
  2. Index-by table
  3. Nested table and VARRAY
  4. Nested table and index-by table

8747. Select the type of loop appropriate to meet the following requirement: Display the name and address of each employee returned by the cursor..

  1. FOR numeric loop
  2. Cursor FOR loop
  3. While loop
  4. DO-WHILE loop

8748. What is the value of X when the following block of code is executed : DECLARE X NUMBER := 0; BEGIN FOR I in 5 .. 5 LOOP X := I; END LOOP; END;

  1. NULL
  2. 0
  3. UNDEFINED
  4. 5

8749. What is the output of the following code block, if ‘eName’ is column name in emp : declare ename VARCHAR2(10):=’KING’; begin update emp set sal = sal * 10 where eName = eName; end;

  1. No update takes place but error is logged
  2. Script is halted and error shown
  3. All rows have updated value in sal
  4. Row with ‘KING’ value is updated

8750. How many bytes to store a character are used by NCLOB data type

  1. 2
  2. 8
  3. 1
  4. 16

8751. What is the value of X when the following block is executed? declare X number := 0; begin X := 10; FOR V_COUNTER in 1 .. 10 LOOP X := X + 10; END LOOP; end;

  1. 10
  2. 100
  3. 1
  4. 110

8752. Which line of the code has an error? 1 declare 2 X1 number := 0; 3 1Y number := 0; 4 begin 5 X := 10; 6 1Y := X + 1Y; 7 end;

  1. Line 2
  2. Line 5
  3. The code has no error
  4. Line 3

8753. What type of constraint can be defined when you declare a variable?

  1. No constraints can be defined on a variable.
  2. NOT NULL constraint.
  3. Check constraint and NOT NULL constraint.
  4. Check constraint.

8754. Which data types does not exist in SQL

  1. CHAR
  2. BOOLEAN
  3. FLOAT
  4. INT

8755. Why does the following statement in the declaration section fail : PRODUCT_IN_STOCK BOOLEAN := ‘TRUE’;

  1. A Boolean variable cannot be assigned a character string value.
  2. Assignment operation is not permitted in the declaration section.
  3. The size/width for the PRODUCT_IN_STOCK variable is not defined.
  4. BOOLEAN is not a valid data type supported by PL/SQL.

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

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