Technical Questions

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 14788
Q:

Which of the following is not true about cloud computing?

which_of_the_following_is_not_true_about_cloud_computing1539240737.jpg image

A) Cloud-based management platforms cannot support internally hosted server platforms B) Cloud-based management platforms can support multiple cloud-virtual server vendors
C) Cloud-based management platforms can support multiple cloud-virtual server operating systems D) Cloud-based management platforms can support change management methodologies
 
Answer & Explanation Answer: A) Cloud-based management platforms cannot support internally hosted server platforms

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Database
Job Role: IT Trainer , Database Administration , Analyst

6 14712
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 14612
Q:

void main()

{

char good *better, *best;

printf( "%d..%d", sizeof(better), sizeof(best) );

}

A) 1..2 B) 4..4
C) 4..2 D) 2..2
 
Answer & Explanation Answer: C) 4..2

Explanation:

The second pointer is of char type and not a good pointer.

Report Error

View Answer Report Error Discuss

Filed Under: Programming

4 14546
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 14523
Q:

What would be the output of the following program ?

main() 

{

       unsigned  int a = oxffff;

        ~a;

        printf ("%x", a);

}

A) ffff B) 0000
C) 00ff D) None of the above
 
Answer & Explanation Answer: A) ffff

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Programming

0 14326
Q:

What is page cannibalizing?

Answer

Page swapping or page replacements are called page cannibalizing.

Report Error

View answer Workspace Report Error Discuss

22 14156
Q:

What is the output of this C code?

        #include <stdio.h>
        void main()
        {
            int x = 97;
            char y = x;
            printf("%cn", y);
        }

A) a B) 97
C) Run time error D) None
 
Answer & Explanation Answer: A) a

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Programming

1 13909