Interview Questions

Q:

What is PHP's configuration file called?

Answer

PHP’s configuration file is called php.ini.

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

1 7493
Q:

How to handle error in the destructor?

A) throwing B) terminate
C) both a & b D) none of the mentioned
 
Answer & Explanation Answer: B) terminate

Explanation:

It will not throw an exception from the destructor but it will the process by using terminate() function.

Report Error

View Answer Report Error Discuss

Filed Under: C++

3 7438
Q:

What’s the difference between md5( ), crc32( ) and sha1( ) crypto on PHP?

Answer The major difference is the length of the hash generated. CRC32 is, evidently, 32 bits, while sha1() returns a 128 bit value, and md5() returns a 160 bit value. This is important when avoiding collisions.
Report Error

View answer Workspace Report Error Discuss

Subject: PHP

1 7389
Q:

What ACH stands for?

Answer

ACH stands for Automated Clearing House, which is an electronic transfer of funds between banks or financial institutions.


 

Report Error

View answer Workspace Report Error Discuss

Subject: Bank Interview

0 7370
Q:

How many ways are there to initialize int with a constant?

A) 1 B) 2
C) 3 D) 4
 
Answer & Explanation Answer: B) 2

Explanation:

There are two formats for initializers in C++ as shown in the example that follows. The first format uses the traditional C notation. The second format uses constructor notation.

int foo = 123;

 

int bar (123);

Report Error

View Answer Report Error Discuss

Filed Under: C++
Job Role: Software Architect

1 7366
Q:

How to perform incremental load in DataStage?

Answer

-Daily loading is known as incremental load.


-When data is selected from source, selected records are loaded between timestamp of last load and the current time 


-The parameter that are passed to perform are last loaded date and current date


-The first parameter is the stored last run date is read through job parameters


-The second parameter is the current date

Report Error

View answer Workspace Report Error Discuss

1 7349
Q:

What are Payroll source documents?

Answer

The Payroll source documents are the employee Time Sheets (or equivalent) that record when the employee worked and generally what they did. These records are subject to audit by the Labor Department, EEOC and probably others that I haven't encountered. These should be bound into a Payroll Source Document folder.

However, there are other employee documents that need to be retained, e.g., their original employment application, employee reviews (if you do them),that record their federal/state tax exemption choices,reporting their annual wages and withholdings, etc.

These can be filed in separate Employee files (by employee name or number) -- or simply integrated into the Payroll Source Document folders (in the week in which they occur). I very much favor the latter -- especially if you're doing computer accounting -- in keeping with my "always file chronological" bias.

Report Error

View answer Workspace Report Error Discuss

1 7349
Q:

What is SQL*Plus? Explain its features

Answer

SQL*plus allows SQL and PL/SQL scripts to interactively run in command line.

It allows three kinds of commands to run; SQL, PL/SQL and SQL * Plus commands. It’s most commonly used by DBA’s to interact with the oracle database.

Report Error

View answer Workspace Report Error Discuss

Subject: Oracle

9 7298