Every digit of a hex number is converted to 4 binary digits.
hex digits are { 0, 1, 2, .., A, B, .., F }.
2 in hex is equal to 0010 in binary.
D is equal to 1101.
so the answer is 00101101 or C.
Answer:
Below are the function for the above question in java Language---
void show_info(String name,String home,String state)
{
System.out.println("Your name is "+name+" and you live in "+ home+" ,"+state +".");
}
Output:
- If the user inputs name="Gaus",city="LosAngeles" and state="California" then the output will be "Your name is Gaus and you live in LosAngeless, California."
Explanation:
- The above function is in java language which takes three argument names, state, and the city.
- The name will be stored on the name variable of the string type.
- The state will be stored on the state variable of string type.
- The city will be stored on the city variable of the string type.
- Then the Output will be displayed with the help of the print function.
- '+' is used to merge the string.
<h3><em><u>Importance of Mobile computing in communication</u></em></h3>
*It’s portable and easy-to-use.
*It helps for different communication and information exchange.
*It saves user’s time and effort.
*It provides quick services like online business, e-mail, e-fax, etc.
*It increases the social interaction by sharing location services and GPS system.