Interview Questions

Q:

Will comparison of string "10" and integer 11 work in PHP?

Answer Yes, internally PHP will cast everything to the integer type, so numbers 10 and 11 will be compared.
Report Error

View answer Workspace Report Error Discuss

Subject: PHP

1 2961
Q:

Explain the use of lookup tables and Aggregate tables.

Answer

At the time of updating the data warehouse, a lookup table is used. When placed on the fact table or warehouse based upon the primary key of the target, the update is takes place only by allowing new records or updated records depending upon the condition of lookup.


The materialized views are aggregate tables. It contains summarized data. For example, to generate sales reports on weekly or monthly or yearly basis instead of daily basis of an application, the date values are aggregated into week values, week values are aggregated into month values and month values into year values. To perform this process aggregate function is used.

Report Error

View answer Workspace Report Error Discuss

0 2960
Q:

onclick="window.open()":This attribute of HTML control is used to open a page in new window

A) TRUE B) FALSE
Answer & Explanation Answer: A) TRUE

Explanation:

To open a page in a new window, you have to use client script using onclick="window.open()" attribute of HTML control.

Report Error

View Answer Workspace Report Error Discuss

Subject: .NET
Job Role: Software Architect

0 2957
Q:

What are the Advantages of Node.js?

Answer

Aynchronous and Event Driven - All APIs of Node.js library area unit aynchronous that's non-blocking. It basically means that a Node.js based mostly server not waits for a API to return information. Server moves to next API when calling it and a notification mechanism of Events of Node.js helps server to induce response from the previous API decision.


Very FastNode.js library is very fast in execution of code.


Single Threaded but highly Scalable Node.js uses a single threaded model with event looping. Node.js uses a single threaded program and same program can services much larger number of requests than traditional server like open source.


No Buffering - Node.js applications never buffer any data. These applications simply output the data in faster.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology
Job Role: Software Architect

0 2954
Q:

What is Retained Earnings?

Answer

When a company or corporation earns a profit or surplus, that money can be put to two uses it can either be re-invested in the business called retained earnings or it can be paid to the shareholders as a dividends.

Report Error

View answer Workspace Report Error Discuss

Subject: Finance

0 2954
Q:

What is the difference between processes and threads ?

Answer

- A process is an execution of a program, while a Thread is a single execution sequence within a process.


- A process can contain multiple threads. A Thread is sometimes called a lightweight process.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2951
Q:

Which of the following is not a RM principle?

A) Apply the RM process to situations where serious injury might occur B) Accept no unnecessary risk
C) Integrate RM into all phases of missions and activities D) Make risk decisions at the appropriate level
 
Answer & Explanation Answer: A) Apply the RM process to situations where serious injury might occur

Explanation:

Apply the RM process to situations where serious injury might occur is not a RM (Risk Management) principle.

 

Risk Management :: A decision-making process for managing day-to-day schedules when there are conflicts.

Report Error

View Answer Report Error Discuss

Filed Under: Conflict management
Exam Prep: Bank Exams , CAT
Job Role: Analyst , Bank Clerk

9 2948
Q:

Why do capital expenditures increase assets (PP&E), while other cash outflows, like paying salary, taxes, etc., do not create any asset, and instead instantly create an expense on the income statement that reduces equity via retained earnings ?

Answer

Capital expenditures are capitalized because of the timing of their estimated benefits – the lemonade stand will benefit the firm for many years. The employees’ work, on the other hand, benefits the period in which the wages are generated only and should be expensed then. This is what differentiates an asset from an expense.


 

Report Error

View answer Workspace Report Error Discuss

Subject: Accounts Receivable Exam Prep: Bank Exams , CAT
Job Role: Bank Clerk , Bank PO

4 2946