Questions

Q:

 A reason for using an SQL view to hide columns is:

A) to simplify a result only. B) to prevent the display of sensitive data only.
C) to accomplish both of the above. D) None of the above are reasons for using an SQL view.
 
Answer & Explanation Answer: C) to accomplish both of the above.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Database

1 6091
Q:

The first Carnatic war in India was an extension of the Anglo-French war in 

A) Canada B) Europe
C) Africa D) America
 
Answer & Explanation Answer: B) Europe

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian History

7 6090
Q:

The PS command prints the process status for only some of the running processes.

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

Explanation:

The PS command prints the process status for some or all of the running processes

Report Error

View Answer Workspace Report Error Discuss

Subject: Operating Systems
Exam Prep: GATE

1 6089
Q:

We want to round off x, a Float to an Int value. The correct way to do so would be

A) Y = ( int ) ( x + 0.5 ) ; B) Y = int ( x + 0.5) ;
C) Y = ( int ) x + 0.5; D) Y = ( int ) ( ( int ) x + 0.5 )
 
Answer & Explanation Answer: A) Y = ( int ) ( x + 0.5 ) ;

Explanation:

Rounding off a value means replacing it by a nearest value that is approximately equal or smaller or greater to the given number.

 

y = (int)(x + 0.5); here x is any float value. To roundoff, we have to typecast the value of x by using (int)

 

Example:

 

#include

 

int main ()

 

{

 

  float x = 2.6;

 

  int y = (int)(x + 0.5);

 

  printf ("Result = %d\n", y );

 

  return 0;

 

}

 

Result : 3

Report Error

View Answer Report Error Discuss

Filed Under: Programming

3 6087
Q:

Solve this Math Puzzle?

math_puzzle11533899278.jpg image

A) 36 B) 72
C) 84 D) 96
 
Answer & Explanation Answer: B) 72

Explanation:

Here in the given puzzle,

2 x (2 + 2) = 8

3 x (3 + 3) = 18

4 x (4 + 4) = 32

5 x (5 + 5) = 50

Similarly,

6 x (6 + 6) = 72.

Report Error

View Answer Report Error Discuss

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

10 6086
Q:

Solve this number puzzle?

Number_puzzle_41538031779.jpg image

A) 111 B) 121
C) 1111 D) 0
 
Answer & Explanation Answer: B) 121

Explanation:

Given 

1 = 1 => 1 x 11 = 11

2 = 22 => 2 x 11 = 22

3 = 33 => 3 x 11 = 33

...

...

Similarly,

11 => 11 x 11 = 121.

Report Error

View Answer Report Error Discuss

16 6085
Q:

What is the main component of bones and teeth?

A) Calcium Phosphate B) Calcium Carbonate
C) Calcium Nitrate D) Calcium Sulphate
 
Answer & Explanation Answer: A) Calcium Phosphate

Explanation:

The main component of bones and teeth is Calcium Phosphate.

Report Error

View Answer Report Error Discuss

Filed Under: General Science
Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Analyst , Bank Clerk , Bank PO

9 6082
Q:

Of the following, which element is common to all acids

A) hydrogen B) carbon
C) sulphur D) oxygen
 
Answer & Explanation Answer: A) hydrogen

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Science

28 6081