Questions

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

What characteristic of read-only memory (ROM ) makes it useful?

A) ROM informationcan be easily updated B) Data in ROM is non volatile, that is, it remains there even without electrical power
C) ROM provides very large amounts of inexpensive data storage D) ROM chips are easily swapped between different brands of computers
 
Answer & Explanation Answer: B) Data in ROM is non volatile, that is, it remains there even without electrical power

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Computer

93 24933
Q:

The 2017 Indian Premier League (IPL 2017) first match on 5 April, 2017 was held in ?

A) Banglore B) Delhi
C) Hyderabad D) Kolkata
 
Answer & Explanation Answer: C) Hyderabad

Explanation:

The 2017 Indian Premier League is scheduled to start on 5th April 2017 and finish on 21 May 2017. The opening match and the final will be played at the Rajiv Gandhi International Cricket Stadium in Hyderabad.

The first match was between Sun Risers Hyderabad and Royal Challengers Banglore.

Report Error

View Answer Report Error Discuss

Filed Under: Sports

211 24918
Q:

Storage which stores or retains data after power off is called____

A) Volatile storage B) Non-volatile storage
C) Sequential storage D) Direct storage
 
Answer & Explanation Answer: B) Non-volatile storage

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Computer

73 24865
Q:

Find the Missing Numbers in the given Number Puzzle ?

20840690_1392703260836774_1644662038967277559_n1504170508.jpg image

A) 169 & 81 B) 67 & 121
C) 64 & 115 D) 70 & 110
 
Answer & Explanation Answer: A) 169 & 81

Explanation:

Observe that in each column, square of sum of digits in the first row = Respective second row elements.

 

In the same way, square of sum of digits in the second row = Respective third row elements.

 

=> 6+42=102=100

 

=> 4+92=132=169

 

=> 8+12=92=81.

Report Error

View Answer Report Error Discuss

Filed Under: Number Puzzles
Exam Prep: GATE , CAT , Bank Exams , AIEEE
Job Role: Bank PO , Bank Clerk

97 24822
Q:

Output of the Program :

main()

{

int i = 1;

while (i <= 5)

    {

         printf( "%d", i );

         if (i > 2) goto here;

         i++;

     }

}

fun()

{

here : printf( "PP" );

}

A) 1 B) 2
C) Compilation error D) Exception occurs
 
Answer & Explanation Answer: C) Compilation error

Explanation:

Compiler error: Undefined label 'here' in function main

Report Error

View Answer Report Error Discuss

Filed Under: Programming

3 24807
Q:

 For what purposes are views used?

A) To hide rows only B) To hide columns only
C) To hide complicated SQL statements only D) All of the above are uses for SQL views.
 
Answer & Explanation Answer: D) All of the above are uses for SQL views.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Database

23 24804
Q:

Journalist's Day was celebrated for the first time all over the country on

A) Oct 1,1984 B) Oct 8,1984
C) Oct 20,1984 D) Oct 28,1984
 
Answer & Explanation Answer: D) Oct 28,1984

Explanation:
Report Error

View Answer Report Error Discuss

33 24799