1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
katrin [286]
3 years ago
11

What is the largest decimal value you can represent, using a 86-bit signed integer?

Computers and Technology
1 answer:
Nataly [62]3 years ago
4 0

Answer:

2^{85}-1

Explanation:

Considering the number are stored using binary notations.

If there are total 86 bits and 1 bit is used as sign bit. Then in total one can have 2^{85} bit combinations since a bit can be either stored as 0 or as 1.

Therefore,  the largest number that can be stored will be 2^{85}-1.

To understand it in better way let's scale down the problem to 3 bits representation. The largest number that can be stored using 3 bits is 111 which in decimal form is 7 and is equal to 2^{3}-1.

You might be interested in
Formulas within table cells always begin with
Montano1993 [528]
The answer is C.

Formulas within table cells always begin with an equal sign.

Here is the sample of some of the formulas :

1. Sum (equation)
=SUM(5, 5) or =SUM(A1, B1) or =SUM(A1:B5)

2. Count ( to count number of cells or rows)
=COUNT(A1:A10)

3. Trim ( Get rid of any space in a cell)
=TRIM(A1)

4. Vlookup ( to look up data from a vertically structured table)
=VLOOKUP(lookup_value, table_array, col_index_num, range_lookup)

5. if statements
=IF(logical_statement, return this if logical statement is true, return this if logical statement is false)







5 0
3 years ago
Write a recursive method that finds the number of occurrences of a specified letter in a string using the following method heade
Dafna1 [17]

Answer:

//Java program to find the number of occurrences of a specified character in a string.

// Import the required packages.

import java.io.*;

import java.util.*;

//class declaration

class CharacterCount

{

// Main method.

public static void main (string args[ ] )

{

  try

      {

     // Taking the input from the user.

         System. out.print ("Type a string to analyze: ");

     // Creating the scanner class object.

         scanner input = new scanner (system. in);

         String str = input .next();

         System.out.print("Type a character to check: ")

         String temp = input.next();

         char c = temp.charAt(0);

     // Calling the method to get the character count.

         int count = <em>count</em>(str,c);

     // Displaying the result.

         system.out.print In("There are " + count + " " + c + " 's. ");

     // catching the exception.

         catch(Exception e)

         System.out.print In("Exception has occured in the class . Program will exit. ");

      // Exiting the system.

         System.exit(0);

         }

}

// Method to calculate the character count.

public static int count(String str, char a)

  {

    // checking for null string input.

      if(str.equals(""))

      {

       return 0;

      }

      else

      {

      int k = 0;

    // Character matching check.

      if ( str.substring(0, 1) . equals (Character.<em>toString</em>(a)) )

      {

   // Incrementing the counter.

      k++;

      }

   // Recursive call

      k += <em>count</em>(str.substring(1) , a);

              return k;

       }

     }

}

Explanation:

Output should show: Type a string to analyze: welcome

                                   Type a character to check: e

                                   There are 2 e's.

3 0
4 years ago
Which behavior demonstrates teamwork
attashe74 [19]
Cooperation, agreements, trust Etc*
3 0
3 years ago
Read 2 more answers
Write a java program as follows Write a method called powOfTwo that takes an integer as parameter, computes, and outputs it’s sq
Kisachek [45]

Answer:

public static int powOfTwo(int input) {

 return input*input;

}

You will have to call this method in main
for printing it, write

System.out.println(powOfTwo(your number));

in public static void main(str[]args) {

}

8 0
2 years ago
What is the purpose of the start button?​
serg [7]

Answer:

The Start or Start button was first introduced with the release of Microsoft Windows 95 and is found in all releases of Windows since. Start allows you to access your computer programs and configure Microsoft Windows easily by accessing the Start menu.

6 0
3 years ago
Other questions:
  • Which of the following is not an algorithm?
    8·1 answer
  • What type of scientists studies tree rings to determine the history of an area?
    9·2 answers
  • Will upvote!
    12·1 answer
  • Which business application uses location information to provide a service and is designed to give mobile users instant access to
    5·1 answer
  • Lean production systems are sometimes referred to as pull systems because demand from customers activates the production actions
    5·1 answer
  • In Java the ______________are not objects. All of the rest areobjects, or any ___________ is called as object.
    10·1 answer
  • Write a function called "power" that takes in integers b&gt;0 and e≥0 and recursively computes b^3 and returns the result.
    5·2 answers
  • Before posting a picture online, make sure to
    7·1 answer
  • I really need this answer please
    5·1 answer
  • This project must target a Unix platform and execute properly on our CS1 server.
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!