Java there are n coins each showing either heads or tails we would like all the coins to form a sequence of alternating heads and tails what is the minimum number of coins that must be reversed to achieve this

Answers

Answer 1

El número mínimo de monedas que se deben invertir para lograr esto:

45 moas


Related Questions

The speed of a computer is measured in____?​

Answers

Answer:

gigahertz

Explanation:

The clock speed measures the number of cycles your CPU executes per second, measured in GHz (gigahertz)

[tex]\sf{}[/tex]

ANSWER => gigahitrz

Explanation:

The speed of a computer is measured in gigahitrz

who is the owner of apple company??​

Answers

Answer:

Steven Paul Jobs......

....

Transitive spread refers to the effect of the original things transmitted to the associate things through the material, energy or information.

a. True
b. False

Answers

A is the correct answer

I really need To know how To get The special ending for final fight 2 for super nintendo it’s a video game

Answers

Answer:

Check Yt

Explanation:

More often than not there are many video tutorials about every game imaginable.

Select the true statement about the motherboard.


It executes the commands sent to it by the application software.


It acts as a storage point for read-only memory (ROM).


It acts as the working memory of the computer by transferring data from the hard disk for processing.


It provides much of the electrical connection between different computer parts.

Answers

Answer:

it executes the commands sent to it by the applica software .

The motherboard provides much of the electrical connection between different computer parts.

What is a motherboard?

This is known to be a kind of  printed circuit board that is made up of some key parts or aspect of a computer or any kind of device.

Conclusively, it is one that is made up of It connectors that is a place where other circuit boards can be placed and as such act to provides much of the electrical connection between different computer parts.

Learn more about motherboard from

https://brainly.com/question/12795887

#SPJ2

Identify the statement about Windows tasks that is FALSE.


To launch an application, click the Windows icon, select "All Programs," and then click an application.


The boot process is the process for powering off a computer.


A common way to shut down the computer’s operating system is by using the Start menu.


Users log into their accounts on the Welcome screen, before Windows is ready to use.

Answers

The statement about Windows tasks that is FALSE is

The boot process is the process for powering off a computer.

According to the question, we are to discuss about Windows tasks and how it works as regards to the computer.

As a result of this we can see that  in launching an application;

we need to click on Windows iconselect "All Programs," click an application.

Therefore, The boot process is not the process for powering off a computer.

Learn more about Windows tasks .

https://brainly.com/question/1594289

The statement that is false is: The boot process is the process for powering off a computer, which is the second option. The boot process is actually the process of starting or powering on a computer, not powering it off.

The boot process refers to the sequence of events that occur when a computer is powered on or restarted. It is the process of starting up the computer's hardware and loading the operating system into memory so that it is ready for use. During the boot process, the computer's firmware (such as the BIOS or UEFI) performs a series of checks and tests to ensure that the hardware components are functioning correctly. It then searches for the operating system on connected storage devices, such as the hard drive or solid-state drive, and loads it into memory.

Learn more about the boot process here.

https://brainly.com/question/24355262

#SPJ6

How do computer users benefit from the increased speed?

Answers

Answer:

jrjhfn4

Explanation:

jejehrurjrbrr

what do you mean by hardware and software?

Answers

Answer:

I think the above information will help you a lot.

Have a nice day.

Please read the screen shot brainly is not letting me write the whole thing

help me
Q3/ Put True or false in front of the following


statements:
1- You can use the Goal seek feature available by clicking on the data what-if analysis-> Goal Seek.
2- The equations in matrix form [X]-[A] [b]. 3- The A B matrix will be 2 3 ,where A is 2*3 and B is 3*3..
4- The command of inverse is +minverse(arry1...arry2).
5- The (By Changing Cells) box should contain the location of the decision variables for the problem.​

Answers

Answer:

TrueFalseFalseTrueFalse

Explanation:

mark me as brainlyest

why is computer called and information processing machine​

Answers

Answer:

why is computer called information processing machine? Since, the computer accepts raw data as input and converts into information by means of data processing, it is called information processing machine (IPM).

Explanation:

what is the difference between packed and unpacked bcd numbers ​

Answers

Explanation:

