3i Infotech Placement: Sample Questions 254 - 256 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 254

Edit

Write in Short

Short Answer▾

In header file where function are declared or defined?

Explanation

Define Two Types of Functions

Header file:

Declares functions which are not inline

Question 255

Edit

Write in Short

Short Answer▾

List the Coffmans conditions that lead to a deadlock.

Explanation

Mutual Exclusion:

  • Existence of non-shareable resources only one process can use at a time.
  • Another process wanting to access that resource must wait until the resource is released.

No Pre-emption:

  • No process is allowed to pre-empt another process forcibly to release resources held by it.
  • Resource allocation should ensure that pre-emption is allowed.

Hold and Wait:

  • Process holding a resource is waiting on additional resources held by other processes.

Circular Wait:

  • Processes waiting on resources from a circular chain with each waiting processes waiting on a resource held by next process in the list.

Question 256

Question

MCQ▾

Which of the following is TRUE for the SYSTEM VARIABLE $ $ date $ $

Choices

Choice (4)

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.

Question does not provide sufficient data or is vague

Answer

b.

Explanation

$ $ DATE $ $

  • Retrieves the current operating system date.
  • Designates a default value for a text item using the Default property.
  • The text item must be CHAR, DATE, or DATETIME data type.
  • Can also use $ $ DATE $ $ as a default value for form parameters- the parameter՚s value is computed one time, at form startup.

    System Variables

  • System variable allows controlling the way an application behaves.
  • Assigned to any field only during design time.
  • Values can be set globally at server startup by using options on the command line in option file.

    Form Variable

  • Oracle forms variable keeps an internal oracle forms state.

Developed by: