Questions

Q:

#define clrscr() 100

main()

{

clrscr();

printf( "%dn", clrscr() );

}

A) 100 B) 0
C) Compilation error D) Exception occurs
 
Answer & Explanation Answer: A) 100

Explanation:

Preprocessor executes as a seperate pass before the execution of the compiler. So textual replacement of clrscr() to 100 occurs.The input program to compiler looks like this :

main ()

{

100;

printf("%d\n",100);

}

Note: 100; is an executable statement but with no action. So it doesn't give any problem.

Report Error

View Answer Report Error Discuss

Filed Under: Programming

13 26131
Q:

Which of the following statements about Attorney General of India is/are not correct?

1.He is the first Law Officer of the Government of India.

2.He is entitled to the privileges of a Member of the Parliament.

3.He is a whole-time counsel for the Government.4. He must have the same qualifications as are required to be a judge of the Supreme Court.

Select the correct answer using the code given below.

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

Explanation:

The   Attorney   General   is   responsible   for   giving advice to the Government of India upon such legal matters  and  to  perform  such  other  duties  of  legal character as may be referred or assigned to him by the President. The  Attorney  General  has  the  right  of  audience  in all Courts in India as well as the right to participate in the proceedings of the Parliament, though not to vote.

The   Attorney   General   appears   on   behalf   of Government  of  India  in  all  cases  (including  suits, appeals  and  other  proceedings) in  the  Supreme Court in which Government of India is concerned.

He also represents the Government of India in any reference  made  by  the  President  to  the  Supreme Court under Article 143 of the Constitution.

The  Attorney  General  for  India  is  appointed  by  the President   of   India   under   Article   76(1)   of   the Constitution  of  India  and  holds  office  during  the pleasure  of  the  President.  He  must  be  a  person qualified  to  be appointed  as  a  Judge  of  the Supreme Court. So, statement 4 is incorrect.

Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams

1 26110
Q:

The first Mughal building with complete marble facing was

A) Taj Mahal B) Moti Masjid
C) Humayun's tomb D) Itmad-ud-daulah's tomb
 
Answer & Explanation Answer: C) Humayun's tomb

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian History

107 26081
Q:

Which of the following group is NOT Dobereiner Triads?

 

A) Li, Na, K B) N, P Au
C) Cl, Br, I D) Ca, Sr, Ba
 
Answer & Explanation Answer: B) N, P Au

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: Bank Exams

3 26072
Q:

Satyagraha Sabha was formed by gandhi at 

A) Bombay B) Gujarat
C) Calcutta D) Pune
 
Answer & Explanation Answer: A) Bombay

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian History

97 25944
Q:

River _______ is called 'The Sorrow of the Bengal'

A) Sone B) Damodar
C) Hooghly D) Kosi
 
Answer & Explanation Answer: B) Damodar

Explanation:

It rises in the hills of the Chhota Nagpur plateau and joins Hooghly after covering 22000 sq km. Its fury has been brought under control by DVC (Damodar Valley Corporation).

Report Error

View Answer Report Error Discuss

Filed Under: Indian Geography

58 25894
Q:

Improve the bracketed part of the sentence.

My brother is indifferent (about) whatever I say.

A) in B) of
C) to D) No improvement
 
Answer & Explanation Answer: C) to

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

2 25893
Q:

CD-ROM is a semiconductor memory.

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

Explanation:

"CD-ROM is a semiconductor memory" is a FALSE statement.


 


Compact Disc-Read-Only Memory, a type of optical disk capable of storing large amounts of data -- up to 1GB, although the most common size is 650MB (megabytes). A single CD-ROM has the storage capacity of 700 floppy disks, enough memory to store about 300,000 textpages.


 


Semiconductor memory is a type of semiconductor device tasked with storing data. There are two electronic data storage mediums that we can utilize, magnetic or optical.


 


Magnetic storage:


* Stores data in magnetic form.


* Affected by magnetic fields.


* Has high storage capacity.


* Doesn't use a laser to read/write data.


* Magnetic storage devices are; Hard disk , Floppy disk, Magnetic tape etc.


 


Optical storage:


* Stores data optically, uses laser to read/write.


* Not affected by magnetic fields.


* Has less storage than a hard disk.


* Data accessing is high, compared to a floppy disc.


* Optical storage devices are; CD-ROM,CD-R, CD-RW, DVD etc.


 


There is also volatile memory. This is memory that loses its data once power is cut off, while non-volatile memory retains data even without power.

Report Error

View Answer Workspace Report Error Discuss

Subject: Computer
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

65 25847