GATE Questions

Q:

Every year before the festive season, a brand store increases the price of the product by 42% and then introduce two successive discount of 10% and 11% respectively. What is percentage loss and percentage gain ?

A) 3.25% loss B) 13.742% loss
C) 3.25% gain D) 13.742% gain
 
Answer & Explanation Answer: D) 13.742% gain

Explanation:

Let CP = 100,
42 % increase => SP = 142
10 % discount in SP => ((142 x 10)/100) = 14.2
So 1st SP = (142 - 14.2) = 127.8, again 12 % discount in 1st SP ((127.8 x 11)/100) = 14.058
2nd SP = (127.8 - 14.058) = 113.742,
So finally CP = 100, SP = 113.742, => gain = 13.742%.

Report Error

View Answer Workspace Report Error Discuss

3 1356
Q:

What is the output of this program?

class main_arguments {
            public static void main(String [ ] args)
            {
                String [][] argument = new String[2][2];
                int x;
                argument[0] = args;
                x = argument[0].length;
                for (int y = 0; y < x; y++)
                    System.out.print(" " + argument[0][y]);           
            }
        }

A) 1 1 B) 1 0
C) 1 0 3 D) 1 2 3
 
Answer & Explanation Answer: D) 1 2 3

Explanation:

In argument[0] = args;, the reference variable arg[0], which was referring to an array with two elements, is reassigned to an array (args) with three elements.
Output:
$ javac main_arguments.java
$ java main_arguments
1 2 3

Report Error

View Answer Workspace Report Error Discuss

Filed Under: Java - Technology
Exam Prep: GATE

0 1333
Q:

The PS command prints the process status for only some of the running processes.

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

Explanation:

The PS command prints the process status for some or all of the running processes

Report Error

View Answer Workspace Report Error Discuss

Subject: Operating Systems
Exam Prep: GATE

1 1201
Q:

What did the Bhore committee deal with ?

A) Economic development in India B) Health development in India
C) Development of airports in India D) Rural development in India
 
Answer & Explanation Answer: B) Health development in India

Explanation:
Report Error

View Answer Workspace Report Error Discuss

Filed Under: General Awareness
Exam Prep: GATE
Job Role: Analyst

10 1150
Q:

The percentage discount offered for "Buy 6 get 1 free is" ?

A) 85.78 % B) 58. 48 %
C) 19.25 % D) 14.285 %
 
Answer & Explanation Answer: D) 14.285 %

Explanation:

Total Items = 7
Discounted = 1
Percentage = 1/7 x 100
= 14.285%

Report Error

View Answer Workspace Report Error Discuss

4 1086