3i Infotech Papers: Sample Questions 226 - 227 of 1245

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

Question number: 226

» Database » Oracle

MCQ▾

Question

Can a DIALOG WINDOW have scroll bar attached to it?

Choices

Choice (4) Response

a.

Yes

b.

No

c.

All of the above

d.

Question does not provide sufficient data or is vague

Answer

b.

Explanation

Custom dialog window demo

Custom Dialog Window Demo

Custom dialog window demo

No, a DIALOG WINDOW cannot have scroll bar attached to it. DIALOG WINDOW:

  • Is an independent sub window that is a part of the main swing application window.

  • Indicates the error message or warning to a user.

  • Can be modal- when a modal dialog is visible, user input to all other windows in the program is disabled.

  • Used for creating and editing database connections and object in the database.

  • Sometime have multiple tab, each reflect a logical grouping.

  • Each dialog is dependent on a Frame component.

Question number: 227

» Operating System » Unix

Essay Question▾

Describe in Detail

What is ‘ps’ command for?

Explanation

Undderstanding of process status with ps command.

Undderstanding of Process Status with Ps Command.

Undderstanding of process status with ps command.

  • ‘ps’ command on linux is one of the basic commands for viewing the processes running on the system.

  • Provides a snapshot of the current processes along with detailed information like user id, cpu usage, memory usage, command name.

  • Does not display data in real time like top or htop commands.

  • Simpler in features and output but provides essential process management tool.

Syntax:

ps [options]

  • Related commands include pgrep that supports searching for processes and pkill that kills processes based on a search.