3i Infotech Papers: Sample Questions 663 - 665 of 1245

Examrace Placement Series prepares you for the toughest placement exams to top companies.

Question number: 663

» Operating System » Unix

Essay Question▾

Describe in Detail

What is Fork swap?

Explanation

  • To create child process, fork () system call is invoked.

  • When the child process becomes read-to-run the memory is copied from swap device to the storage.

  • Child process swapping is done in main memory when the memory is available.

  • Process is swapped in when kernel schedules it.

  • fork () allocates entry in process table and assigns a unique PID to the child process.

  • fork () returns the PID of the child to the parent process and returns 0 to the child process.

Question number: 664

» Database » Oracle

MCQ▾

Question

The system variable that records the select statement that SQL * FORMS most recently used to populate a block is …

Choices

Choice (4) Response

a.

SYSTEM. LAST_RECORD

b.

SYSTEM. LAST_QUERY

c.

SYSTEM. CURSOR_RECORD

d.

SYSTEM. CURSOR_FIELD

Answer

b.

Explanation

  • The system variable that records the select statement that SQL * FORMS most recently used to populate a block is SYSTEM. LAST_QUERY.

  • SQL * Forms is used for entering modifying or deleting data contained in an oracle database.

  • A typical SQL * Forms screen displays explanatory text, graphic, elements and fields that accept data values.

  • SYSTEM. LAST_QUERY will return the last query executed.

Question number: 665

» Operating System » Unix

Essay Question▾

Describe in Detail

What is ‘inode’?

Explanation

Understanding of Unix Inodes

Understanding of Unix Inodes

Understanding of Unix Inodes

  • Every file in UNIX has a unique number called Inode.

  • Number is associated with file information like user, group, ownership and access mode information.

  • Every inode stores the attributes and disk block location of the object’s data.

  • Directories are lists of names assigned to inodes- self-entry contains a directory, its parent, and every children.

  • A files inode number is found from following command.

    Ls-i

  • If the inode number is known, the following command can get details of the file: