Interview Questions

Q:

How can we know the number of days between two given dates using php?

Answer

<?php
$tomorrow = mktime(0, 0, 0, date("m") , date("d")+1, date("Y"));
$lastmonth = mktime(0, 0, 0, date("m")-1, date("d"), date("Y"));
echo ($tomorrow-$lastmonth)/86400;
?>

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 2125
Q:

Explain the process of creating a context menu using the ContextMenu component

Answer

ContextMenu component provides the users with the ability to access some very frequently used commands. Context menu works by right click of mouse. They mainly provide access to commands particular to the control that has been clicked upon.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

0 2121
Q:

A database is used to

A) store data B) modify data
C) extract data D) All of the above
 
Answer & Explanation Answer: D) All of the above

Explanation:

A database is used to store, modify, extract and to search for the data within it.

Report Error

View Answer Report Error Discuss

7 2118
Q:

What is the minimum period to revise the Basic Salary of Employees?

Answer

Wage Revisions as per wage policy every finanical year means April of the every year will revised.


At the same time Basic is revised as per appointment order like we are given probation period to every employee after completion of the employee probation than basic also revised and depends upon Organisation Structure also.

Report Error

View answer Workspace Report Error Discuss

0 2116
Q:

Differentiate different types of Doctypes from one another.

Answer

Doctype helps the web browser to correctly render the web pages. There are different types of Doctype that are available and they are as follows:


=> Strict Doctype: it consists of all the HTML elements and it is also known as DTD (Document type definition) but it doesn't include the presentational and deprecated elements i.e. font, center, etc. Framesets related elements are also not allowed in this. For example:


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"


"https://www.w3.org/TR/html4/strict.dtd">


=> Transitional Doctype: it consists of all the HTML elements and attributes. It is also known as DTD (Document type definition). It includes the presentational and deprecated elements i.e. font, center, etc. Framesets related elements are also not allowed in this. For example:


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"


"https://www.w3.org/TR/html4/loose.dtd">


=> Frameset Doctype: it consists of all the HTML elements and attributes. It is also known as DTD (Document type definition). It includes the presentational and deprecated elements i.e. font, center, etc. Framesets related elements are also allowed in this. For example:


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"


"https://www.w3.org/TR/html4/frameset.dtd">

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 2115
Q:

Demand is said to be inelastic when

A) Percentage change in demand is less than the percentage change in price of the good B) Percentage change in demand is greater than the percentage change in price of the good
C) Percentage change in demand is equal to the percentage change in price of the good D) None of the above
 
Answer & Explanation Answer: A) Percentage change in demand is less than the percentage change in price of the good

Explanation:

Demand is said to be inelastic, when the demand for the good doesn't change much or it is negotiable when the price of the good changed.

Report Error

View Answer Report Error Discuss

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

1 2112
Q:

What is the use of super call?

Answer

By using super call we can call super class constructors  from sub class constructors and we can initialize super class private data.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2112
Q:

What is Payroll Journal?

Answer

A payroll journal is like a payroll register. It has salary, bonuses, commission in other words earnings, any deductions such as 401k, fsa etc, state and income taxes etc.
It shows the gross salary less any deductions "Net pay" for the period.

Report Error

View answer Workspace Report Error Discuss

0 2112