Interview Questions

Q:

What is a view?

Answer

It is virtual table which is defined as a stored procedure based on one or more tables.

Report Error

View answer Workspace Report Error Discuss

Subject: Oracle

0 2306
Q:

When this. non-static datamember is compulsory inside non-static method

Answer

Whenever there is local- variable/parameter inside the method with same name as data member.


Ex:


Class Sample {


 int a;


  void show() {


   int a=5;


   system.out.println(a); // 5


   system.out.println(this.a);//23


  }


}


class MainApp {


  Public static void main(String[] args) {


  Sample s = new Sample();


   s.a = 23;


   s.show();


   }


}


 

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2305
Q:

Explain the difference between value types and reference types

Answer

Value type :


 



  • Stores the data

  • The value of value types is stored on the managed stack

  • They are lighter objects 

  • One variable can have only one value


Reference Type :



  • Stores the reference to the data

  • A reference type is allocated on the heap

  • They are heavier objects

  • Several variables can reference the same data


 

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

0 2303
Q:

What is the meaning of ABAP editor integrated with ABAP data dictionary?

Answer

ABAP Editor: Tool in the ABAP Workbench in which you enter the source code of ABAP programs and check their syntax. You can also navigate from the ABAP Editor to the other tools in the ABAP Workbench.

Report Error

View answer Workspace Report Error Discuss

Subject: ABAP

0 2302
Q:

Why regression testing is important?

Answer

Regression Testing: When changes in the code of the software are made to fix the previous bug. Then testing needs to be perform to ensure that it will not generate a new bug in the application and it works as specified and that it has not negatively impacted any functionality that it offered previously. Regression Testing is important because of following reason:


 


- That the application works even after the alteration in the code were made.


- The original functionality continues to work as specified even after doing changes in the software application.


- The alteration to the software application has not introduced any new bugs.

Report Error

View answer Workspace Report Error Discuss

Subject: QA Testing

0 2301
Q:

How to get the contents of an input box using Javascript?

Answer

Use the "value" property.
var myValue = window.document.getElementById("MyTextBox").value;

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 2301
Q:

The model for a record management system might be

A) a rolodex card file B) a business form
C) handwritten list D) All of the above
 
Answer & Explanation Answer: D) All of the above

Explanation:

A Records Management System is a computer program or set of programs used to manage and store records.

 

For example, a hospital record for storing new room, ward , patients, etc...

The_model_for_a_record_management_system_might_be1553926899.png image

Report Error

View Answer Report Error Discuss

Filed Under: Application Development
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

0 2299
Q:

Explain primary key constraint.

Answer

Primary key constraint ensures that the column(s) always has a unique value to identify the record.
Example:
Below, the primary key is created for column id with name prim_id.
create table employee ( id number NOT NULL, Name varchar(200) Constraint prim_id primary key(id) );

Report Error

View answer Workspace Report Error Discuss

Subject: Oracle

0 2298