Packed BCD ( Binary coded decimal) is type in which each decimal digit is represented by 4 bits ( 1 nibble) . For Example : 14 will be shown as 0001 0100 in packed BCD form. Unpacked BCD is type in which each decimal digit is represented by 8 bits ( 1 byte).

Create a Python dictionary that returns a list of values for each key. The key can be whatever type you want.

Design the dictionary so that it could be useful for something meaningful to you. Create at least three different items in it. Invent the dictionary yourself. Do not copy the design or items from some other source.

Next consider the invert_dict function.

def invert_dict(d):
inverse = dict()
for key in d:
val = d[key]
if val not in inverse:
inverse[val] = [key]
else:
inverse[val].append(key)
return inverse

Modify this function so that it can invert your dictionary. In particular, the function will need to turn each of the list items into separate keys in the inverted dictionary.
Run your modified invert_dict function on your dictionary. Print the original dictionary and the inverted one.
Describe what is useful about your dictionary. Then describe whether the inverted dictionary is useful or meaningful, and why.

Answers

Answer:

Explanation:

# name : [animal type, age, sex]

animal_shellter = {

 "Teddy": ["dog",4,"male"],

 "Elvis": ["dog",1,"male"],

 "Sheyla": ["dog",5,"female"],

 "Topic": ["hamster",3,"male"],

 "Kuzya": ["cat",10,"male"],

 "Misi": ["cat",8,"female"],

}

print(animal_shellter)

print("")

def invert(d):

 inverse = dict()

 for key in d:

   val = d[key]

   for item in val:

     if item not in inverse:

       inverse[item] = [key]

     else:

       inverse[item].append(key)

 return inverse  

inverted_shellter = invert(animal_shellter)

print(inverted_shellter)

What is wrong with the following if statement (there are at least 3 errors).
The Indentation indicates the desired behavior.

if numNeighbors >= 3 || numNeighbors = 4
++numNeighbors;
printf ("You are dead! \n “);
else
--numNeighbors;

Answers

In programming, if statements are used to test conditions. The statement to be executed will be determined by the result of the conditions. A statement will be executed if its accompanying condition is true.

The errors in the given code segment are as follows:

The if condition on line 1 should be in a closed bracket; i.e. ()The if condition has more than 1 statements to execute. So, it requires a curly bracket; i.e. {}The second part of the first condition should be == 4 and not =4; because the proper operator to make comparison is == while = is used as an assignment operator

The correct code is as follows:

if (numNeighbors >= 3 || numNeighbors == 4) {

++numNeighbors;

printf ("You are dead! \n “); }

else

--numNeighbors;

Read more about conditional statements at:

https://brainly.com/question/20228453

Many Java programs that you create will receive and process user input. In order to ensure that user input is accurate, you will need to use input validation and exception handling.

a. True
b. False

Answers

Answer: True

Explanation: True

A sinewave has a period (duration of one cycle) of 645 μs. What is the corresponding frequency of this sinewave, in kHz, expressed to 3 significant figures?


please help me figure this out I am so confused

Answers

The corresponding frequency of this sinewave, in kHz, expressed to 3 significant figures is: 155 kHz.

Given the following data:

Period = 645 μs

Note: μs represents microseconds.

Conversion:

1 μs = [tex]1[/tex] × [tex]10^{-6}[/tex] seconds

645 μs = [tex]645[/tex] × [tex]10^{-6}[/tex] seconds

To find corresponding frequency of this sinewave, in kHz;

Mathematically, the frequency of a waveform is calculated by using the formula;

[tex]Frequency = \frac{1}{Period}[/tex]

Substituting the value into the formula, we have;

[tex]Frequency = \frac{1}{645\; * \;10^{-6}}[/tex]

Frequency = 1550.39 Hz

Next, we would convert the value of frequency in hertz (Hz) to Kilohertz (kHz);

Conversion:

1 hertz = 0.001 kilohertz

1550.3876 hertz = X kilohertz

Cross-multiplying, we have;

X = [tex]0.001[/tex] × [tex]1550.39[/tex]

X = 155039 kHz

To 3 significant figures;

Frequency = 155 kHz

Find more information: https://brainly.com/question/23460034

2) What are three categories of computer languages? 3) Write four components of a QBASIC window. 4) What are the three types of operators in QBASIC? 5) What is the use of connector symbol in flowchart? 6) What is a computer network? 7) State two uses of Internet. 8) Write three examples for web browser. 9) Name some popular ISPs in Sri Lanka. 10) Differentiate between MAN and PAN.​

