Questions

Q:

Which of the following statement is true?

A) Cohesion is the OO principle most closely associated with hiding implementation details B) Cohesion is the OO principle most closely associated with making sure that classes know about other classes only through their APIs
C) Cohesion is the OO principle most closely associated with making sure that a class is designed with a single, well-focused purpose D) None
 
Answer & Explanation Answer: C) Cohesion is the OO principle most closely associated with making sure that a class is designed with a single, well-focused purpose

Explanation:

A refers to encapsulation, B refers to coupling

Report Error

View Answer Report Error Discuss

Filed Under: Programming

4 16226
Q:

How would you choose the best media to promote your advertisement?

Answer

It depends on the following factors:



  •        Reach

  •        Geographical spread

  •        Nature of target audience/clusters

  •        Previous successful track records

  •        Low budget; high returns etc. 

Report Error

View answer Workspace Report Error Discuss

9 16218
Q:

111 13 112 24 113 35 117 ?

A) 46 B) 57
C) 68 D) 79
 
Answer & Explanation Answer: D) 79

Explanation:

The given puzzle follows a pattern that,

Number - <last digit> <sum of all digits>.

111 - 13

112 - 24

113 - 35

So 

117 - 79

Report Error

View Answer Report Error Discuss

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

60 16217
Q:

The main job of a CPU is to 

A) carry out program instructions B) store data/ information for future use
C) Process data and information D) both (a) and (c)
 
Answer & Explanation Answer: D) both (a) and (c)

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Computer
Exam Prep: Bank Exams
Job Role: Bank PO

50 16211
Q:

Which one of the following figures represents the following relationship:

Birds, Parrots, Bats

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

Explanation:
Report Error

View Answer Report Error Discuss

0 16191
Q:

Which of the statements given below are correct?

 

A) United Arab Emirates hosted the Tennis 2017 ATP World Tour Finals.

B) In 2017, Per Mertesacker captained the Premier League team Manchester United.

C) In 2017, Stephen Curry played for the NBA team Golden State Warriors.

 

A) Only A B) Only B
C) Only C D) A, B and C
 
Answer & Explanation Answer: C) Only C

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Sports
Exam Prep: Bank Exams

2 16186
Q:

First Indian woman to participate in Olympics?

A) Karnam Malleswari B) Mary Kom
C) P.V. Sindhu D) Geeta Phogat
 
Answer & Explanation Answer: A) Karnam Malleswari

Explanation:

The first Indian woman to ever win an Olympic medal was Karnam Malleswari who won a bronze medal at the Sydney Olympics in the Women's 69 kg category in Weightlifting.

Report Error

View Answer Report Error Discuss

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

24 16186
Q:

what will be the output of the following code?

class Value
{
    public int i = 15;
}
public class Test
{
    public static void main(String argv[])
    {
        Test t = new Test();
        t.first();
    }
    public void first()
    {
        int i = 5;
        Value v = new Value();
        v.i = 25;
        second(v, i);
        System.out.println(v.i);
    }
    public void second(Value v, int i)
    {
        i = 0;
        v.i = 20;
        Value val = new Value();
        v =  val;
        System.out.println(v.i + " " + i);
    }
}

A) 15 0 2 B) 15 0 0
C) 15 20 0 D) 15 0 20
 
Answer & Explanation Answer: D) 15 0 20

Explanation:
Report Error

View Answer Report Error Discuss

9 16185