Questions

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 13401
Q:

Masses of stars and galaxies are usually expressed in terms of

A) neutron mass B) earth's mass
C) solar mass D) lunar mass
 
Answer & Explanation Answer: C) solar mass

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Physics

58 13400
Q:

Panchayatiraj form of rural government was first adopted by 

A) Rajasthan & Madhya Pradesh B) Rajasthan & West Bengal
C) Rajasthan & Andhra Pradesh D) Rajasthan & Uttar Pradesh
 
Answer & Explanation Answer: C) Rajasthan & Andhra Pradesh

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

72 13396
Q:

why 8085 processor, is called an 8 bit processor?

Answer

Because 8085 processor is 8 bit ALU (arithmetic logic review). Similarly 8086 processor has 16 bit ALU.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

19 13379
Q:

What are the notations used in Evaluation of Arithmetic Expressions using prefix and postfix forms?

A) Polish B) Reverse Polish
C) Both A and B D) None of the above
 
Answer & Explanation Answer: C) Both A and B

Explanation:

Polish and Reverse Polish are the notations used in Evaluation of Arithmetic Expressions using prefix and postfix forms

Report Error

View Answer Report Error Discuss

Filed Under: Database
Job Role: Database Administration

10 13369
Q:

A prescribed set of well-defined instructions for solving mathematical problems is called ________

A) A compiler B) A code
C) A description D) An algorithm
 
Answer & Explanation Answer: D) An algorithm

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Computer
Exam Prep: Bank Exams

36 13361
Q:

The theory which advocates that living beings can arise only from other living beings is termed

A) Bio-genesis B) Abiogenesis
C) Catastrophism D) Cosmozoic
 
Answer & Explanation Answer: A) Bio-genesis

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Science

48 13356
Q:

In which of the following animals is respiration done by skin?

A) Flying fish B) Sea horse
C) Frog D) Chemeleon
 
Answer & Explanation Answer: C) Frog

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Animals and Birds

92 13354