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
nika2105 [10]
3 years ago
14

Binary is a sequence of 0s and 1s such as 1001101 which can be used to code information. To break a code, you need to find how m

any 0s and 1s there are in a particular sequence of 7 numbers. A break in the code shows the permutation of the symbols is 35. How many many 0s and how many 1s are there if you know there are more 1s than 0s
Computers and Technology
1 answer:
kati45 [8]3 years ago
4 0

Answer:

There are four 1s and three 0s

Explanation:

First, we know that there are 7 numbers in the sequence and there are more 1s than 0s, so we have the following options:

Option 1. Seven 1s and zero 0s

Option 2. Six 1s and one 0s

Option 3. Five 1s and two 0s

Option 4. Four 1s and three 0s

On the other hand, the number of permutations for n elements that are not all different is calculated as:

\frac{n!}{n_1!*n_2!*...+n_k!}

Where k is the number of elements that are different and n_i is the number of times that every element appears.

Now, we know that the permutation of the symbols is 35, so we need to calculated the number of permutations for every option.

Then, for option 1, we have 7 elements (7 numbers of the sequence) with 2 different elements (seven 1s and zero 0s). So, the number of permutation of the symbols is:

Option 1. \frac{7!}{7!*0!}=1

Because n is equal to 7, k is equal to 2 , n_1 is equal to 7 and n_2 is equal to 0. At the same way we have:

For option 2. \frac{7!}{6!*1!}=7

For option 3. \frac{7!}{5!*2!}=21

For option 4. \frac{7!}{4!*3!}=35

It means that the option in which the permutation of the symbols is 35 is Option 4, so there are four 1s and three 0s.

You might be interested in
Explain 3 ways you can be an upstander when seeing cyberbullying.
Bess [88]

Answer:

Assuming an upstander is someone that opposes cyberbullying:

(1) Call them out

(2) Report the behavior to proper moderation authority

(3) Tell the person to block messages from the cyberbully

I don't really know what else you want from this.

Cheers.

3 0
3 years ago
Read 2 more answers
Write a complete program that declares an integer variable, reads a value from the keyboard into that variable, and writes to st
Feliz [49]

Answer:

// here is code in C++.

#include <bits/stdc++.h>

using namespace std;

// main function

int main()

{

  // variables

  double num;

  // read discriminant

  cin>>num;

  // calculate square of the input

  double result=num*num;

  // print the square number

  cout<<result<<endl;

     return 0;

}

Explanation:

Declare a variable "num".Read the value of "num" from keybord.Then calculate square of the input number.Print the square of input number.

Output:

5

25

5 0
4 years ago
What is output if the user types in 8
Lady_Fox [76]

Answer: 8

And if you hold shift while typing it, it gives *

7 0
3 years ago
Answer to this if you have apex legends on either pc xbox one or PS4 for the one that answers and does gets brainliest please do
weqwewe [10]

Answer:

I got it on Ps4

3 0
3 years ago
Read 2 more answers
Is science fiction always set in the future
Natali5045456 [20]
Yes and No it all depends on how the author wants the poem how to be and become. Majority of the time science fiction is set for the future.
5 0
3 years ago
Other questions:
  • Pointsfor a failover cluster, what type of network would you use to communicate with an iscsi device?
    15·1 answer
  • How can you recognize an unsecured wireless network?
    9·1 answer
  • which of these describe raw data?check all of the boxes that apply A) what a person buys B) where a person lives C) data that ha
    9·1 answer
  • Describe the following types of data hazards. RAW WAR WAW
    13·1 answer
  • Which type of financial institution typically has membership requirements?
    9·2 answers
  • . How to insert Section Break in Microsoft word 2016 ?
    14·1 answer
  • ________ of Willa Catha present an unadorned picture oflife on the prairies of the Midwestern United States during the19th centu
    8·1 answer
  • Assume that you have the business data in various sources such as Excel, .csv, text files and Access, Oracle databases. Write th
    9·1 answer
  • Plz help Complete the sentence.
    11·2 answers
  • The director of security at an organization has begun reviewing vulnerability scanner results and notices a wide range of vulner
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!