InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 701. |
What Are The Disadvantages Of The Client/server Model ? |
|
Answer» Heterogeneity of the system results in reduced reliablity, it MAY not be SUITABLE for all applications. MANAGING and tuning networks BECOMES difficult. Heterogeneity of the system results in reduced reliablity, it May not be suitable for all applications. Managing and tuning networks becomes difficult. |
|
| 703. |
What Is The First Work Of Client Process ? |
|
Answer» A CLIENT PROCESS at FIRST ESTABLISHES connection with the SERVER. A client process at first establishes connection with the Server. |
|
| 704. |
What Are The Responsibilities Of A Server ? |
| Answer» | |
| 705. |
What Is The Main Advantage Of Developing An Application Using An Api ? |
|
Answer» The application can be CONNECTED to any BACK END SERVER that is supported by the API. The application can be connected to any back end server that is supported by the API. |
|
| 706. |
What Is The Main Disadvantage Of Developing An Application Using An Api ? |
|
Answer» The APPLICATION cannot use any SPECIAL features of the backend SERVER. The application cannot use any special features of the backend server. |
|
| 707. |
Why Is An Event Driven Program Referred To A Passive Program ? |
|
Answer» Because an event DRIVEN PROGRAM is ALWAYS waiting for SOMETHING to happen before processing. Because an event driven program is always waiting for something to happen before processing. |
|
| 708. |
What Are The Four Types Of Events ? |
| Answer» | |
| 709. |
What Is The Difference Between File Server And A Database Server ? |
|
Answer» A file server just TRANSFERS all the data requested by all its client and the client PROCESSES the data while a database server RUNS the QUERY and SENDS only the query output. A file server just transfers all the data requested by all its client and the client processes the data while a database server runs the query and sends only the query output. |
|
| 710. |
What Is Inheritance ? |
|
Answer» Inheritance is a method by which properties and METHODS of an existing object are automatically PASSED to any object DERIVED from it. Inheritance is a method by which properties and methods of an existing object are automatically passed to any object derived from it. |
|
| 711. |
What Are The Two Components Of Odbc ? |
|
Answer» 1. An ODBC manager/administrator and 1. An ODBC manager/administrator and |
|
| 712. |
What Is The Function Of A Odbc Manager ? |
|
Answer» The ODBC Manager MANAGES all the DATA sources that EXISTS in the SYSTEM. The ODBC Manager manages all the data sources that exists in the system. |
|
| 713. |
What Is The Function Of A Odbc Driver ? |
|
Answer» The ODBC DRIVER ALLOWS the developer to talk to the back END database. The ODBC Driver allows the developer to talk to the back end database. |
|
| 714. |
What Description Of A Data Source Is Required For Odbc ? |
| Answer» | |
| 715. |
How Is A Connection Establised By Odbc ? |
|
Answer» ODBC uses the description of the datasource available in the ODBC.INI file to load the required drivers to access that PARTICULAR back end DATABASE. ODBC uses the description of the datasource available in the ODBC.INI file to load the required drivers to access that particular back end database. |
|
| 716. |
What Is A Mutating Table Error And How Can You Get Around It? |
|
Answer» This happens with TRIGGERS. It occurs because the trigger is trying to update a row it is CURRENTLY using. The usual fix involves either use of views or temporary tables so the DATABASE is SELECTING from one while updating the other. This happens with triggers. It occurs because the trigger is trying to update a row it is currently using. The usual fix involves either use of views or temporary tables so the database is selecting from one while updating the other. |
|
| 717. |
Describe The Use Of %rowtype And %type In Pl/sql? |
|
Answer» %ROWTYPE allows you to ASSOCIATE a VARIABLE with an entire table row. The %TYPE associates a variable with a single COLUMN type. %ROWTYPE allows you to associate a variable with an entire table row. The %TYPE associates a variable with a single column type. |
|
| 718. |
Describe The Use Of Pl/sql Tables ? |
|
Answer» PL/SQL tables are SCALAR arrays that can be REFERENCED by a binary integer. They can be used to hold VALUES for use in LATER queries or calculations. In Oracle 8 they will be able to be of the %ROWTYPE designation, or RECORD. PL/SQL tables are scalar arrays that can be referenced by a binary integer. They can be used to hold values for use in later queries or calculations. In Oracle 8 they will be able to be of the %ROWTYPE designation, or RECORD. |
|
| 719. |
When Is A Declare Statement Needed ? |
|
Answer» The DECLARE statement is USED in PL/SQL anonymous blocks such as with STAND alone, nonstored PL/SQL procedures. It MUST come FIRST in a PL/SQL stand alone file if it is used. The DECLARE statement is used in PL/SQL anonymous blocks such as with stand alone, nonstored PL/SQL procedures. It must come first in a PL/SQL stand alone file if it is used. |
|
| 720. |
What Are Sqlcode And Sqlerrm And Why They Are Important For Pl/sql Developers? |
|
Answer» SQLCODE returns the value of the error number for the last error ENCOUNTERED. The SQLERRM returns the actual error message for the last error encountered. They can be USED in EXCEPTION handling to report, or, store in an error log table, the error that occurred in the code. These are especially useful for the WHEN OTHERS exception. SQLCODE returns the value of the error number for the last error encountered. The SQLERRM returns the actual error message for the last error encountered. They can be used in exception handling to report, or, store in an error log table, the error that occurred in the code. These are especially useful for the WHEN OTHERS exception. |
|
| 721. |
How Can You Find Within A Pl/sql Block, If A Cursor Is Open? |
|
Answer» USE the %ISOPEN CURSOR STATUS VARIABLE. Use the %ISOPEN cursor status variable. |
|
| 722. |
How Can You Generate Debugging Output From Pl/sql? |
|
Answer» Use the DBMS_OUTPUT PACKAGE. ANOTHER possible method is to just use the SHOW ERROR command, but this only shows errors. The DBMS_OUTPUT package can be used to show intermediate results from LOOPS and the STATUS of VARIABLES as the procedure is executed. The new package UTL_FILE can also be used. Use the DBMS_OUTPUT package. Another possible method is to just use the SHOW ERROR command, but this only shows errors. The DBMS_OUTPUT package can be used to show intermediate results from loops and the status of variables as the procedure is executed. The new package UTL_FILE can also be used. |
|
| 723. |
What Are The Types Of Triggers? |
|
Answer» There are 12 types of TRIGGERS in PL/SQL that CONSIST of COMBINATIONS of the BEFORE, AFTER, ROW, TABLE, INSERT, UPDATE, DELETE and ALL key WORDS:
There are 12 types of triggers in PL/SQL that consist of combinations of the BEFORE, AFTER, ROW, TABLE, INSERT, UPDATE, DELETE and ALL key words: |
|
| 724. |
You Want To Include A Carriage Return/linefeed In Your Output From A Sql Script, How Can You Do This? |
|
Answer» The best method is to USE the CHR() function (CHR(10) is a return/linefeed) and the concatenation function "||". ANOTHER method, although it is hard to document and isn't always portable is to use the return/linefeed as a PART of a quoted string. The best method is to use the CHR() function (CHR(10) is a return/linefeed) and the concatenation function "||". Another method, although it is hard to document and isn't always portable is to use the return/linefeed as a part of a quoted string. |
|
| 725. |
How Can You Call A Pl/sql Procedure From Sql? |
|
Answer» By USE of the EXECUTE (short form EXEC) COMMAND. By use of the EXECUTE (short form EXEC) command. |
|
| 726. |
How Do You Execute A Host Operating System Command From Within Sql? |
|
Answer» By USE of the exclamation POINT "!" (in UNIX and some other OS) or the HOST (HO) command. By use of the exclamation point "!" (in UNIX and some other OS) or the HOST (HO) command. |
|
| 727. |
What Sqlplus Command Is Used To Format Output From A Select? |
|
Answer» This is BEST DONE with the COLUMN COMMAND. This is best done with the COLUMN command. |
|
| 728. |
You Want To Group The Following Set Of Select Returns, What Can You Group On? |
|
Answer» MAX(sum_of_cost), min(sum_of_cost), count(item_no), item_no. The only COLUMN that can be grouped on is the "item_no" column, the REST have aggregate FUNCTIONS ASSOCIATED with them. Max(sum_of_cost), min(sum_of_cost), count(item_no), item_no. The only column that can be grouped on is the "item_no" column, the rest have aggregate functions associated with them. |
|
| 729. |
What Special Oracle Feature Allows You To Specify How The Cost Based System Treats A Sql Statement? |
|
Answer» The COST BASED system allows the use of HINTs to control the optimizer PATH selection. If they can GIVE some example hints such as FIRST ROWS, ALL ROWS, USING INDEX, STAR, even better. The COST based system allows the use of HINTs to control the optimizer path selection. If they can give some example hints such as FIRST ROWS, ALL ROWS, USING INDEX, STAR, even better. |
|
| 730. |
What Is A Cartesian Product? |
|
Answer» CARTESIAN product is the RESULT of an unrestricted join of two or more tables. The result set of a three table Cartesian product will have x * y * z number of ROWS where x, y, z CORRESPOND to the number of rows in each table involved in the join. Cartesian product is the result of an unrestricted join of two or more tables. The result set of a three table Cartesian product will have x * y * z number of rows where x, y, z correspond to the number of rows in each table involved in the join. |
|
| 731. |
What Is The Default Ordering Of An Order By Clause In A Select Statement? |
|
Answer» Ascending. Ascending. |
|
| 732. |
What Is Tkprof And How Is It Used? |
|
Answer» The tkprof tool is a TUNING tool USED to DETERMINE cpu and EXECUTION TIMES for SQL statements. The tkprof tool is a tuning tool used to determine cpu and execution times for SQL statements. |
|
| 733. |
What Is Explain Plan And How Is It Used? |
|
Answer» The EXPLAIN PLAN command is a tool to TUNE SQL statements. To use it you must have an explain_table generated in the user you are RUNNING the explain plan for. This is created using the utlxplan.sql script. Once the explain plan table exists you run the explain plan command giving as its argument the SQL STATEMENT to be explained. The explain_plan table is then queried to see the EXECUTION plan of the statement. Explain plans can also be run using tkprof. The EXPLAIN PLAN command is a tool to tune SQL statements. To use it you must have an explain_table generated in the user you are running the explain plan for. This is created using the utlxplan.sql script. Once the explain plan table exists you run the explain plan command giving as its argument the SQL statement to be explained. The explain_plan table is then queried to see the execution plan of the statement. Explain plans can also be run using tkprof. |
|
| 734. |
How Do You Prevent Output From Coming To The Screen? |
|
Answer» The SET option TERMOUT controls OUTPUT to the SCREEN. Setting TERMOUT OFF TURNS off screen output. This option can be shortened to TERM. The SET option TERMOUT controls output to the screen. Setting TERMOUT OFF turns off screen output. This option can be shortened to TERM. |
|
| 735. |
How Do You Prevent Oracle From Giving You Informational Messages During And After A Sql Statement Execution? |
|
Answer» The SET OPTIONS FEEDBACK and VERIFY can be set to OFF. The SET options FEEDBACK and VERIFY can be set to OFF. |
|
| 736. |
How Do You Generate File Output From Sql? |
|
Answer» By use of the SPOOL command. |
|
| 737. |
What Are The Differences Between Ebu And Rman? |
|
Answer» Enterprise Backup Utility (EBU) is a functionally rich, HIGH PERFORMANCE interface for backing up Oracle7 DATABASES. It is sometimes referred to as OEBU for Oracle Enterprise Backup Utility. The Oracle Recovery Manager (RMAN) utility that SHIPS with Oracle8 and above is similar to Oracle7's EBU utility. However, there is no direct upgrade path from EBU to RMAN. Enterprise Backup Utility (EBU) is a functionally rich, high performance interface for backing up Oracle7 databases. It is sometimes referred to as OEBU for Oracle Enterprise Backup Utility. The Oracle Recovery Manager (RMAN) utility that ships with Oracle8 and above is similar to Oracle7's EBU utility. However, there is no direct upgrade path from EBU to RMAN. |
|
| 738. |
What Is A Physical Page ? & What Is A Logical Page ? |
|
Answer» A PHYSICAL PAGE is a SIZE of a page. That is output by the printer. The logical page is the size of ONE page of the actual report as seen in the Previewer. A physical page is a size of a page. That is output by the printer. The logical page is the size of one page of the actual report as seen in the Previewer. |
|
| 739. |
What Is A Property Clause? |
|
Answer» A PROPERTY clause is a named object that contains a list of properties and their settings. Once you CREATE a property clause you can base other object on it. An object based on a property can INHERIT the setting of any property in the clause that makes SENSE for that object. A property clause is a named object that contains a list of properties and their settings. Once you create a property clause you can base other object on it. An object based on a property can inherit the setting of any property in the clause that makes sense for that object. |
|
| 740. |
What Is A Record Group? |
|
Answer» A RECORD group is an internal Oracle Forms that structure that has a column/row framework similar to a database table. HOWEVER, UNLIKE database tables, record groups are separate objects that belong to the form module which they are DEFINED. A record group is an internal Oracle Forms that structure that has a column/row framework similar to a database table. However, unlike database tables, record groups are separate objects that belong to the form module which they are defined. |
|
| 741. |
What Is A Static Record Group? |
|
Answer» A static record GROUP is not associated with a QUERY, RATHER, you DEFINE its STRUCTURE and row values at design time, and they remain fixed at runtime. A static record group is not associated with a query, rather, you define its structure and row values at design time, and they remain fixed at runtime. |
|
| 742. |
What Is The User-named Editor? |
|
Answer» A user named editor has the same text EDITING functionality as the default editor, but, because it is a named OBJECT, you can specify editor ATTRIBUTES such as WINDOWS display size, position, and title. A user named editor has the same text editing functionality as the default editor, but, because it is a named object, you can specify editor attributes such as windows display size, position, and title. |
|
| 743. |
What Is An User Exit Used For? |
|
Answer» A way in which to PASS CONTROL (and possibly arguments ) form Oracle REPORT to another Oracle products of 3GL and then return control ( and ) back to Oracle REPORTS. A way in which to pass control (and possibly arguments ) form Oracle report to another Oracle products of 3GL and then return control ( and ) back to Oracle reports. |
|
| 744. |
What Are The Built -in's Used For Modifying A Groups Structure? |
| Answer» | |
| 745. |
At What Point Of Report Execution Is The Before Report Trigger Fired? |
|
Answer» After the QUERY is EXECUTED but before the REPORT is executed and the RECORDS are DISPLAYED. After the query is executed but before the report is executed and the records are displayed. |
|
| 746. |
What Is An Lov? |
|
Answer» An LOV is a SCROLLABLE POPUP window that PROVIDES the operator with either a SINGLE or MULTI column selection list. An LOV is a scrollable popup window that provides the operator with either a single or multi column selection list. |
|
| 747. |
What Is An Object Group? |
|
Answer» An object group is a CONTAINER for a group of OBJECTS; you DEFINE an object group when you want to PACKAGE related objects, so that you copy or reference them in other MODULES. An object group is a container for a group of objects; you define an object group when you want to package related objects, so that you copy or reference them in other modules. |
|
| 748. |
What Is The Difference Between Ole Server & Ole Container? |
|
Answer» An Ole server application creates ole OBJECTS that are embedded or LINKED in ole CONTAINERS, ex. Ole servers are ms_word & ms_excel. OLE containers provide a place to store, DISPLAY and manipulate objects that are created by ole server applications. Ex. ORACLE forms is an example of an ole Container. An Ole server application creates ole Objects that are embedded or linked in ole Containers, ex. Ole servers are ms_word & ms_excel. OLE containers provide a place to store, display and manipulate objects that are created by ole server applications. Ex. oracle forms is an example of an ole Container. |
|
| 749. |
What Is Coordination Event? |
|
Answer» Any EVENT that makes a DIFFERENT record in the master block the CURRENT record is a coordination CAUSING event. Any event that makes a different record in the master block the current record is a coordination causing event. |
|
| 750. |
Where Is A Procedure Return In An External Pl/sql Library Executed At The Client Or At The Server? |
|
Answer» At the CLIENT. At the client. |
|