3i Infotech Papers: Sample Questions 1169 - 1171 of 1245

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

Question number: 1169

» Languages » C & C Plus Plus

Essay Question▾

Describe in Detail

What is the difference between class and structure?

Explanation

Difference between class and structure

Difference between class and structure

Class

Structure

Can inherit from another class.

Does not support inheritance.

Supports all types of constructor and destructor.

Supports only the parameterized constructor.

Members of class can be initialized directly.

Members of structure cannot initialize directly.

Not created without using the new keyword.

It can be created without using the new keyword.

Question number: 1170

» Languages » Java

Short Answer Question▾

Write in Short

What are the benefits of using swing over AWT?

Explanation

  • Provides both additional components and added functionality to AWT-replacement components.

  • Changes appearance based on the current “look and feel” of library being used.

  • Allows lightweight components- components are lightly dependent on underlying domain.

  • Better support for multi-threading.

  • Built on the MVC model- model-view-controller paradigm (MVC) can provide more flexible UI.

Question number: 1171

» Languages » Assembly Language

Essay Question▾

Describe in Detail

What are the functions of RMI, SIM?

Explanation

RIM:

  • Read Interrupt Mask.

  • RIM is a multipurpose instruction used to read the status of interrupts 7.5,6.5,5.5 and to read serial input data bit.

  • Following accumulator with RIM loads 8-bit data.

  • Actually RIM does the following three tasks:

Three tasks of the RIM

Three Tasks of the RIM

Three tasks of the RIM

SIM:

  • Set interrupt mask instructions provide interrupt services of the 8085 microprocessor with the serial input data and serial output data on the device.

  • This instruction controls hardware interrupt of microprocessor.

  • Provides multipurpose interrupt used to implement the 8085 interrupts (RST 7.5,6.5,5.5) and serial data output.

SIM does the following three tasks:

Three tasks of the SIM

Three Tasks of the SIM

Three tasks of the SIM