bcs computer basic 

 

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

 programming |  8636. Which data dictionary view will have the stored program (named block) code?

  1. USER_OBJECTS
  2. USER_SOURCE
  3. USER_PROCEDURES
  4. DBA_VIEWS

8637. Which value stored in SQLCODE for user-defined exception is not associated with code

  1. 1
  2. 0
  3. -1
  4. NULL

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

  1. Assignment operation is not permitted in the declaration section.
  2. A Boolean variable cannot be assigned a character string value.
  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.

8639. A _______ is a PL/SQL stored program that fires when an event occurs.

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

8640. What is the built-in function used to determine the place of a character in the collating sequence of the character set used by the database

  1. ASCII
  2. CHARCOLLATE
  3. COLLATE
  4. COLLATECHAR

8641. How does the assignment of a code to user-defined exception is done

  1. pragma exception_user_code_init
  2. pragma exception_init
  3. pragma exception_user_code
  4. pragma init_exception

8642. Which statement is valid, given – CREATE TYPE t1 AS OBJECT (x number); / CREATE TABLE ot1 OF t1; BEGIN

  1. INSERT INTO ot1 VALUES ( t1(10) );
  2. INSERT INTO ot1 VALUES ( 30 );
  3. All of the above
  4. INSERT INTO ot1 VALUES ( 20 );

8643. What will the value of X_STATUS be when the following code is executed : DECLARE X_BONUS NUMBER DEFAULT 10; X_COMMISSION NUMBER DEFAULT 30; X_STATUS BOOLEAN; BEGIN X_STATUS := X_BONUS < X_COMMISSION; END;

  1. TRUE
  2. FALSE
  3. NULL
  4. UNDEFINED

8644. Select the type of loop appropriate to meet the following requirement: To set the status of each company whose company IDs are stored in a PL/SQL table to closed.

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

8645. The built-in function used to find the last blank in a string, is

  1. SUBSTR
  2. LPAD
  3. TRUNC
  4. INSTR

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

আমাদের অন্যান্য সেবাঃ
ডোমেইন হোস্টিংঃ http://hostbelt.com

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