Interview Questions

Q:

What is Aggregate Functions?

Answer

Aggregate functions perform a calculation on a set of values and return a single value. Aggregate functions ignore NULL values except COUNT function. HAVING clause is used, along with GROUP BY, for filtering query using aggregate values.


Following functions are aggregate functions. 


AVG, MIN CHECKSUM_AGG, SUM, COUNT, STDEV, COUNT_BIG, STDEVP, GROUPING, VAR, MAX. VARP

Report Error

View answer Workspace Report Error Discuss

Subject: SQL

0 2355
Q:

The relationship between quantity supplied and price is

A) Directly proportional B) Inverselyproportional
C) Can't be determined D) None of the above
 
Answer & Explanation Answer: A) Directly proportional

Explanation:

Price and quantity supplied move in the same direction. As the price decreases, quantity supplied also decreases and viceversa.

Report Error

View Answer Report Error Discuss

Filed Under: Marketing and Sales
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

0 2354
Q:

A tank-full petrol in Veeru’s Car last for 20 days. If he starts using 25% more every day, how many days will the tank-full petrol last?

A) 18 days B) 12 days
C) 14 days D) 16 days
 
Answer & Explanation Answer: D) 16 days

Explanation:

The analogy here is like this: Veeru has 20 lt of petrol and he uses 1 lt per each day and consumes it in 20 days. If he uses 1.25 lt every day, in how many days it will be consumed?
We considered 1.25 lt here because it’s 25% more than 1 lt.

The answer would be  20/1.25=16 days.

Report Error

View Answer Report Error Discuss

Filed Under: Team Work
Exam Prep: CAT , Bank Exams
Job Role: Bank PO , Bank Clerk

18 2353
Q:

When a debtor owes several debts to a banker and makes a payment, the right of appropriation lies with

A) The Court B) The Banker
C) The Debtor D) All the above
 
Answer & Explanation Answer: C) The Debtor

Explanation:
Report Error

View Answer Report Error Discuss

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

4 2352
Q:

Define Structure in C++.?

Answer

The C++ programming technique allows defining user defined datatypes through structure. The


syntax to declare structure is as follows:


struct student


{


char name[100]


char address[250]


};

Report Error

View answer Workspace Report Error Discuss

Subject: C++

0 2352
Q:

Write a method to fill all the spaces in a string with '%20'

Answer

public class Test {


    public void replaseSpaces(char[] str, int length) {


        int spaceCount = 0, newLength = 0, i = 0;


        for(i = 0; i < length; i++) {


            if (str[i] == ' ') 


                spaceCount++;


        }


 


        newLength = length + (spaceCount * 2);


        str[newLength] = '\0';


        for(i = length - 1; i >= 0; i--) {


            if (str[i] == ' ') {


                str[newLength - 1] = '0';


                str[newLength - 2] = '2';


                str[newLength - 3] = '%';


                newLength = newLength - 3;


            }


            else {


                str[newLength - 1] = str[i];


                newLength = newLength - 1;


            }


        }


        System.out.println(str);


    }


 


    public static void main(String[] args) {


        Test tst = new Test();


        char[] ch = {'t', 'h', 'e', ' ', 'd', 'o', 'g', ' ', ' ', ' ', ' ', ' ', ' '};


        int length = 6;


        tst.replaseSpaces(ch, length);  


    }


}

Report Error

View answer Workspace Report Error Discuss

0 2351
Q:

What is AWB?. What is its purpose?

Answer

AWB stands for Administrator WorkBench. AWB is a tool for controlling, monitoring and maintaining all the processes connected with data staging and processing in the business information whearhousing.

Report Error

View answer Workspace Report Error Discuss

Subject: SAP

0 2350
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 2349