Questions

Q:

How many times the following program would print 'Jamboree'?

main()

{

     printf ( "\nJamboree");

     main ();

}

Answer

Till the stack doesn't overflow

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

2 3485
Q:

Match the following:

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

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian History

11 3484
Q:

In latest generation computers, the instructions are executed

A) Sequentially only B) Parallelly only
C) Both sequentially and parallelly D) None of the above
 
Answer & Explanation Answer: C) Both sequentially and parallelly

Explanation:

In_latest_generation_computers,_the_instructions_are_executed1556257673.jpg image

 

In latest generation computers, the instructions are executed both sequencially and parallelly.

Report Error

View Answer Report Error Discuss

3 3484
Q:

A cup of hot coffee is placed on a metal table in a room. By which of the following methods does it lose heat?

A) conduction and convection only B) conduction and radiation only
C) convection and radiation only D) conduction, convection and radiation
 
Answer & Explanation Answer: D) conduction, convection and radiation

Explanation:

Part of the heat is conducted away by the metal table. Convection currents in air near the surface of the coffee are set up which accounts for some heat loss. Heat is also lost by radiation from the hot coffee to the surroundings. Most of the heat is lost by the last method.

Report Error

View Answer Report Error Discuss

Filed Under: Physics

5 3483
Q:

Tone, volume and pace are part of

A) Body language B) Spoken language
C) Sign language D) Written language
 
Answer & Explanation Answer: B) Spoken language

Explanation:

Tone, volume and pace are part of Spoken language.

Report Error

View Answer Report Error Discuss

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

3 3483
Q:

How would you check whether the contents of two structure variables are same or not?

Answer

struct emp


{


     char n[20];


      int age;


};


main()


{


    struct emp e1 = {"Dravid", 23};


   struct emp e2;


   scanf ("%s %d",e2.n, & e2.age);


   if( structcmp (e1,e2) ==0)


        printf ("The structures are equal");


   else


         printf ("The structures are unequal");


}


structcmp ( struct emp x, struct emp y)


{


     if (strcmp (x.n,y.n) ==0)


           if (x.age == y.age)


            return (0);


            return (1);


}


In short, if you nee to compare two structures, you'll have to write your own function to do so which carries out the comparison field by field.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 3483
Q:

Hard disk is coated in both side with

A) Carbon layer B) Magnetic metallic oxide
C) Optical metallic oxide D) All of the above
 
Answer & Explanation Answer: B) Magnetic metallic oxide

Explanation:

Hard_disk_is_coated_in_both_side_with1551862660.jpg image

Hard disk is coated in both side with Magnetic metallic oxide.

Report Error

View Answer Report Error Discuss

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

4 3482
Q:

Which of the following is the regulator of the credit rating agencies in india?

A) RBI B) SBI
C) SIDBI D) SEBI
 
Answer & Explanation Answer: D) SEBI

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams
Job Role: Bank PO

4 3482