Questions

Q:

What will be output when you will execute following c code?

#include <stdio.h>
void main()

{
     switch(2)

      {
            case 1L:printf("No");
            case 2L:printf("%s","I");
              goto Love;
            case 3L:printf("Please");
            case 4L:Love:printf("Hi");
     }
}

A) I B) IPleaseHi
C) IHi D) Compilation error
 
Answer & Explanation Answer: C) IHi

Explanation:

It is possible to write label of goto statement in the case of switch case statement.

Report Error

View Answer Report Error Discuss

Filed Under: Programming

3 14805
Q:

Define latency, transfer and seek time with respect to disk I/O.

Answer

Seek time is the time required to move the disk arm to the required track. Rotational delay or latency is the time it takes for the beginning of the required sector to reach the head. Sum of seek time (if any) and latency is the access time. Time taken to actually transfer a span of data is transfer time.

Report Error

View answer Workspace Report Error Discuss

14 14796
Q:

Improve the bracketed part of the sentence.

 

It also indicates the caveats and failure modes in the model need to be improved before (been used independently).

 

A) been using independently B) being used independently
C) been independently D) No improvement
 
Answer & Explanation Answer: B) being used independently

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 14788
Q:

Echoes may be heard more than once due to successive or multiple

 

A) Rarefactions B) Reflections
C) Diffractions D) Refractions
 
Answer & Explanation Answer: B) Reflections

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: Bank Exams

1 14782
Q:

The output of the code below is

       #include <stdio.h>
        void main()
        {
            int i = 0, k;
            if ( i == 0 )
                goto label;
                for ( k = 0;k < 3; k++ )
                {
                    printf( "hin" );
                    label: k = printf( "%03d", i );
                }
         }

A) 0 B) hi hi hi 0 0 0
C) 0 hi hi hi 0 0 0 D) 0 0 0
 
Answer & Explanation Answer: A) 0

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Programming

1 14755
Q:

Improve the bracketed part of the sentence.

 

Happy is the man (who acquired) the habit of reading when he is young

A) who acquires B) which was acquiring
C) who acquire D) No improvement
 
Answer & Explanation Answer: C) who acquire

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 14754
Q:

Improve the bracketed part of the sentence.

 

Even after 70 years of achieving independence, democracy, (in its true senses), was yet to come to India.

A) in its true sense B) in its real sense
C) in its real senses D) No improvement
 
Answer & Explanation Answer: A) in its true sense

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 14752
Q:

The instrument of instructions contained in the Government of India Act, 1935 has been incorporated in the constitution of India in the year 1950 as

A) Fundamental Rights B) Directive Principles of the state Policy
C) Fundamental Duties D) Emergency provisions
 
Answer & Explanation Answer: D) Emergency provisions

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics

32 14743