Answers

Answer:

2: assembly language , machine language and high level language

3: a character set , constants , variables , statements , operators and expressions

Write a program that uses input to prompt a user for their name and then welcomes them. Note that input will pop up a dialog box. Enter Sarah in the pop-up box when you are prompted so your output will match the desired output.

Answers

user_name = str (input = ("Please enter your name: "))

def greet (user_name):

print ("Welcome to your ghetto, {0}!".format(user_name) )

Pleaseeeeee helppppp meeeeeeee
Tomorrow is my examination.​
Please don't ignore.

Answers

Answer:

Floppy disk

Pendrive

sd card

CD

Router

Explanation:

Hope it is helpful

Which best describes sorting, filtering, and deleting records?
O Sorting and filtering can be undone, but deleting records is a permanent change.
O Sorting can be undone, but filtering and deleting records are permanent changes.
O Deleting and filtering can be undone, but sorting records is a permanent change.
O Deleting can be undone, but sorting and filtering records are permanent changes.​

Answers

Answer:

Deleting and filtering can be undone, but sorting records is a permanent change.

Write equivalent predicate statement for Every teacher who is also a painter loves Bob​

Answers

Answer:

Every teacher who is also a painter loves Bob

I have no idea how to answer this question so I’m just gonna

Consider a network that is a rooted tree, with the root as its source, the leaves as its sinks, and all the edges directed along the paths from the root to the leaves. Design an efficient algorithm for finding a maximum flow in such a network. What is the time efficiency of your algorithm

Answers

Answer:

please mark me brainlist

Explanation:

can somebody help what's wrong with this code
asap~

Answers

Answer:

There's a + missing to concatenate your variable to your string.

what are the different versions of Ms word?​

Answers

Answer:

ms paint will not attend as the ICRC is the time to move becuse to get free skin on your skin that you have a doubt about the quality and

If i took my SIM card out of my phone and put it in a router then connect the router and my phone with Ethernet cable would the ping change???

Answers

Answer:

ummmmmmmmmmmmm nooooo???

8. Which clause will always executes
a) try b) catch c) finally d) None of them

Answers

Answer:

I think a is correct answer

Mary has been locked out of her account after failing to correctly enter her password three times. As the system administrator, you need to unlock her account. Which of the following commands would unlock Mary's account assuming that you are using pam_faillock.so module?

a. faillock --reset --user mary
b. pam_faillock --unlock --user mary
c. pam_faillock --reset --user mary
d. faillock --unlock --user mary

Answers

Oh hey lol yea yea lol I got the money back to me put on the phone so you know

Select all steps in the list below that should be completed when using the problem-solving process discussed in this chapter.


Take action.

Take a break.

Evaluate.

Complete the task.

Consider solutions and list ideas.

Understand the task or need.

Ask a coworker for help.

Answers

Take action.

Evaluate.

Complete the task.

Consider solutions and list ideas.

Understand the task or need.

is there similarities between plagiarism and software piracy? explain.​

Answers

PlagiarismPlagiarism means using someone else's ideas or words without crediting source.PiracyPiracy is unauthorized use, reproduction, or sharing of copyrighted material.

Write a program to compare the content of AX and DX registers, if they are equal store 1 (as 8 bits) in locations with offset addresses (0020H, 0021H, ..., 0040H), otherwise leave these locations without changing.
???​

Answers

Answer:

so srry I'm very low that this question

Write a job back with my best Interest

Answers

Answer:

be a doctor

Explanation:

u will help people and save them and get paid

