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
11111nata11111 [884]
4 years ago
14

How may bit strings are there of length 8

Computers and Technology
2 answers:
sleet_krkn [62]4 years ago
7 0

Answer:

2^8=256 different strings

Explanation:

A <em>bit</em> can either store a 1 or a 0, this gives you 2 different 1-bit strings (0, 1), 4 different 2-bit strings (00, 01, 10, 11), and in general, 2^n strings for an n-bit string. Why 2^n? Well, for every bit, we have 2 choices, either a 0 or a 1, which means we double the number of possible strings with every additional bit. So, in a string with a length of 8 bits, we'll have 2^8=256 possible choices for strings.

deff fn [24]4 years ago
5 0

Answer:

there are 256 bits. there 256 values u can store in a byte

You might be interested in
You want to change your cell phone plan and call the company to discuss options
Vikki [24]
And? What’s the point? The question?
3 0
3 years ago
The labor market shows the:
Bad White [126]
<span>The labor market shows the </span><span>supply of available workers in relation to available work. The labor market is made up of </span>people who are working or looking for work. Those who are actively searching for work are calculated in the labor market as well. Those who are able to work but are not searching for work are not part of the labor market. 
8 0
3 years ago
Which of the following set of instructions defines an algorithm in the formal, strict sense?
Nikolay [14]
Hope that understands

8 0
3 years ago
How many different Microsoft Windows file types can be infected with a virus?
vagabundo [1.1K]
Phishing, scam, Fraud, just to get to hack your computer.
6 0
3 years ago
A group of statisticians at a local college has asked you to create a set of functions that compute the median and mode of a set
Vanyuwa [196]

Answer:

from functools import reduce

def mean(mylist):

   score = reduce(lambda x,y: x + y, mylist)/ len(mylist)

   return score

def median(mylist):

   sorted(mylist)

   list_len = len(mylist) % 2

   i = round(len(mylist)/2)

   x = len(mylist)//2

   if list_len == 0:

       median = (mylist[x] + mylist[x+1]) / 2  

   else:

       median = mylist[i]

   return median

def mode(mylist):

   unique = set(mylist)

   unique = list(unique)

   collector = [mylist.count(key) for key in unique]

   maxi = max(collector)

   loc = collector.index(maxi)

   return unique[loc]

def main():

   scores = input( 'Enter list of numbers: ').split(",")

   scores = [int(score) for score in scores]

   

   operation = input('Enter operation: ')

   operator = ['mean', 'median', 'mode']

   

   for x in iter(list, 0):

       if operation in operator:

           break

       print("Invalid operation: ")

       operation = input('Enter operation')

   

   index_loc = operator.index(operation)

   

   if index_loc == 0:

       return mean(scores)

   elif index_loc == 1:

       return median(scores)

       #return np.median(scores)  can be used of the defined function

   elif index_loc == 2:

       #return stats.mode(scores)[0]  can be used of the defined function

       return mode(scores)

print( main( ) )

Explanation:

The main python function calls conditionally three statistical functions namely mean, median and mode. It prompts for user input for a list of integer numbers and a function name name to return the corresponding result.

8 0
3 years ago
Other questions:
  • Which constraints is applied to a group of fillets that are created by specifying the same radius?
    6·2 answers
  • The students of a college have to create their assignment reports using a word processing program. Some of the questions in thei
    5·2 answers
  • Enter a formula in cell b7 to calculate the average value of cells b2:b6
    13·1 answer
  • Indicate if the following statements are True or False. Statement Circle one Internet Service Providers (ISPs) are proprietary n
    13·1 answer
  • Why is it a good idea to defrag your hard disk regularly?
    9·1 answer
  • For each recursive call, display the outputs on a separate line and add a level of indentation. do your utmost to make the outpu
    10·1 answer
  • Which function works best when you need to remove an element at a pacific index and a list
    15·1 answer
  • We will use linear interpolation in a C program to estimate the population of NJ between the years of the census, which takes pl
    10·1 answer
  • This document shows a student's education and career goals and a way to achieve those goals.
    8·1 answer
  • A program virus infect​
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!