Oracle written text and Pattern
Section 1:Aptitude: 30 questions. concentration is more on the English part.
a) There
will be a sentence and two fill ups. Choice were given to fill the
blanks.
b) Analogy
c) There will be 4 sentences. You have to arrange them in order.
d) Only 6-7 questions from apti.
b) Analogy
c) There will be 4 sentences. You have to arrange them in order.
d) Only 6-7 questions from apti.
Section 2:Technical:
30 questions.
a) C questions. around 8.
b) C++ questions around 2.
c) Java 2 questions.
d) Reaming were SQL.
Note: No negative marking.
Time 1 hr
a) C questions. around 8.
b) C++ questions around 2.
c) Java 2 questions.
d) Reaming were SQL.
Note: No negative marking.
Time 1 hr
1.
SNAPSHOT is used for [DBA]
a. Synonym, b. Table space, c System server, d Dynamic data replication Ans : D
a. Synonym, b. Table space, c System server, d Dynamic data replication Ans : D
2.
We can create SNAPSHOTLOG for[DBA]
a. Simple snapshots, b. Complex snapshots, c. Both A & B, d Neither A nor B Ans : A
a. Simple snapshots, b. Complex snapshots, c. Both A & B, d Neither A nor B Ans : A
3.
Transactions per rollback segment is
derived from[DBA]
a. Db_Block_Buffers, b. Processes, c. Shared_Pool_Size, d. None of the above
Ans : B
a. Db_Block_Buffers, b. Processes, c. Shared_Pool_Size, d. None of the above
Ans : B
4.
ENQUEUE resources parameter information
is derived from[DBA]
a. Processes or DDL_LOCKS and DML_LOCKS, b. LOG_BUFFER, c. DB__BLOCK_SIZE..
Ans : A
a. Processes or DDL_LOCKS and DML_LOCKS, b. LOG_BUFFER, c. DB__BLOCK_SIZE..
Ans : A
5.
LGWR process writes information into
a Database files, b Control files, c Redolog files, d All the above. Ans : C
a Database files, b Control files, c Redolog files, d All the above. Ans : C
6.
SET TRANSACTION USE
ROLLBACK SEGMENT is used to create user objects in a particular Tablespace
a True, b False Ans : False
a True, b False Ans : False
7.
Databases overall structure is
maintained in a file called
a Redolog file, b Data file, c Control file, d All of the above.
Ans : C
a Redolog file, b Data file, c Control file, d All of the above.
Ans : C
8.
These following parameters are optional
in init.ora parameter file DB_BLOCK_SIZE, PROCESSES
a True, b False Ans : False
a True, b False Ans : False
9.
Constraints cannot be exported through
EXPORT command
a True, b False Ans : False
a True, b False Ans : False
10.
It is very difficult to grant and manage common privileges needed by different
groups of database users using the roles
a True, b False Ans : False
a True, b False Ans : False
11.
What is difference between a DIALOG
WINDOW and a DOCUMENT WINDOW regarding moving the window
with respect to the application window
a Both windows behave the same way as far as moving the window is concerned.
b A document window can be moved outside the application window while a dialog window cannot be moved
c A dialog window can be moved outside the application window while a document window cannot be moved
Ans : C
a Both windows behave the same way as far as moving the window is concerned.
b A document window can be moved outside the application window while a dialog window cannot be moved
c A dialog window can be moved outside the application window while a document window cannot be moved
Ans : C
12.
What is the difference between a
MESSAGEBOX and an ALERT
a.
A messagebox can be used only by the
system and cannot be used in user application while an alert can be used in user application also.
b.
A alert can be used only by the system
and cannot be use din user application while an messagebox can be used
in user application also.
c.
An alert requires an response from the
userwhile a messagebox just flashes a message
and only requires an acknowledment from the user
and only requires an acknowledment from the user
d.
An message box requires an
response from the userwhile a alert just flashes a message an only
requires an acknowledment from the user Ans : C
requires an acknowledment from the user Ans : C
13.
Which of the following is not an reason
for the fact that most of the processing is done at the server ?
a To reduce network traffic. b For application sharing, c To implement business rules centrally,
d None of the above
Ans : D
a To reduce network traffic. b For application sharing, c To implement business rules centrally,
d None of the above
Ans : D
14.
Can a DIALOG WINDOW have scroll
bar attached to it ?
a Yes, b No Ans : B
a Yes, b No Ans : B
15.
Which of the following is not an
advantage of GUI systems ?
a. Intuitive and easy to use., b. GUI's can display multiple applications in multiple windows
c. GUI's provide more user interface objects for a developer d. None of the above
Ans :D
a. Intuitive and easy to use., b. GUI's can display multiple applications in multiple windows
c. GUI's provide more user interface objects for a developer d. None of the above
Ans :D
16.
What is the difference between a LIST
BOX and a COMBO BOX ?
a In the list box, the user is
restricted to selecting a value from a list but in a combo box the user
can type in value which is not in the list
c In a combo box, the user is
restricted to selecting a value from a list but in a list box the
user can type in a value which is not in the list
user can type in a value which is not in the list
d None of the above
Ans : A
Ans : A
17.
In a CLIENT/SERVER environment , which
of the following would not be done at the client ?
a User interface part, b Data validation at entry line, c Responding to user events,
d None of the above Ans : D
a User interface part, b Data validation at entry line, c Responding to user events,
d None of the above Ans : D
18.
Why is it better to use an INTEGRITY CONSTRAINT to validate data in a table
than to use a STORED
PROCEDURE ?
a Because an integrity constraint is automatically checked while data is inserted into or updated in a table while a stored procedure has to be specifically invoked
b Because the stored procedure occupies more space in the database than a integrity constraint definition
c Because a stored procedure creates more network traffic than a integrity constraint definition
Ans : A
PROCEDURE ?
a Because an integrity constraint is automatically checked while data is inserted into or updated in a table while a stored procedure has to be specifically invoked
b Because the stored procedure occupies more space in the database than a integrity constraint definition
c Because a stored procedure creates more network traffic than a integrity constraint definition
Ans : A
19.
Which of the following is not an
advantage of a client/server model ?
a. A client/server model allows centralised control of data and centralised implementation of business rules.
b A client/server model increases developer;s productivity
c A client/server model is suitable for all applications
d None of the above.
Ans : C
a. A client/server model allows centralised control of data and centralised implementation of business rules.
b A client/server model increases developer;s productivity
c A client/server model is suitable for all applications
d None of the above.
Ans : C
20.
What does DLL stands for ?
a Dynamic Language Library
b Dynamic Link Library
c Dynamic Load Library
d None of the above
Ans : B
a Dynamic Language Library
b Dynamic Link Library
c Dynamic Load Library
d None of the above
Ans : B
21.
POST-BLOCK trigger is a
a Navigational trigger
b Key trigger
c Transactional trigger
d None of the above
Ans : A
a Navigational trigger
b Key trigger
c Transactional trigger
d None of the above
Ans : A
22.
The system variable that records the select statement that SQL * FORMS
most recently used
to populate a block is
a SYSTEM.LAST_RECORD
b SYSTEM.CURSOR_RECORD
c SYSTEM.CURSOR_FIELD
d SYSTEM.LAST_QUERY
Ans: D
to populate a block is
a SYSTEM.LAST_RECORD
b SYSTEM.CURSOR_RECORD
c SYSTEM.CURSOR_FIELD
d SYSTEM.LAST_QUERY
Ans: D
23.
Which of the following is TRUE for the
ENFORCE KEY field
a ENFORCE KEY field characterstic indicates the source of the value that SQL*FORMS uses to populate the field
b A field with the ENFORCE KEY characterstic should have the INPUT ALLOWED charaterstic turned off
a Only 1 is TRUE
b Only 2 is TRUE
c Both 1 and 2 are TRUE
d Both 1 and 2 are FALSE
Ans : A
a ENFORCE KEY field characterstic indicates the source of the value that SQL*FORMS uses to populate the field
b A field with the ENFORCE KEY characterstic should have the INPUT ALLOWED charaterstic turned off
a Only 1 is TRUE
b Only 2 is TRUE
c Both 1 and 2 are TRUE
d Both 1 and 2 are FALSE
Ans : A
24.
What is the maximum size of the page ?
a Characters wide & 265 characters length
b Characters wide & 265 characters length
c Characters wide & 80 characters length
d None of the above
Ans : B
a Characters wide & 265 characters length
b Characters wide & 265 characters length
c Characters wide & 80 characters length
d None of the above
Ans : B
25.
A FORM is madeup of which of the
following objects
a block, fields only,
b blocks, fields, pages only,
c blocks, fields, pages, triggers and form level procedures,
d Only blocks.
Ans : C
a block, fields only,
b blocks, fields, pages only,
c blocks, fields, pages, triggers and form level procedures,
d Only blocks.
Ans : C
26.
For the following statements
which is
true
1 Page is an object owned by a form
2 Pages are a collection of display information such as constant text and graphics.
a Only 1 is TRUE
b Only 2 is TRUE
c Both 1 & 2 are TRUE
d Both are FALSE
Ans : B
1 Page is an object owned by a form
2 Pages are a collection of display information such as constant text and graphics.
a Only 1 is TRUE
b Only 2 is TRUE
c Both 1 & 2 are TRUE
d Both are FALSE
Ans : B
27.
The packaged procedure that makes data in form permanent in
the Database is
a Post
b Post form
c Commit form
d None of the above
Ans : C
a Post
b Post form
c Commit form
d None of the above
Ans : C
28.
Which of the following is TRUE
for the SYSTEM VARIABLE $$date$$
a Can be assigned to a global variable
b Can be assigned to any field only during design time
c Can be assigned to any variable or field during run time
d None of the above
Ans : B
a Can be assigned to a global variable
b Can be assigned to any field only during design time
c Can be assigned to any variable or field during run time
d None of the above
Ans : B
29.
Which of the following packaged procedure is UNRESTRICTED ?
a CALL_INPUT, b CLEAR_BLOCK, c EXECUTE_QUERY, d USER_EXIT
Ans : D
a CALL_INPUT, b CLEAR_BLOCK, c EXECUTE_QUERY, d USER_EXIT
Ans : D
30.
Identify the RESTRICTED packaged procedure from the
following
a USER_EXIT, b MESSAGE, c BREAK, d EXIT_FORM
Ans : D
a USER_EXIT, b MESSAGE, c BREAK, d EXIT_FORM
Ans : D
31.
What is SQL*FORMS
a SQL*FORMS is a 4GL tool for developing & executing Oracle based interactive applications.
b SQL*FORMS is a 3GL tool for connecting to the Database.
c SQL*FORMS is a reporting tool
d None of the above.
Ans : A
a SQL*FORMS is a 4GL tool for developing & executing Oracle based interactive applications.
b SQL*FORMS is a 3GL tool for connecting to the Database.
c SQL*FORMS is a reporting tool
d None of the above.
Ans : A
32.
Name the two files that are created
when you generate a form using Forms 3.0
a FMB & FMX, b FMR & FDX, c INP & FRM, d None of the above
Ans : C
a FMB & FMX, b FMR & FDX, c INP & FRM, d None of the above
Ans : C
33.
What is a trigger
a A piece of logic written in PL/SQL
b Executed at the arrival of a SQL*FORMS event
c Both A & B
d None of the above
Ans : C
a A piece of logic written in PL/SQL
b Executed at the arrival of a SQL*FORMS event
c Both A & B
d None of the above
Ans : C
34.
Which of the folowing is TRUE for a
ERASE packaged procedure
1 ERASE removes an indicated Global variable & releases the memory associated with it
2 ERASE is used to remove a field from a page
1 Only 1 is TRUE
2 Only 2 is TRUE
3 Both 1 & 2 are TRUE
4 Both 1 & 2 are FALSE
Ans : 1
1 ERASE removes an indicated Global variable & releases the memory associated with it
2 ERASE is used to remove a field from a page
1 Only 1 is TRUE
2 Only 2 is TRUE
3 Both 1 & 2 are TRUE
4 Both 1 & 2 are FALSE
Ans : 1
35.
All datafiles related to a Tablespace
are removed when the Tablespace is dropped
a TRUE
b FALSE
Ans : B
a TRUE
b FALSE
Ans : B
36.
Size of Tablespace can be increased by
a Increasing the size of one of the Datafiles
b Adding one or more Datafiles
c Cannot be increased
d None of the above
Ans : B
a Increasing the size of one of the Datafiles
b Adding one or more Datafiles
c Cannot be increased
d None of the above
Ans : B
38.
A set of Dictionary tables are created
a Once for the Entire Database
b Every time a user is created
c Every time a Tablespace is created
d None of the above
Ans : A
a Once for the Entire Database
b Every time a user is created
c Every time a Tablespace is created
d None of the above
Ans : A
39.
Datadictionary can span across multiple
Tablespaces
a TRUE
b FALSE
Ans : B
a TRUE
b FALSE
Ans : B
40.
What is a DATABLOCK
a Set of Extents
b Set of Segments
c Smallest Database storage unit
d None of the above
Ans : C
a Set of Extents
b Set of Segments
c Smallest Database storage unit
d None of the above
Ans : C
41.
Can an Integrity Constraint be enforced
on a table if some existing table data does not satisfy the constraint
a Yes
b No
Ans : B
a Yes
b No
Ans : B
42.
A column defined as PRIMARY KEY can
have NULL's
a TRUE
b FALSE
Ans : B
a TRUE
b FALSE
Ans : B
43.
A Transaction ends
a Only when it is Committed
b Only when it is Rolledback
c When it is Committed or Rolledback
d None of the above
Ans : C
a Only when it is Committed
b Only when it is Rolledback
c When it is Committed or Rolledback
d None of the above
Ans : C
44.
A Database Procedure is stored in the
Database
a In compiled form
b As source code
c Both A & B
d Not stored
Ans : C
a In compiled form
b As source code
c Both A & B
d Not stored
Ans : C
45.
A database trigger doesnot apply to
data loaded before the definition of the trigger
a TRUE
b FALSE
Ans : A
a TRUE
b FALSE
Ans : A
46.
Dedicated server configuration is
a One server process - Many user processes
b Many server processes - One user process
c One server process - One user process
d Many server processes - Many user processes
Ans : C
a One server process - Many user processes
b Many server processes - One user process
c One server process - One user process
d Many server processes - Many user processes
Ans : C
47.
Which of the following does not affect
the size of the SGA
a Database buffer
b Redolog buffer
c Stored procedure
d Shared pool
Ans : C
a Database buffer
b Redolog buffer
c Stored procedure
d Shared pool
Ans : C
48.
What does a COMMIT statement do to a
CURSOR
a Open the Cursor
b Fetch the Cursor
c Close the Cursor
d None of the above
Ans : D
a Open the Cursor
b Fetch the Cursor
c Close the Cursor
d None of the above
Ans : D
49.
Which of the following is TRUE
1 Host variables are declared anywhere in the program
2 Host variables are declared in the DECLARE section
a Only 1 is TRUE
b Only 2 is TRUE
c Both 1 & 2are TRUE
d Both are FALSE
Ans : B
1 Host variables are declared anywhere in the program
2 Host variables are declared in the DECLARE section
a Only 1 is TRUE
b Only 2 is TRUE
c Both 1 & 2are TRUE
d Both are FALSE
Ans : B
50.
Which of the following is NOT VALID is
PL/SQL
a Bool boolean;
b NUM1, NUM2 number;
c deptname dept.dname%type;
d date1 date := sysdate
Ans : B
a Bool boolean;
b NUM1, NUM2 number;
c deptname dept.dname%type;
d date1 date := sysdate
Ans : B
51.
Declare
fvar number := null; svar number := 5
Begin
goto << fproc>>
if fvar is null then
<< fproc>>
svar := svar + 5
end if;
End;
What will be the value of svar after the execution ?
a Error
b 10
c 5
d None of the above
Ans : A
fvar number := null; svar number := 5
Begin
goto << fproc>>
if fvar is null then
<< fproc>>
svar := svar + 5
end if;
End;
What will be the value of svar after the execution ?
a Error
b 10
c 5
d None of the above
Ans : A
52.
Which of the following is not correct
about an Exception ?
a Raised automatically / Explicitly in response to an ORACLE_ERROR
b An exception will be raised when an error occurs in that block
c Process terminates after completion of error sequence.
d A Procedure or Sequence of statements may be processed.
Ans : C
a Raised automatically / Explicitly in response to an ORACLE_ERROR
b An exception will be raised when an error occurs in that block
c Process terminates after completion of error sequence.
d A Procedure or Sequence of statements may be processed.
Ans : C
53.
Which of the following is not correct
about User_Defined Exceptions
?
a Must be declared
b Must be raised explicitly
c Raised automatically in response to an Oracle error
d None of the above
Ans : C
a Must be declared
b Must be raised explicitly
c Raised automatically in response to an Oracle error
d None of the above
Ans : C
54.
A Stored Procedure is a
a Sequence of SQL or PL/SQL statements to perform specific function
b Stored in compiled form in the database
c Can be called from all client environmets
d All of the above
Ans : D
a Sequence of SQL or PL/SQL statements to perform specific function
b Stored in compiled form in the database
c Can be called from all client environmets
d All of the above
Ans : D
55.
Which of the following statement is
false
a Any procedure can raise an error and return an user message and error number
b Error number ranging from 20000 to 20999 are reserved for user defined messages
c Oracle checks Uniqueness of User defined errors
d Raise_Application_error is used for raising an user defined error.
Ans : C
a Any procedure can raise an error and return an user message and error number
b Error number ranging from 20000 to 20999 are reserved for user defined messages
c Oracle checks Uniqueness of User defined errors
d Raise_Application_error is used for raising an user defined error.
Ans : C
56.
Is it possible to open a cursor which
is in a Package in another procedure ?
a Yes
b No
Ans : A
a Yes
b No
Ans : A
57.
Is it possible to use
Transactional control statements in
Database Triggers?
a Yes
b No
Ans : B
a Yes
b No
Ans : B
58.
Is it possible to Enable or Disable a
Database trigger ?
a Yes
b No
Ans : A
a Yes
b No
Ans : A
59.
PL/SQL supports datatype(s)
a Scalar datatype
b Composite datatype
c All of the above
d None of the above
Ans C
a Scalar datatype
b Composite datatype
c All of the above
d None of the above
Ans C
60.
Find the ODD datatype out
a VARCHAR2
b RECORD
c BOOLEAN
d RAW
Ans : B
a VARCHAR2
b RECORD
c BOOLEAN
d RAW
Ans : B
61.
Which of the following is not correct
about the "TABLE" datatype
?
a Can contain any no of columns
b Simulates a One-dimensional array of unlimited size
c Column datatype of any Scalar type
d None of the above
Ans : A
a Can contain any no of columns
b Simulates a One-dimensional array of unlimited size
c Column datatype of any Scalar type
d None of the above
Ans : A
62.
Find the ODD one out of the following
a OPEN
b CLOSE
c INSERT
d FETCH
Ans C
a OPEN
b CLOSE
c INSERT
d FETCH
Ans C
63.
Which of the following is not correct
about Cursor ?
a Cursor is a named Private SQL area
b Cursor holds temporary results
c Cursor is used for retrieving multiple rows
d SQL uses implicit Cursors to retrieve rows
Ans : B
a Cursor is a named Private SQL area
b Cursor holds temporary results
c Cursor is used for retrieving multiple rows
d SQL uses implicit Cursors to retrieve rows
Ans : B
64.
Which of the following is NOT VALID in
PL/SQL ?
a Select ... into
b Update
c Create
d Delete
Ans : C
a Select ... into
b Update
c Create
d Delete
Ans : C
65.
What is the Result of the following
'VIK'||NULL||'RAM'
?
a Error
b VIK RAM
c VIKRAM
d NULL
Ans : C
a Error
b VIK RAM
c VIKRAM
d NULL
Ans : C
66.
Declare
a number := 5; b number := null; c number := 10;
Begin
if a > b AND a < c then
a := c * a;
end if;
End;
What will be the value of 'a' after execution ?
a 50
b NULL
c 5
d None of the above
Ans : C
a number := 5; b number := null; c number := 10;
Begin
if a > b AND a < c then
a := c * a;
end if;
End;
What will be the value of 'a' after execution ?
a 50
b NULL
c 5
d None of the above
Ans : C
67.
Does the Database trigger will fire
when the table is TRUNCATED ?
a Yes
b No
Ans : B
a Yes
b No
Ans : B
68.
SUBSTR(SQUARE ANS ALWAYS WORK
HARD,14,6) will
return
a ALWAY
b S ALWA
c ALWAYS
Ans : C
a ALWAY
b S ALWA
c ALWAYS
Ans : C
69.
REPLACE('JACK AND JUE','J','BL') will
return
a JACK AND BLUE
b BLACK AND JACK
c BLACK AND BLUE
d None of the above
Ans : C
a JACK AND BLUE
b BLACK AND JACK
c BLACK AND BLUE
d None of the above
Ans : C
70.
TRANSLATE('333SQD234','0123456789ABCDPQRST','0123456789')
will return
a 333234
b 333333
c 234333
d None of the above
Ans : A
a 333234
b 333333
c 234333
d None of the above
Ans : A
71.
EMPNO ENAME SAL
A822 RAMASWAMY 3500
A812 NARAYAN 5000
A973 UMESH 2850
A500 BALAJI 5750
Use these data for the following Questions
Select SAL from EMP E1 where 3 > ( Select count(*) from Emp E2 where E1.SAL > E2.SAL ) will retrieve
a 3500,5000,2500
b 5000,2850
c 2850,5750
d 5000,5750
Ans : A
A822 RAMASWAMY 3500
A812 NARAYAN 5000
A973 UMESH 2850
A500 BALAJI 5750
Use these data for the following Questions
Select SAL from EMP E1 where 3 > ( Select count(*) from Emp E2 where E1.SAL > E2.SAL ) will retrieve
a 3500,5000,2500
b 5000,2850
c 2850,5750
d 5000,5750
Ans : A
72.
Is it possible to modify a Datatype of
a column when column contains data ?
a Yes
b No
Ans B
a Yes
b No
Ans B
73.
Which of the following is not correct
about a View ?
a To protect some of the columns of a table from other users
b Ocuupies data storage space
c To hide complexity of a query
d To hide complexity of a calculations
Ans : B
a To protect some of the columns of a table from other users
b Ocuupies data storage space
c To hide complexity of a query
d To hide complexity of a calculations
Ans : B
74.
Which is not part of the Data Definiton
Language ?
a CREATE
b ALTER
c ALTER SESSION
Ans : C
a CREATE
b ALTER
c ALTER SESSION
Ans : C
75.
The Data Manipulation Language
statements are
a INSERT
b UPDATE
c SELECT
d All of the above
Ans : D
a INSERT
b UPDATE
c SELECT
d All of the above
Ans : D
76.
EMPNO ENAME SAL
A822 RAMASWAMY 3500
A812 NARAYAN 5000
A973 UMESH
A500 BALAJI 5750
Using the above data
Select count(sal) from Emp will retrieve
a 1
b 0
c 3
d None of the above
Ans : C
A822 RAMASWAMY 3500
A812 NARAYAN 5000
A973 UMESH
A500 BALAJI 5750
Using the above data
Select count(sal) from Emp will retrieve
a 1
b 0
c 3
d None of the above
Ans : C
77.
If an UNIQUE KEY constraint on DATE
column is created, will it accept the rows that are inserted with
SYSDATE ?
a Will
b Won't
Ans : B
SYSDATE ?
a Will
b Won't
Ans : B
78.
What are the different events in
Triggers ?
a Define, Create
b Drop, Comment
c Insert, Update, Delete
d All of the above
Ans : C
a Define, Create
b Drop, Comment
c Insert, Update, Delete
d All of the above
Ans : C
79.
What built-in subprogram is used to
manipulate images in image items ?
a Zoom_out
b Zoom_in'
c Image_zoom
d Zoom_image
Ans : C
a Zoom_out
b Zoom_in'
c Image_zoom
d Zoom_image
Ans : C
80.
Can we pass RECORD GROUP between FORMS
?
a Yes
b No
Ans : A
a Yes
b No
Ans : A
81.
SHOW_ALERT function returns
a Boolean
b Number
c Character
d None of the above
Ans : B
a Boolean
b Number
c Character
d None of the above
Ans : B
82.
What SYSTEM VARIABLE is used to refer
DATABASE TIME
?
a $$dbtime$$
b $$time$$
c $$datetime$$
d None of the above
Ans : A
a $$dbtime$$
b $$time$$
c $$datetime$$
d None of the above
Ans : A
83.
SYSTEM.EFFECTIVE.DATE varaible is
a Read only
b Read & Write
c Write only
d None of the above
Ans : C
a Read only
b Read & Write
c Write only
d None of the above
Ans : C
84.
How can you CALL Reports from Forms4.0
?
a Run_Report built_in
b Call_Report built_in
c Run_Product built_in
d Call_Product built_in
Ans : C
a Run_Report built_in
b Call_Report built_in
c Run_Product built_in
d Call_Product built_in
Ans : C
85.
When do you get a .PLL extension ?
a Save Library file
b Generate Library file
c Run Library file
d None of the above
Ans : A
a Save Library file
b Generate Library file
c Run Library file
d None of the above
Ans : A
86.
What is built_in Subprogram ?
a Stored procedure & Function
b Collection of Subprogram
c Collection of Packages
d None of the above
Ans : D
a Stored procedure & Function
b Collection of Subprogram
c Collection of Packages
d None of the above
Ans : D
87.
GET_BLOCK property is a
a Restricted procedure
b Unrestricted procedure
c Library function
d None of the above
Ans : D
a Restricted procedure
b Unrestricted procedure
c Library function
d None of the above
Ans : D
88.
A CONTROL BLOCK can sometimes refer to
a BASETABLE
?
a TRUE
b FALSE
Ans : B
a TRUE
b FALSE
Ans : B
89.
What do you mean by CHECK BOX ?
a Two state control
b One state control
c Three state control
d none of the above
Ans : C - Please check the Correcness of this Answer ( The correct answeris 2 )
a Two state control
b One state control
c Three state control
d none of the above
Ans : C - Please check the Correcness of this Answer ( The correct answeris 2 )
90.
List of Values (LOV) supports
a Single column
b Multi column
c Single or Multi column
d None of the above
Ans : C
a Single column
b Multi column
c Single or Multi column
d None of the above
Ans : C
91.
What is Library in Forms 4.0 ?
a Collection of External field
b Collection of built_in packages
c Collection of PL/SQl functions, procedures and packages
d Collection of PL/SQL procedures & triggers
Ans : C
a Collection of External field
b Collection of built_in packages
c Collection of PL/SQl functions, procedures and packages
d Collection of PL/SQL procedures & triggers
Ans : C
92.
Can we use a RESTRICTED packaged
procedure in WHEN_TEXT_ITEM trigger ?
a Yes
b No
Ans : B
a Yes
b No
Ans : B
93.
Can we use GO_BLOCK package in a
PRE_TEXT_ITEM trigger
?
a Yes
b No
Ans : B
a Yes
b No
Ans : B
94.
What type of file is used for porting
Forms 4.5 applications to various platforms ?
a . FMB file
b . FMX file
c . FMT file
d . EXE file
Ans : C
a . FMB file
b . FMX file
c . FMT file
d . EXE file
Ans : C
95.
What built_in procedure is used to get
IMAGES in Forms 4.5 ?
a READ_IMAGE_FILE
b GET_IMAGE_FILE
c READ_FILE
d GET_FILE
Ans A
a READ_IMAGE_FILE
b GET_IMAGE_FILE
c READ_FILE
d GET_FILE
Ans A
96.
When a form is invoked with CALL_FORM
does Oracle forms issues SAVEPOINT ?
a Yes
b No
Ans : A
a Yes
b No
Ans : A
97.
Can we attach the same LOV to different
fields in Design time
?
a Yes
b No
Ans : A
a Yes
b No
Ans : A
98.
How do you pass values from one form to
another form ?
a LOV
b Parameters
c Local variables
d None of the above
Ans : B
a LOV
b Parameters
c Local variables
d None of the above
Ans : B
99.
Can you copy the PROGRAM UNIT into an
Object group ?
a Yes
b No
Ans : B
100. Can MULTIPLE DOCUMENT INTERFACE (MDI) be used in Forms 4.5 ?
a Yes
b No
Ans : A
a Yes
b No
Ans : B
100. Can MULTIPLE DOCUMENT INTERFACE (MDI) be used in Forms 4.5 ?
a Yes
b No
Ans : A
100. Can MULTIPLE DOCUMENT INTERFACE (MDI) be used in
Forms 4.5 ?
a Yes
b No
Ans : A
a Yes
b No
Ans : A
101. When is a .FMB file extension is created in Forms
4.5
?
a Generating form
b Executing form
c Save form
d Run form
Ans : C
a Generating form
b Executing form
c Save form
d Run form
Ans : C
102. What is a Built_in subprogram ?
a Library
b Stored procedure & Function
c Collection of Subprograms
d None of the above
Ans : D
a Library
b Stored procedure & Function
c Collection of Subprograms
d None of the above
Ans : D
103. What is a RADIO GROUP ?
a Mutually exclusive
b Select more than one column
c Above all TRUE
d Above all FALSE
Ans : A
a Mutually exclusive
b Select more than one column
c Above all TRUE
d Above all FALSE
Ans : A
104. Identify the Odd one of the following statements ?
a Poplist
b Tlist
c List of values
d Combo box
Ans : C
a Poplist
b Tlist
c List of values
d Combo box
Ans : C
105. What is an ALERT ?
a Modeless window
b Modal window
c Both are TRUE
d None of the above
Ans : B
a Modeless window
b Modal window
c Both are TRUE
d None of the above
Ans : B
106. Can an Alert message be changed at runtime ?
a Yes
b No
Ans : A
a Yes
b No
Ans : A
107. Can we create an LOV without an RECORD GROUP
?
a Yes
b No
Ans : B
a Yes
b No
Ans : B
108. How many no of columns can a RECORD GROUP have ?
a 10
b 20
c 50
d None of the above
Ans D
a 10
b 20
c 50
d None of the above
Ans D
109. Oracle precompiler translates the EMBEDDED SQL
statemens into
a Oracle FORMS
b Oracle REPORTS
c Oracle LIBRARY
d None of the above
Ans : D
a Oracle FORMS
b Oracle REPORTS
c Oracle LIBRARY
d None of the above
Ans : D
110. Kind of COMMENT statements placed within SQL
statements ?
a Asterisk(*) in column ?
b ANSI SQL style statements(...)
c C-Style comments (/*......*/)
d All the above
Ans : D
a Asterisk(*) in column ?
b ANSI SQL style statements(...)
c C-Style comments (/*......*/)
d All the above
Ans : D
111. What is TERM ?
a TERM is the terminal definition file that describes the terminal from which you are using R20RUN
( Reports run time )
b TERM is the terminal definition file that describes the terminal from which you are using R20DES
( Reports designer )
c There is no Parameter called TERM in Reports 2.0
d None of the above
Ans : A
a TERM is the terminal definition file that describes the terminal from which you are using R20RUN
( Reports run time )
b TERM is the terminal definition file that describes the terminal from which you are using R20DES
( Reports designer )
c There is no Parameter called TERM in Reports 2.0
d None of the above
Ans : A
112. If the maximum records retrieved property of a
query is set to 10, then a summary value will
be calculated
a Only for 10 records
b For all the records retrieved
c For all therecords in the referenced table
d None of the above
Ans : A
be calculated
a Only for 10 records
b For all the records retrieved
c For all therecords in the referenced table
d None of the above
Ans : A
113. With which function of a summary item in the
COMPUTE AT optio required ?
a Sum
b Standard deviation
c Variance
d % of Total function
Ans : D
a Sum
b Standard deviation
c Variance
d % of Total function
Ans : D
114. For a field in a repeating frame, can the source
come from a column which does not exist in
the datagroup which forms the base of the frame ?
a Yes
b No
Ans : A
the datagroup which forms the base of the frame ?
a Yes
b No
Ans : A
115. What are the different file extensions that are
created by Oracle Reports ?
a . RDF file & .RPX file
b . RDX file & .RDF file
c . REP file & .RDF file
d None of the above
Ans : C
a . RDF file & .RPX file
b . RDX file & .RDF file
c . REP file & .RDF file
d None of the above
Ans : C
116. Is it possible to Disable the Parameter form while
running the report?
a Yes
b No
Ans : A
a Yes
b No
Ans : A
117. What are the SQL clauses supported in the link
property sheet
?
a WHERE & START WITH
b WHERE & HAVING
c START WITH & HAVING
d WHERE, START WITH & HAVING
Ans : D
a WHERE & START WITH
b WHERE & HAVING
c START WITH & HAVING
d WHERE, START WITH & HAVING
Ans : D
118. What are the types of Calculated columns available
?
a Summary, Place holder & Procedure column
b Summary, Procedure & Formula columns
c Procedure, Formula & Place holder columns
d Summary, Formula & Place holder columns
Ans.: D
a Summary, Place holder & Procedure column
b Summary, Procedure & Formula columns
c Procedure, Formula & Place holder columns
d Summary, Formula & Place holder columns
Ans.: D
119. If two groups are not linked in the data model
editor, what is the hierarchy between them?
a There is no hierarchy between unlinked groups
b The group that is right ranks higher than the group that is to theleft
c The group that is above or leftmost ranks higher than the group that is to right or below it
d None of the above
Ans : C
a There is no hierarchy between unlinked groups
b The group that is right ranks higher than the group that is to theleft
c The group that is above or leftmost ranks higher than the group that is to right or below it
d None of the above
Ans : C
120. Sequence of events takes place while starting a
Database is
a Database opened, File mounted, Instance started
b Instance started, Database mounted & Database opened
c Database opened, Instance started & file mounted
d Files mounted, Instance started & Database opened
Ans : B
a Database opened, File mounted, Instance started
b Instance started, Database mounted & Database opened
c Database opened, Instance started & file mounted
d Files mounted, Instance started & Database opened
Ans : B
121. SYSTEM TABLESPACE can be made off-line
a Yes
b No
Ans : B
a Yes
b No
Ans : B
122. ENQUEUE_RESOURCES parameter information is derived
from
a PROCESS or DDL_LOCKS & DML_LOCKS
b LOG BUFFER
c DB_BLOCK_SIZE
d DB_BLOCK_BUFFERS
Ans : A
a PROCESS or DDL_LOCKS & DML_LOCKS
b LOG BUFFER
c DB_BLOCK_SIZE
d DB_BLOCK_BUFFERS
Ans : A
124. EXP command is used
a To take Backup of the Oracle Database
b To import data from the exported dump file
c To create Rollback segments
d None of the above
Ans : A
a To take Backup of the Oracle Database
b To import data from the exported dump file
c To create Rollback segments
d None of the above
Ans : A
125. SNAPSHOTS cannot be refreshed automatically
a TRUE
b FALSE
Ans : B
a TRUE
b FALSE
Ans : B
126. The User can set Archive file name formats
a TRUE
b FALSE
Ans : A
a TRUE
b FALSE
Ans : A
127. The following parameters are optional in init.ora
parameter file DB_BLOCK_SIZE, PROCESS
a TRUE
b FALSE
Ans : B
a TRUE
b FALSE
Ans : B
128. NOARCHIEVELOG parameter is used to enable the
database in Archieve mode
a TRUE
b FALSE
Ans : B
a TRUE
b FALSE
Ans : B
129. Constraints cannot be exported through Export
command?
a TRUE
b FALSE
Ans : B
a TRUE
b FALSE
Ans : B
130. It is very difficult to grant and manage common
priveleges needed
by
different groups of database users using roles
a TRUE
b FALSE
Ans : B
different groups of database users using roles
a TRUE
b FALSE
Ans : B
131. The status of the Rollback segment can be viewed
through
a DBA_SEGMENTS
b DBA_ROLES
c DBA_FREE_SPACES
d DBA_ROLLBACK_SEG
Ans : D
a DBA_SEGMENTS
b DBA_ROLES
c DBA_FREE_SPACES
d DBA_ROLLBACK_SEG
Ans : D
132. Explicitly we can assign transaction to a rollback
segment
a TRUE
b FALSE
Ans : A
a TRUE
b FALSE
Ans : A
133. What file is read by ODBC to load drivers ?
a ODBC.INI
b ODBC.DLL
c ODBCDRV.INI
d None of the above
Ans : A
a ODBC.INI
b ODBC.DLL
c ODBCDRV.INI
d None of the above
Ans : A
|
Welcome
to Oracle Placement Paper 2011. Here you will find Oracle Placement Paper
Pattern and Download questions of Oracle Placement Paper 2011 with Answers
& Solutions.
1. What is the output of the program void main() { int j[10]={9,7,5,3,1,2,4,6,9}; int i=1; clrscr(); for(;i<9;i++) printf("%d ",--j[i++]); getch(); } // A. 6,2,1,5 // B. 6,2,1,5,7 // c. Error Message // D. core dump Ans: A. 6,2,1,5 2. What is the output of the program void main() { int i,j,k,n=5; clrscr(); for(i=5;i>0;i--) { j=1<i; k=n&j; k==0?printf("0"):printf("1"); } getch(); } // A. 00011 // B. 11110 // c. 11001 // D. 11100 Ans: B. 11110 3.Threading in java a program was given in which it had no exceptions and run function had string as its parameter a. runtime error b. compile time error c. logical error d. syntax error 4.what functions can be repeated instead of comment .... { public void aMethod(String S,int i); //here .... } a.public void aMethod(int i ,String S); b.public void aMethod(String myobj,int j); c.public int aMethod(String S,int i); d.public void AMethod(String S,int i); 5.Consider the following structure Struct { int data; struct node *prev; struct node *next; }NODE; NULL <-- 5 --> 8 --> 10 --> NULL p <-- q <-- r=20 WHAT WILL BE THE VALUE OF r-->prev-->-->next-->data ? A. 8 B. Null C. 5 D. 10 Ans: 10 6. starts with T. The letter E occurs in word one only. The questions were, a). Which number represents T. b). Which number represents S. c). Which character represents 2. d). Which digit represents A. e). Which word represents word 2. 7. A passage with two paragraphs is given. Then two questions are asked based on it. Could not remember it. 8. A stamp collector arranges his stamps during his free time. When he arranges his stamps in pairs, there is one stamp left. It is the same when he arranges the stamps in groups of 3, 4, 5 and 6. Now, how many stamps will he be left with when he arranges them in groups of 8. 9. select deptno, count(empno) from emp where count(empno)>=5 group by deptno; identify the line no which contains the error a. 1 b. 2 c. 3 d. 1,3 10. choose the group function that can be used with any data type a. sum() b. min() c. avg() d. all 11. if "a" is an array of 5*5 dimension, a[2][4] is same as a. **(a+2+4) b. *(a+2) + *(a+4) c. **(a+2)+4 d. *(*a+2)+4) 12. what is the output of .. #include void main() { char buffer[10]={"Genesis"}; printf("%d",&buffer[4]-(buffer)); } a. 3 b. 4 c. 0 d. illegal pointer subtraction 13. the process of including some controlled redundancy for the sake of performance is known as a. normalization b. Cartesian product c. Denormalization d. None 14. in a doubly linked list a. the last node contains the address of the first node b. each node contains the address of previous and next node c. each node contains the address of previous node d. none 15. x% of y is y% of ? (A) x/y (B) 2y (C) x (D) can't be determined 16. The price of sugar increases by 20%, by what % should a housewife reduce the consumption of sugar so that expenditure on sugar can be same as before ? (A) 15% (B) 16.66% (C) 12% (D) 9% 17. A man spends half of his salary on household expenses, 1/4th for rent, 1/5th for travel expenses, the man deposits the rest in a bank. If his monthly deposits in the bank amount 50, what is his monthly salary ? (A) Rs.500 (B) Rs.1500 (C) Rs.1000 (D) Rs. 900 18. What is the output of the following program #include #define FIRST_PART 7 #define LAST_PART 5 #define ALL_PARTS FIRST_PART + LAST_PART int main() { printf (“The Square root of all parts is %d\n , ALL_PARTS * ALL_PARTS) ; return(0); } (A) 35 (B) 144 (C) 49 (D) 47 19. What is the use of a make file (A) Do detect memory leakage (B) To optimise the code (C) To link and compile source code to exe (D) To disassemble the exe to source code 20. What is the value of *second_ptr int *first_ptr; int *second_ptr; *second_ptr = 30; ptr value = 1; first_ptr = &value second_ptr = first_ptr; (A) 30 (B) 1 (C) first_ptr (D) None of the above |
||||||||||||
|
|
||||||||||||
|
||||||||||||
|
|
||||||||||||
|
||||||||||||
|
Welcome
to Oracle Placement Paper 2010. Here you will find Oracle Placement Paper
Pattern and Download questions of Oracle Placement Paper 2010 with Answers
& Solutions.
1..void main() { int i; clrscr(); for(i=1;i<6;++i) switch(i) { case 1: case 2: printf("%d,",i++);break; case 3: continue; case 4: printf("%d,",i); } printf("%d",i); getch(); } Ans: 1,4,6 2.Which of the storage class(es) becomes the global variables for the entire Program (A) Extern (B) Static (C) Auto (D) Register Ans: A 3. What is the output of the program void main() { char s[]="oracle is the best"; char t[40]; char *ss,*tt; while(*tt++=*ss++); printf("%s",t); getch(); } // A. oracle is the best // B. Core dump // c. Error Message // D. Goes into infinite loop Ans: B. core dump (Garbage value) 4. What is the output of the program void main() { int j[10]={9,7,5,3,1,2,4,6,9}; int i=1; clrscr(); for(;i<9;i++) printf("%d ",--j[i++]); getch(); } // A. 6,2,1,5 // B. 6,2,1,5,7 // c. Error Message // D. core dump Ans: A. 6,2,1,5 5. Which clause u use to exclude the rows before grouping them? A. Group By B. Having C. Where D. Minus 6. Which of the following statements is not true about views? A. you can create a index on views B. Views do not have permanent data C. Views can be based on one or more tables D. Views can be dropped without dropping tables 7. What should be the value of a, in the polynomials x2 – 11x + a and x2 – 14x + 2a, so that these two polynomials have common factors.
a)
24 b)1 c)-1 d)1/2
8. a right angled triangle, the square of the hypotenuse is twice the product of the other two sides. Then one of the acute angles of the triangle is…
a)
450 b) 300 c) 600 d) 150
9.. In class of 10 students, the teacher writes a number on the board. The first student tells that the number is divisible by 1, the second student tells that the number is divisible by 2, the third by 3, the forth by 4 and so on till 10. If the statement of one of the students in wrong then what is the least number possible. 10. The data dictionary view to see the list of constraints enabled on a table is a. user_tables b. user_table_constraints c. user_constraints d. There is no dictionary view available for the same 11. Identify the pseudocolumns
a.
rowid
b. sysdate c. rowval d. dual 12. if "a" is an array of 5*5 dimension, a[2][4] is same as a. **(a+2+4) b. *(a+2) + *(a+4) c. **(a+2)+4 d. *(*a+2)+4) 13. what is the output of .. #include void main() { char buffer[10]={"Genesis"}; printf("%d",&buffer[4]-(buffer)); } a. 3 b. 4 c. 0 d. illegal pointer subtraction 14. identify the relationship between the many employees working in a dept.. a. one to one b. one to many c. many to one d. many to many 15.there was a table given and it was asked which normal form does it follows.. 16. the process of including some controlled redundancy for the sake of performance is known as a. normalization b. Cartesian product c. Denormalization d. None 17. A certain number of men can finish a piece of work in 10 days. If however there were 10 men less it will take 10 days more for the work to be finished. How many men were there originally? (A) 110 men (B) 130 men (C) 100 men (D) none of these 18. In simple interest what sum amounts of Rs.1120/- in 4 years and Rs.1200/- in 5 years ? (A) Rs. 500 (B) Rs. 600 (C) Rs. 800 (D) Rs. 900 19. Assuming today is Monday, 10 July 2000, what is returned by this statement: SELECT to_char(NEXT_DAY(sysdate, 'MONDAY'), 'DD-MON-RR') FROM dual; (A) 10-JUL-00 (B) 12-JUL-00 (C) 11-JUL-00 (D) 17-JUL-00 20.Which character is used to continue a statement in SQL*Plus? (A) * (B) / (C) - (D) @ |
||||||||||||
|
|
1.void main()
{
struct a
{
char ch[10];
char *str;
};
struct a s1={"Hyderabad","Bangalore"};
printf("\n%c%c",s1.ch[0],*s1.str);
printf("\n%s%s",s1.ch,s1.str);
getch();
}
Ans: HB, HyderabadBangalore
2. main(int argc,int *argv[])
{
int i;
for(i=1;i<argc;i++)
printf("\n%s%s",argv[i],(i<argc-1)?"":"");
return 0;
getch();
}
Ans: I work for oracle
3.Which of the storage class(es) becomes the global variables for the entire Program
(A) Extern
(B) Static
(C) Auto
(D) Register
Ans: A
4. What is the output of the program
void main()
{
char s[]="oracle is the best";
char t[40];
char *ss,*tt;
while(*tt++=*ss++);
printf("%s",t);
getch();
}
// A. oracle is the best
// B. Core dump
// c. Error Message
// D. Goes into infinite loop
Ans: B. core dump (Garbage value)
5.Which of the following is not true incase of Command line arguments
A. The argc parameter is used to hold the number of arguments in the = command line and is an integer
B. The argv parameter is a pointer to an array of a character = pointer and each one points to command line arguments
C. The argv[1] always point to program name
D. None of above
Ans: C
6. A function without any return type declares return=20
A. Integer
B. Float
C. Void
D. Syntax Error
Ans: A
7. What will be the output of the fallowing SELECT statement ?
SELECT count(*)
FROM emp
Where exist (select 'X' From dept
Where dept_name ='Stores' and dept.dept_id=emp.dept_id)
A. select total number of employees belonging to department " stores "
B. select all employees belonging to department "X"
C. select all employees belonging to department "stores"
D. select total number of employees belonging to department "X"
8. Denormalisation is done to
A. Check for Data Integrity
B. Reduce Data Redundancy
C. Intoduce Security Check
D. Increase Query performance .
9. When there is a failure in fetching the rows from a cursor…
a. %isopen
b. %notfound
c. %found
d. %rowcount
10. what is the index no of the last element of an array with 29
elements
a. 29
b. 28
c. 0
d. programmer defined
11. what is the final value of x when the code for(int
x=0;x<10;x++) is
run?
a. 10
b. 9
c. 0
d. 1
12. what is the output of ..
#include
void main()
{
char buffer[10]={"Genesis"};
printf("%d",&buffer[4]-(buffer));
}
a. 3
b. 4
c. 0
d. illegal pointer subtraction
13. what is the output for
#include
main()
{
static int a[]={5,10,15,20};
int * ptr=a;
int ** ptr_ptr=&ptr;
printf("\n %d",**ptr_ptr++);
}
a. 5
b. 10
c. 15
d. 6
14. Two trains move in the same direction at 50 kmph and 32 kmph respectively. A man in the slower train observes the 15 seconds elapse before the faster train completely passes by him.
What is the length of faster train ?
(A) 100m
(B) 75m
(C) 120m
(D) 50m
15. How many mashes are there in 1 square meter of wire gauge if each mesh is 8mm long and 5mm wide ?
(A) 2500
(B) 25000
(C) 250
(D) 250000
16. How can I print a “%” character in a in between the string foo and the value held in the variable foo using printf format string?
(A) fprintf("foo " "%" "%d\n", foo);
(B) fprintf("foo ‘%’ %d\n", foo);
(C) fprintf("foo \% %d\n", foo);
(D) fprintf("foo " "%d\n", foo);
17. What is the output of the following program
#include
#define FIRST_PART 7
#define LAST_PART 5
#define ALL_PARTS FIRST_PART + LAST_PART
int main() {
printf (“The Square root of all parts is %d\n , ALL_PARTS * ALL_PARTS) ;
return(0);
}
(A) 35
(B) 144
(C) 49
(D) 47
18. Which character function can be used to return a specified portion of a character string?
(A) INSTR
(B) SUBSTRING
(C) SUBSTR
(D) POS
19. Which command will delete all data from a table and will not write to the rollback segment?
(A) DROP
(B) DELETE
(C) CASCADE
(D) TRUNCATE
20.Threading in java a program was given in which it had no exceptions and run function had string as its parameter
a. runtime error
b. compile time error
c. logical error
d. syntax error
No comments:
Post a Comment