Other Questions
Divide. Write your answer as a fraction in simplest form.1/520= Which expression is equal to the expression below? (2x6)^4 What is the dimension of Gravitation constant h? To convert a measurement in centimeters to meters, you simply move the decimal point For example, we can take WaterIn (A) Water has same mass and great volumeIn (B) Water has same mass and lower volumeWill there be any change in its density then? Select the correct text in the passage.Which detail best develops the character of the narrator, Jane Eyre, in the excerpt?excerpt from Jane Eyreby Charlotte BrontIn the following excerpt, the narrator, Jane Eyre, describes an interaction with her nursemaid, Bessie.Bessie asked if I would have a book: the word book acted as a transient stimulus, and I begged her to fetch Gulliver's Travels from the library.This book I had again and again perused with delight. I considered it a narrative of facts, and discovered in it a vein of interest deeper than whatI found in fairy tales: for as to the elves, having sought them in vain among foxglove leaves and bells, under mushrooms and beneath theground-ivy mantling old wall-nooks, I had at length made up my mind to the sad truth, that they were all gone out of England to some savagecountry where the woods were wilder and thicker, and the population more scant; whereas, Lilliput and Brobdignag being, in my creed, solidparts of the earth's surface, I doubted not that I might one day, by taking a long voyage, see with my own eyes the little fields, houses, and trees,the diminutive people, the tiny cows, sheep, and birds of the one realm; and the corn-fields forest-high, the mighty mastiffs, the monster cats,the tower-like men and women, of the other. Yet, when this cherished volume was now placed in my hand-when I turned over its leaves, andsought in its marvellous pictures the charm I had, till now, never failed to find-all was eerie and dreary; the giants were gaunt goblins, thepigmies malevolent and fearful imps, Gulliver a most desolate wanderer in most dread and dangerous regions. I closed the book, which I daredno longer peruse, and put it on the table, beside the untasted tart.Bessie had now finished dusting and tidying the room, and having washed her hands, she opened a certain little drawer, full of splendid shredsof silk and satin, and began making a new bonnet for Georgiana's doll. Meantime she sang: her song was-"In the days when we went gipsying,A long time ago."I had often heard the song before, and always with lively delight; for Bessie had a sweet voice. --at least, I thought so. But now, though her voicewas still sweet, I found in its melody an indescribable sadness. Sometimes preoccuniad with Corn tortillas?? Corn or flour? plz help me on this 4What is MOST likely TRUE about popular music?A.It considers the tastes and preferences of the middle class.B.It has existed throughout the world since the mid-1600s.Oc.It includes only three genres of music: rap, rock, and metal.D.It is not influenced by commercial or economic ideas.ResetNext All of the following are true about a cyclical pattern EXCEPT it is ______. a. often combined with long-term trend patterns and called trend-cycle patterns b. often due to multi-year business cycles c. usually easier to forecast than a seasonal pattern due to less variability d. an alternating sequence of data points above and below the trend line We do not use water instead of mercury in a barometer -7/3+1/2w= -9/5What is w? A right triangle has a 6cm base and an 8cm height. What is the length of the hypotenuse, in centimeters? apply five relationship between agriculture and Industry describe the following tyre parts stating their advantages and disadvantages. i.groove ii.cuff iii.lugs At a particular restaurant, each slider has 225 calories and each chicken wing has 70 calories. A combination meal with sliders and chicken wings has a total of 7 sliders and chicken wings altogether and contains 1110 calories. Write a system of equations that could be used to determine the number of sliders in the combination meal and the number of chicken wings in the combination meal. Define the variables that you use to write the system. PLS HELP ME ON THIS QUESTION I WILL MARK YOU AS BRAINLIEST IF YOU KNOW THE ANSWER PLS GIVE ME A STEP BY STEP EXPLANATION!!Larry is going on a road trip for work. He is recording how many miles he drives, and how many gallons of gas he uses for his expense report. Which is the independent variable? A. the amount of gasoline Larry usesB. the type of car Larry drivesC. the type of roads Larry drives onD. the amount of miles Larry drives Which of the following describes metallic character on the periodic table?A. It increases as you move right to left within a period and down a group on the periodic table.B. It increases as you move left to right within a period and down a group on the periodic table.C. It increases as you move right to left within a period and up a group on the periodic table.D. It increases as you move left to right within a period and up a group on the periodic table.Mark for review (Will be highlighted on the review nane)help Dorothy accidentally destroys the Witch of the West in The Wonderful Wizard of Oz. What weapon does she use? -(2x +y) - 2 ( -x - y)....................