Questions

Q:

Which was the first capital of Magadha

A) pataliputra B) Vaishali
C) Girivarja D) Champa
 
Answer & Explanation Answer: C) Girivarja

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian History

32 12640
Q:

What is the output after compile and run the following code ?

int Output = 10;
boolean b = false;
if((b == true) && ((Output += 10) == 20))
{
System.out.println("We are equal " + Output);
}
else
{
System.out.println("Not equal! " + Output);
}

A) Compilation and output of "We are equal 10" B) Compilation and output of "Not equal! 10"
C) Compilation error, attempting to perform binary comparison on logical data type D) Compilation and output of "Not equal! 20"
 
Answer & Explanation Answer: B) Compilation and output of "Not equal! 10"

Explanation:

The output will be "Not equal! 10". Please note that && is logical AND operator. If first operand before (&&) is false then the other operand will not be evaluated. This illustrates that the Output +=10 calculation was never performed because processing stopped after the first operand was evaluated to be false. If you change the value of b1 to true, processing occurs as you would expect and the output would be "We are equal 20".

Report Error

View Answer Report Error Discuss

Filed Under: Oracle Certification
Job Role: Analyst

12 12626
Q:

By whom the first republic of the world was established in Vaishali

A) Maurya B) Nand
C) Gupta D) Lichhavi
 
Answer & Explanation Answer: D) Lichhavi

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian History

27 12624
Q:

Software you can use to create a budget is called _______

A) word processing software B) graphics software
C) utility software D) spreadsheet software
 
Answer & Explanation Answer: D) spreadsheet software

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Computer
Exam Prep: Bank Exams

34 12624
Q:

Which of the following physical quantities do not have same dimensions

A) Force and Pressure B) Work and Energy
C) Impulse and momentum D) Weight and Force
 
Answer & Explanation Answer: A) Force and Pressure

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Physics

47 12619
Q:

The natural gaps across the mountains which provide routes are called

A) Peaks B) Dunes
C) Plateaus D) Passes
 
Answer & Explanation Answer: D) Passes

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Geography

22 12608
Q:

Which of the following birds is the state bird of three indian states?

A) Hill Mynah B) Blue Jay( Indian Roller)
C) Greater Flamingo D) Great Hornbill
 
Answer & Explanation Answer: B) Blue Jay( Indian Roller)

Explanation:

The three states are Andhra pradesh, Karnataka, odisha

Report Error

View Answer Report Error Discuss

Filed Under: Animals and Birds

82 12602
Q:

What is MESI?

Answer

The MESI protocol is also known as illinois protocol due to its development the University of illinois at Urbana-Champaign and MESI is a widely used cache coherency and memory coherence protocol.


MESI is the most common which supports write-back cache. its use in personal computers became widespread with the introduction of intel's pentium processor to "support the more efficient write-back cache in addition to the write-through cache previously used by the Intel 486 processor"/

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

21 12590