Interview Questions

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 2303
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 2303
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 2302
Q:

Depreciation is a process of

A) Allocation B) Valuation
C) Both A & B D) Appropriation
 
Answer & Explanation Answer: A) Allocation

Explanation:

Depreciation is a process of cost allocation, not valuation. In accounting, the term depreciation refers to the allocation of cost of a tangible asset to expense to the periods in which the asset is expected to be used to obtain the economic benefit.

 

In brief, Depreciation is fall in the value of assets due to wear and tear over a period of time, it is a loss.

Report Error

View Answer Report Error Discuss

Filed Under: Accounts Receivable
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

0 2301
Q:

What are the different types of errors in php?

Answer

Notices: These are trivial, non-critical errors that PHP encounters while executing a script - for example, accessing a variable that has not yet been defined. By default, such errors are not displayed to the user at all - although, as you will see, you can change this default behaviour.

Warnings: These are more serious errors - for example, attempting to include() a file which does not exist. By default, these errors are displayed to the user, but they do not result in script termination.

Fatal errors: These are critical errors - for example, instantiating an object of a non-existent class, or calling a non-existent function. These errors cause the immediate termination of the script, and PHP’s default behaviour is to display them to the user when they take place.

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 2299
Q:

Specify the CICS command used to read a VSAM record starting with prefix F. Code all the relevant options?

Answer

EXEC CICS READ


DATASET('FILENAME')


INTO(data-area)


RIDFLD(data-area)


KEYLENGTH(1)


GENERIC


LENGTH(WK-LEN)


END-EXEC.

Report Error

View answer Workspace Report Error Discuss

0 2298
Q:

What are layer objects and what do they represent?

Answer

Layer objects are data objects which represent visual content. Layer objects are used by views to render their content. Custom layer objects can also be added to the interface to implement complex animations and other types of sophisticated visual effects.

Report Error

View answer Workspace Report Error Discuss

0 2297
Q:

What is a MAC Address?

Answer

MAC- Media Access Control .its a unique identifier defined for certain hardware/network adapters

Report Error

View answer Workspace Report Error Discuss

0 2297