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
Phishing is a broad term that describes any program that is designed to cause harm or transmit information to others without the
katrin [286]
False phishing is the fraudulent practice of sending emails purporting to be from reputable companies in order to induce individuals to reveal personal information, such as passwords and credit card numbers.
6 0
3 years ago
How do you render and export files on blender
Debora [2.8K]

Answer:

Save your Blender file (. blend) in the same folder as your . obj file, if you didn't already.

Click on File/External Data/Pack All into . blend.

Click on File/External Data/Unpack All Into Files.

Choose "Use files in current directory (create when necessary)"

Explanation:

<em>Hope </em><em>it </em><em>helps </em><em>ya </em><em>ItzAlex</em>

6 0
3 years ago
Most languages allow a specialized selection structure called the ____ structure when there are several distinct possible values
aleksandr82 [10.1K]

Answer:

CASE

Explanation:

Case Structure is a mechanism that allows different executions when there are several distinct possible values for a single variable, and each value requires a different subsequent action depending on the value of the label.

Case structure is also a conditional control structure that appears in most modern programming languages and allows a selection to be made between several sets of program statements.

8 0
3 years ago
(Financial application: compound value) Suppose you save $100 each month into savings account with an annual interest rate of 5%
Nostrana [21]

Solution:

initial = float(eval(input('Enter the monthly saving amount: ')))

x = (1 + 0.00417)

month_one = initial * x

month_two = (initial + month_one) * x  

month_three = (initial + month_two) * x  

month_four = (initial + month_three) * x

month_five = (initial + month_four) * x  

month_six = (initial + month_five) * x  

print('The sixth month value is: '+str(month_six))  

Don't forget the saving amount, and initialize the balance with that amount. Inside the loop, work out and add the interest and then add the saving amount for the next month.

balance = 801

for month in range(6):

  balance = balance * (1.00417)

print(balance)

7 0
3 years ago
Help me plssssss which rule should be followed to stay safe online
max2010maxim [7]

Answer:

B: Avoid Sharing Photos

Explanation:

If you send a photo to a person, you need to be very careful not to send something that can give your information away, this includes but it not limited to Pictures of your town, Pictures of You, Pictures of Friends, Pictures of Family, etc.

Hope I could help!!

7 0
3 years ago
Read 2 more answers
Other questions:
  • How is a network printer identified on the network?
    8·1 answer
  • What is the purpose of inserting SmartArt in a Microsoft Office program? (1 point)
    11·2 answers
  • I have a problem with importing excel file into Access. I have some table in Excel and I want to import it into Access. When I d
    6·2 answers
  • How do I download the Microsoft word on my Hp probook
    8·2 answers
  • The _________ indicates the number of elements, or values, an array can hold
    14·1 answer
  • Why was Apple the best company of 2019??
    15·2 answers
  • A _________ is a task at the lowest level of the WBS that represents the level of work that the project manager uses to monitor
    5·1 answer
  • Why is simplicity important in navigation design?
    13·1 answer
  • Define artificial intelligence?​
    15·2 answers
  • The memory capacity in bits for performing the operation y = f (x) using the table lookup method, where x is an 8-bit number and
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!