Interview Questions

Q:

What is an explicit constructor?

Answer

A conversion constructor declared with the explicit keyword. The compiler does not use an explicit constructor to implement an implied conversion of types. It’s purpose is reserved explicitly for construction

Report Error

View answer Workspace Report Error Discuss

Subject: C++
Job Role: Software Architect

0 3242
Q:

Exlpain STL.

Answer

STL stands for Standard Template Library. It is a library of container templates approved by the ANSI committee for inclusion in the standard C++ specification.

Report Error

View answer Workspace Report Error Discuss

Subject: C++

0 3238
Q:

What is the difference between Private bank and Nationalized bank?

Answer

Nationalized banks are also known as public sector banks where the government is responsible for the deposition of money in these banks while in a private bank money is deposited by the person who owns the bank.

Report Error

View answer Workspace Report Error Discuss

Subject: Bank Interview

0 3238
Q:

When an account becomes uncollectible and must be written off

A) Accounts Receivable should be credited B) Sales Revenue should be debited
C) Allowance for Doubtful Accounts should be credited D) Bad Debt Expense should be credited
 
Answer & Explanation Answer: A) Accounts Receivable should be credited

Explanation:
Report Error

View Answer Report Error Discuss

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

1 3236
Q:

For printing out strings, there are echo, print and printf. Explain the differences.

Answer - echo is the most primitive of them, and just outputs the contents following the construct to the screen. print is also a construct (so parentheses are optional when calling it), but it returns TRUE on successful output and FALSE if it was unable to print out the string. However, you can pass multiple parameters to echo, like:

and it will output the string "Welcome to TechInterviews!" print does not take multiple parameters. It is also generally argued that echo is faster, but usually the speed advantage is negligible, and might not be there for future versions of PHP. printf is a function, not a construct, and allows such advantages as formatted output, but it’s the slowest way to print out data out of echo, print and printf.
Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 3233
Q:

How to create recursive query in SQL Server?

Answer

Recursive query can be create in SQL using stored procedure but you can also use CTE (Common table expression). It might be also worth asking about performance as CTE is not always very fast.

Report Error

View answer Workspace Report Error Discuss

Subject: SQL

0 3230
Q:

Goods that are excludable include both

A) public goods and common resources B) common resources and private goods
C) natural monopolies and public goods D) private goods and natural monopolies
 
Answer & Explanation Answer: D) private goods and natural monopolies

Explanation:

Goods that are excludable include both private goods and natural monopolies.

Report Error

View Answer Report Error Discuss

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

8 3229
Q:

What is salary TDS?

Answer

Means whatever income any employee received from the organisation and on that tax to be deducted. (e.g. Gross salary, Overtime, Bonus, Incentives etc.)

Report Error

View answer Workspace Report Error Discuss

0 3229