Interview Questions

Q:

How to set cookies in PHP?

Answer

The function setcookie() is used to define a cookie that is to be sent along with HTTP headers. The cookie must be sent prior to any output from the script as is the protocol restriction. After setting the cookies, they can be used when the next page is loaded by using $_COOKIE or $HTTP_COOKIE_VARS arrays.

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 2551
Q:

Why is the main() method declared static?

Answer

main() method is called by the JVM even before the instantiation of the class, hence it is declared as static.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2550
Q:

Dynamic remarketing lets an advertiser

A) Re-run ad to increase the volume of people who will see it. B) Show prior visitors to his site ads that are based on products or services they saw on the site.
C) Show an ad to someone on his mobile device 24 hours after visiting the website on desktop PC. D) Engage visitors to the website by opening a chat session.
 
Answer & Explanation Answer: B) Show prior visitors to his site ads that are based on products or services they saw on the site.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Advertising and Media
Exam Prep: AIEEE , Bank Exams
Job Role: Analyst , Bank Clerk

5 2549
Q:

Smart money is a term used for

A) Credit cards B) Cash with bank
C) Cash with public D) Internet banking
 
Answer & Explanation Answer: A) Credit cards

Explanation:

Smart money is a term used for credit card.

Report Error

View Answer Report Error Discuss

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

0 2545
Q:

AND, OR and NOT are examples of

A) Clauses B) Boolean operators
C) Conjuctive operators D) Exclusive operators
 
Answer & Explanation Answer: B) Boolean operators

Explanation:
Report Error

View Answer Report Error Discuss

6 2544
Q:

What does in transit to destination mean?

A) on the way for delivery B) delay in delivery
C) booking processed but not shipped D) None of the above
 
Answer & Explanation Answer: A) on the way for delivery

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Marketing and Sales
Job Role: Analyst

0 2544
Q:

Define and explain COM?

Answer

COM is the component Object Model is a system whch creates application which are binary form that is language independent , object oriented ,modular and reusable .

Report Error

View answer Workspace Report Error Discuss

0 2543
Q:

What is Constructors and Destructors?

Answer

CONSTRUCTOR : PHP allows developers to declare constructor methods for classes. Classes which have a constructor method call this method on each newly-created object, so it is suitable for any initialization that the object may need before it is used.

DESTRUCTORS : PHP 5 introduces a destructor concept similar to that of other object-oriented languages, such as C++. The destructor method will be called as soon as all references to a particular object are removed or when the object is explicitly destroyed or in any order in shutdown sequence.

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 2543