3i Infotech Placement: Sample Questions 441 - 442 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 441

Edit

Describe in Detail

Essay▾

What are the criteria for choosing a process for swapping into memory from the swap device?

Explanation

Understanding of Swap in and Swap Out

Process is Swapped based on:

  • Resident time of the processes in the swap device
  • Priority of the processes
  • Amount of the time the processes had swapped out.

However, a process can swapped temporarily out of memory to a backing store, and then brought back into memory for continued execution.

  • Major part of swap time is transfer time; total transfer time is directly proportional to the amount of memory swapped.
  • Modified versions of swapping are found on many system, UNIX and Micro Windows.

Question 442

Question

MCQ▾

What is the difference between a MESSAGEBOX and an ALERT?

Choices

Choice (4)

a.

An message box requires an response from the user while a alert just flashes a message an only requires an acknowledgment from the user

b.

A alert can be used only by the system and cannot be used in user application while an message box can be used in user application also.

c.

An alert requires an response from the user while a message box just flashes a message and only requires an acknowledgment from the user

d.

A message box can be used only by the system and cannot be used in user application while an alert can be used in user application also.

Answer

c.

Explanation

Table of the MESSAGEBOX and an ALERT
MESSAGEBOXALERT
Flashes a message and only requires an acknowledgment from the userRequires an response from the user
Give a message and only requires acknowledgement from the userRequire an response from the user
Is a messageIs a warning
Is in VB scriptIs in javascript
Display two buttons- “ok” and “cancel”Displays only one button- “ok” button

Developed by: