3i Infotech Placement: Sample Questions 846 - 848 of 1245

Glide to success with Doorsteptutor material for competitive exams : get questions, notes, tests, video lectures and more- for all subjects of your exam.

Question 846

Appeared in Year: 2004

Question

MCQ▾

Session Listerner defines following methods

Choices

Choice (4)

a.

Session Destroyed, Session Replaced

b.

Session Created, Session Replaced

c.

Session Created, Session Destroyed

d.

All of the above

Answer

c.

Explanation

  • Session Created:
    • void session Created (Http Session Event se)
      • Receives notification that a session has been created.
      • Parameters:
      • Se- The Http Session Event containing the session
      • SessionDestroyed:
    • Void session Destroyed (Http Sessionvent se)
    • Receives notification that a session is about to be invalidated.
    • Parameters:
  • Se: The Http Session vent containing the session.

Question 847

Edit

Write in Short

Short Answer▾

There is a square of side 6cm. A circle is inscribed inside the square. Find the ratio of the area of circle to square.

Explanation

Square is of side 6 cm.

A circle is inscribed inside the square.

From the Figure We Can Conclude That Radius of the Circle Will be 3 Cm

We are asked to find the ratio of area of circle to the area of square.

We already know that, area of circle

Area of square

=

= 36

So, ratio of area of circle and square will be

Question 848

Question

MCQ▾

The status of the Rollback segment can be viewed through

Choices

Choice (4)

a.

DBA_ROLES

b.

DBA_FREE_SPACES

c.

DBA_ROLLBACK_SEG

d.

DBA_SEGMENTS

Answer

c.

Explanation

Rollback Segments in the Database
  • DBA_ROLLBACK_SEGS can be used to query the data dictionary view- finding the name, segment ID number, and status of each rollback segment in the database
  • Rollback segment allocates one or more rollback segments by name to this instance.
  • If this parameter is set- instance acquires the entire rollback segment to be named in this parameter.
  • Cannot change the value of this parameter dynamically- change its value and then restart this instance.
  • Specifies private rollback segments.

Use Parameter

String

Syntax

ROLLBACK_SEGMENT = (segment_name [, segment_name] … .)

Default value:

  • Instance uses public rollback segments by default, unless the UNDO_MANAGEMENT init parameter is set to AUTO.

Modifiable:

  • No

Range of value:

  • Any rollback segment name in DBA_ROLLBACK_SEGS

Developed by: