Technical Questions

Q:

What is difference between ARP and RARP?

Answer

The address resolution protocol (ARP) is used to associate the 32 bit IP address with the 48 bit physical address, used by a host or a router to find the physical address of another host on its network by sending a ARP query packet that includes the IP address of the receiver.


The reverse address resolution protocol (RARP) allows a host to discover its Internet address when it knows only its physical address

Report Error

View answer Workspace Report Error Discuss

Subject: Networking
Job Role: Network Engineer

1 5838
Q:

 A transitive dependency is which of the following?

A) A functional dependency between two or more key attributes. B) A functional dependency between two or more nonkey attributes.
C) A relation that is in first normal form. D) A relation that is in second normal form.
 
Answer & Explanation Answer: B) A functional dependency between two or more nonkey attributes.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Database

4 5705
Q:

What is the type of the algorithm used in solving the 8 Queens problem ?

A) Dynamic Programming B) BackTracking
C) Branch and Bound D) None
 
Answer & Explanation Answer: B) BackTracking

Explanation:

BackTracking is used for solving N-Queens problem

Report Error

View Answer Report Error Discuss

Filed Under: Software Testing

1 5679
Q:

What type of operating system uses the NTFS file system ?

A) Windows B) Mac OS X
C) Unix D) All of these
 
Answer & Explanation Answer: A) Windows

Explanation:

Windows operating system uses the NTFS file system.

Report Error

View Answer Report Error Discuss

Filed Under: Operating Systems
Exam Prep: Bank Exams

5 5624
Q:

Explain soundex() and metaphone() ?

Answer

soundex()
The soundex() function calculates the soundex key of a string. A soundex key is a four character long alphanumeric string that represent English pronunciation of a word. he soundex() function can be used for spelling applications.
< ?php
$str = "hello";
echo soundex($str);
? >


metaphone()
The metaphone() function calculates the metaphone key of a string. A metaphone key represents how a string sounds if said by an English speaking person. The metaphone() function can be used for spelling applications.
< ?php
echo metaphone("world");
? >

Report Error

View answer Workspace Report Error Discuss

7 5614
Q:

Which physical connection is the fastest?

A) Coaxial cable B) Infrared
C) Microwave D) Fiber-optic
 
Answer & Explanation Answer: D) Fiber-optic

Explanation:

Fiber-optic physical or wired connection is the fastest communication connection.

Report Error

View Answer Report Error Discuss

4 5605
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 5558
Q:

The benefits of object-oriented modeling are which of the following?

A) The ability to tackle more challenging problems B) Reusability of analysis, design, and programming results
C) Improved communication between users, analysts, etc. D) All of the above.
 
Answer & Explanation Answer: D) All of the above.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Database

5 5491