Questions

Q:

Point out the error in the following program.

main()

{

    char mybuf[] = "Zanzibar" ;

    char yourbuf[] = " Zienckewiz";

    char * const ptr = mybuf;

     *ptr = 'a';

     ptr = yourbuf;

}

Answer

ptr pointer is constant. In ptr = yourbuf the program is trying to modify it, hence an error.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

5 7694
Q:

Which district in Andra Pradesh won the MGNREGA annual award for effective implementation of the Mahatma Gandhi National Rural Employment Guarantee Act ?

A) Vizianagaram B) Vizag
C) Guntur D) Srikakulam
 
Answer & Explanation Answer: A) Vizianagaram

Explanation:

The Ministry of Rural Development has selected Vizianagaram as one among the 17 districts across the nation for the MGNREGA annual award for effective implementation of the Mahatma Gandhi National Rural Employment Guarantee Act during 2015-16. The award would be presented at the Mahatma Gandhi NREGA Sammelan to the district programme coordinator and District Collector on June 19, 2017 in New Delhi.

Report Error

View Answer Report Error Discuss

Filed Under: Honours and Awards
Exam Prep: Bank Exams , CAT
Job Role: Bank PO

8 7692
Q:

In plants, exchange of gases takes place through

A) Stomata B) Palisade tissue
C) Spongy tissue D) mid rib
 
Answer & Explanation Answer: A) Stomata

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Biology

48 7689
Q:

Who is known as Punjab Kesari?

A) Bhagat Singh B) Dada Saheb Phalke
C) Lala Lajpat Rai D) Bal Gangadhar Tilak
 
Answer & Explanation Answer: C) Lala Lajpat Rai

Explanation:

Lala Lajpat Rai is known as Punjab Kesari.

Report Error

View Answer Report Error Discuss

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

8 7689
Q:

Processor's speed of a computer is measured in

A) Hertz B) Baud
C) MIPS D) BPS
 
Answer & Explanation Answer: A) Hertz

Explanation:

CPU speed is the central factor in a computer's performance. And this CPU speed depends on the processor in the CPU chip. In a computer, clock speed refers to the number of pulses per second generated by an oscillator that sets the tempo for the processor. Clock speed is usually measured in Hertz (Hz).

 

But now-a-days, a pure processor's performance is measured in MIPS (Millions of Instructions Per Second). As here in the question, how a processor's speed is measured is asked and it is Hertz. 

 

Hence, Processor's speed of a computer is measured in Hertz(Hz) [MHz, GHz].

Report Error

View Answer Report Error Discuss

10 7688
Q:

The Reserve Bank of India does NOT decide the .........

A) Rate of Repo and Reverse Repo B) Marginal Standing Facility Rates
C) Statutory Liquidity Ratio D) Rate of Dearness Allowance to Govt. Employees
 
Answer & Explanation Answer: D) Rate of Dearness Allowance to Govt. Employees

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

12 7681
Q:

A co-worker is rude to customers, what would you do?

Answer

That would depend on what kind of a rapport I had with him. If I felt comfortable, I would probably mention that being rude is probably going to be bad for him in the long run, since unhappy customers reflect badly on the sales associate. Otherwise, I would mention to the supervisor what I had witnessed, and let him handle it.

Report Error

View answer Workspace Report Error Discuss

10 7677
Q:

Oath taken by medical graduates is given by

A) Aristotle B) Theophrastus
C) Hippocrates D) Darwin
 
Answer & Explanation Answer: C) Hippocrates

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Biology

35 7676