What is output by the following code segment? int x = 11; int y = 11; if (x != y ) { System.out.print("one"); } else if (x > y) { System.out.print("two"); } else if (y = x) { System.out.print("four"); } else { System.out.print("five"); }

Answers

Answer 1

The output will be four because y and x are equal and that satisfies the condition for the else if statement that prints out four.


Related Questions

what is ever single animatronic in fnaf sl / fnaf 5

Answers

Answer:

Funtime Freddy.

Baby.

Ballora.

Ennard.

Funtime Foxy.

Minireena.

William Afton.

Explanation:

i am a HUGE fan of fnaf hoped this help

Answer:

my fav is grim foxy

Explanation:

baby

ballora

the litttle balarena sh ts

funtime freddy

bon bon

funtime foxy

the babies

endo dude

the macenics

click here for a answer

Answers

Answer:

the 3th one

Explanation:

(101100.1101)2=(?)8​

Answers

Answer:

(54.64)

Explanation:

(101100.1101)2 represents the decimal number 44.8125

in base 8 that is 5*8 + 4*8⁰ + 6*8⁻¹ + 4*8⁻²

Which code causes a ValueError?

int('4')

3 / 0

int('four')

3 / 2.0

Answers

Answer:

Option 3: int('four') is the correct asnwer

Explanation:

ValueError occurs in Python when we try to store wrong content in the datatype or conversion.

For example, if we try to store a string in integer datatype.

From the given options,

int('four') will produce a ValueError because "four" is a string and cannot be converted to integer data type.

Hence,

Option 3: int('four') is the correct asnwer

what does Iamo mean? i keep on hearing it and idk what it means

Answers

Answer:

laughing my ars e off

Explanation:

AAAAAAAAHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH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HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH

WHO WANTS TO PLAY AMONG US

Answers

Answer:

Explanation:

ME

Alright, Give me a code

What game is this? help me please

Answers

Answer:

animal jam

Explanation:

animals around the house

Select the education and qualifications that are most helpful for Insurance Services careers. Check all that apply.
leadership skills
critical thinking skills
knowledge of credit systems
research skills
O certification and licensure
bachelor's and master's degrees

Answers

Answer:

critical thinking skills

research skills

certification and licensure

bachelor's and master's degree

Explanation: edge 2020

The education and qualifications that are most helpful for Insurance Services careers are as follows;

Critical thinking skills.Research skills.Certification and license.Bachelor's and master's degrees.

Thus, the correct options for this question are B, D, E, and F.

What is the significance of Insurance Services careers?

The significance of Insurance Services careers is understood by the fact that it is one of the most lucrative sectors in the entire world. The demand for this sector is rapidly growing. It provides various opportunities in specific countries along with global levels like World Monetary funds, world banks, etc.

It is required for all sectors to have particular criteria and eligibility. So, if you are interested to make your career in Insurance Services you definitely have bachelor's and master's degrees along with certain certifications and licensure.

Therefore, the correct options for this question are B, D, E, and F.

To learn more about Insurance services, refer to the link:

https://brainly.com/question/25855858

#SPJ5

Multiple Choice
Technological skills are not necessary to pursue a career in marketing.
O True
O False

Answers

Answer:

O False

Explanation:

The answer would be false

4.3 Code Practice: Question 1

Answers

I've included my code in the picture below. Best of luck.

Following are the program to the given question:  

Program Explanation:

Defining an "age" variable that uses the "int with input" method that inputs integer value from the user-end.After input value, a for loop is declared that uses the "age" variable and calculates its value, and prints the value with the message that is "**HUG**".

Program:

age=int(input())#defining an age variable that inputs integer value

for i in range(1, age+1):#defining a for loop that count input value  

print("**HUG**")#print message

Output:

Please find the attached file.

Learn more:

brainly.com/question/17796174

Need Help Again!!! :S

Software that allows users to use and adapt it for any purpose, often allowing the public to participate in further development is ____________.

free source

open software

open source

Answers

There is a lot of answers it could be but it would be open software .

Answer:Open Source

Explanation:Because the source can be programmed by anyone and submitted for addition to the coded software.

Mr. Stevens is the principal of a high school. Why might he want to export data from a database of students’ exam scores?

Answers

Because a database would be accurate and professional

Mr. Stevens might create a presentation using other software on how students' scores have changed throughout a semester.

What are presentation method?

A presentation method is known to be the ways or process that a person uses deliver any kind of presentation.

Note that by creating a presentation using other software on how students' scores have changed throughout a semester, Mr. Stevens can export data from a database of students’ exam scores.

Learn more about database from

https://brainly.com/question/27246719

#SPJ2

whats 12/29 divided by 12/34

Answers

Answer:

1.17

Explanation:

12 ÷ 29 = 0.414

12 ÷ 34 =  0.353

0.414 ÷ 0.353 = 1.17 or 1 17/100

The division of fraction 12/29 divided by 12/34 gives 34/29.

To find 12/29 divided by 12/34:

Step 1: Find the reciprocal of the second fraction, 12/34:

Reciprocal of 12/34 = 34/12

Step 2: Multiply the first fraction by the reciprocal of the second fraction:

(12/29) ÷ (12/34) = (12/29) * (34/12)

Step 3: Simplify the multiplication:

(12/29) * (34/12) = (12 * 34) / (29 * 12)

Step 4: Further simplify the multiplication:

(12 * 34) = 408

(29 * 12) = 348

Step 5: The final result:

(12/29) ÷ (12/34) = 408/348

Now, GCD(408, 348) = 12

So, the simplified fraction will be as

(408 ÷ 12) = 34

(348 ÷ 12) = 29

Thus, the final simplified result is 34/29.

Learn more about Fraction here:

https://brainly.com/question/10354322

#SPJ6

Give four examples of Graphic and Streaming media capabilities to have in a computer​

Answers

Answer:

A GPU would be needed for graphic capabilities

Lots of RAM would be needed for streaming

CPU would be essential to graphic and streaming capabilities

Cooling is essential to a good experience for graphic and streaming

Hope this helped, brainliest appreciated :)

Please answer quickly :S

A keyboard would be considered _____. Select 2 options.




storage


an input device


hardware


software


an output device

Answers

Hardware and an input device

Answer: An input device and hardware

Explanation:

PLZ ANSWER QUICKLY! TIMED!
Select all that apply.

Select all barriers to oral communication.


well organized

laziness

lack of time for preparation

accent

being unprepared

not paying attention

noise

Answers

Answer:

noise accent unpreparedness would be some examples

The barriers to oral communication are as follows:

AccentBeing unprepared.Noise.Not paying attention.

What is Oral communication?

Oral communication may be defined as the process of expressing your thoughts, feelings, emotions, etc. with the utilization of words spoken directly by mouth irrespective of any techniques or instruments.

It is one of the best and fastest ways of communication as compared to written and signed communication. It only involves an action of words that directly makes a communication influential.

Due to the direct utilization of words through mouths, it has numerous barriers that ultimately decrease its effectiveness. Some of its barriers are noise, accent, not paying actual attention to the speaker, being unprepared, etc.

All such barriers make the halt between the listeners and speakers. The words of the speakers not successfully reached on the ears of the listeners and thus its affects the overall communication.

Therefore, it is well described above.

To learn more about Oral communication, refer to the link:

https://brainly.com/question/13134402

#SPJ2

3.6 Code Practice Edhesive. (PYTHON LANGUAGE)

Example:
Enter a number: 1
Largest: 1
Enter a number: 3
Largest: 3
Enter a number: 4
Largest: 4
Enter a number: 9
Largest: 9
Enter a number: 3
Largest: 9
Enter a number: 5
Largest: 9

Answers

i = 0

lst = ([])

while i < 6:

   lst.append(int(input("Enter a number: ")))

   print("Largest: "+str(max(lst)))

   i+= 1

This works for me. Best of luck.

4.2 Code Practice: Question 1
Can someone help me write the code in python language?

Answers

Answer:

number = int(input("Enter a number: "))

sum = number

c = 1

while (sum<=100):

   number = int(input("Enter a number: "))

   sum = sum + number

   c = c + 1

print("Sum: " + str(sum))

print("Numbers Entered: " + str(c))

Explanation:

Hope this helps lovely :)

Convert the following decimal numbers into equivalent binary numbers and then convert the binary answer back into equivalent decimal. Show all the steps of conversions.
• -8735

Answers

Answer:

[tex]-8375_{10} = -10001000011111_2[/tex]

[tex]-10001000011111_2 = -8735_{10[/tex]

Explanation:

Given

-8735

Required

Convert to binary and then back to decimal

To convert to binary, we divide by 2 and write down the remainder (ignore the negative sign, first)

8735 / 2 = 4367 R 1

4367 / 2 = 2183 R 1

2183 / 2 = 1091 R 1

1091 / 2 = 545 R 1

545 / 2 = 272 R 1

272 / 2 = 136 R 0

136 / 2 = 68 R 0

68 / 2 = 34 R 0

34 / 2 = 17 R 0

17 / 2 = 8 R 1

8 / 2 = 4 R 0

4 / 2 = 2 R 0

2 / 2 = 1 R 0

1 / 2 = 0 R 1

Write out the remainder from bottom to top

[tex]8735_{10} = 10001000011111_2[/tex]

Include the negative:

[tex]-8735_{10} = -10001000011111_2[/tex]

To convert to decimal, we simply multiply the individual digits with the base (in this case, it is base 2) raise to power of the index of that digit.

There are 14 digits in 10001000011111 and the rightmost digit is of index 0 and it increased to the left.

Ignore the negative, first; so, we have:

[tex]10001000011111_2 = 1 * 2^{13} + 0 * 2^{12} + 0 * 2^{11} + 0 * 2^{10} + 1 * 2^{9} + 0 * 2^{8} + 0 * 2^{7} + 0 * 2^{6} + 0 * 2^{5} + 1 * 2^{4} + 1 * 2^{3} + 1 * 2^{2} + 1* 2^{1} + 1 * 2^0[/tex]

[tex]10001000011111_2 = 1 * 8192 + 0 + 0 + 0 + 1 * 512 + 0 + 0 + 0 + 0 + 1 * 16 + 1 * 8 + 1 * 4 + 1* 2 + 1 * 1[/tex]

[tex]10001000011111_2 = 8192 + 512 + 16 + 8 + 4 + 2 + 1[/tex]

[tex]10001000011111_2 = 8735[/tex]

Include the negative sign

[tex]-10001000011111_2 = -8735_{10[/tex]

Question #1
Multiple Select
Which features are important when you plan a program? Select 4 options.
Knowing what the user needs the program to accomplish.
Knowing how to find the result needed.
Knowing how many lines of code you are allowed to use.
Knowing what information is needed to find the result.
Knowing what you want the program to do

Answers

Answer:

Multiple Select

Which features are important when you plan a program? Select 4 options.

Knowing what the user needs the program to accomplish.

Knowing how to find the result needed.

Knowing what information is needed to find the result.

Knowing what you want the program to do

Explanation:

It is the other 4, and not Knowing how many lines of code you are allowed to use.

A program refers to software that is written by computer experts to help users to accomplish certain special tasks. The features that are important when you plan a program are;

Knowing what the user needs the program to accomplish. Knowing how to find the result needed. Knowing what information is needed to find the result. Knowing what you want the program to do

To successfully plan a program, the programmer ought to know what the intention of the user is. It could be for communication, blogging, advertisement, etc.

Next, you need to know how to write the code. Java, HTML, etc are possible programming languages that can be used to do this.

A good grasp of the information needed to write the code is also necessary.

Learn more here:

https://brainly.com/question/20057346

What operating system is a smart phone most likely to use?
A) BSD
B) Mac OS X
C) Symbian
D) Linux

Answers

Answer:
Linux

Reason:
According to Google, BSD is discontinued. Symbian is also discontinued. Linux is on some smartphones. Max OS X are for computers.

Hope this helped!

Answer: it's C) Symbian

Explanation: trust me bro

Please help! I will award brainliest! its due today...












Which comment would best describe the code below?


Question 9 options:


// Rotates around the Y axis based on left/right arrow keys



// Rotates around the Z axis based on up/down arrow keys



// Rotates in an upward direction based on left/right arrow keys



// Moves object up/down based on the the left/right arrow keys

Answers

Answer:

The bottom is right I think

Explanation:

I am not really good at this stuff

The comment that would best describe the code below is // Moves the object up/down based on the left/right arrow keys. The correct option is d.

What is coding?

We connect with computers through coding, often known as computer programming. Coding is similar to writing a set of instructions because it instructs a machine on what to do. You can instruct computers what to do or how to behave much more quickly by learning to write code.

It is well known that one of the hardest subjects to master is programming. It's understandable that some people find it challenging to learn how to code given how different it is from conventional educational methods, such as college degrees in computer science.

Therefore, the correct option is d, // Moves the object up/down based on the left/right arrow keys.

To learn more about coding, refer to the link:

https://brainly.com/question/13486133

#SPJ2

what is a cpu and what does it do

Answers

The CPU is the brain of a computer, containing all the circuitry needed to process input, store data, and output results. The CPU is constantly following instructions of computer programs that tell it which data to process and how to process it.

The central processing unit (CPU) is known as the brain of the computer it also takes the raw data and turns it into information.

Manfred wants to include the equation for the area of a circle in his presentation. Which option should he choose?

Answers

Answer: The answer is D Insert tab of the ribbon, choose equation and select the equation from the default options

Explanation:

When you go to the insert tab of the ribbon you choose equation and select the equation from the default options. I know this because I went back and I tried each one of these out and none of them made sense so it’s D. I also did the review and got it right

Answer:

Explanation: edge 2022

Help

Question #3
Multiple Choice
You designed a program to create a username using the first three letters from the first name and the first four letters of the last name. You
are testing the program, the last step in the process. For a user named John Smith, what username should the program create?
O johnsmith
John Smith
O JohSmit
johsmit

Answers

JohSmit would be the answer because it has first 3-4 letters with correct caps and all

Without net neutrality, which of these situations might occur? (Select all that apply.) a cable company might charge different bandwidth rates for large corporations and individual consumers an online newspaper might find its website slowing down because a telecomm company does not like its politics a big movie studio might find its upcoming film streamed illegally a service provider might choose not to provide service in poor areas

Answers

Answer:

a. a cable company might charge different bandwidth rates for large corporations and individual consumers

b. an online newspaper might find its website slowing down because a telecomm company does not like its politics

d. a service provider might choose not to provide service in poor areas

Explanation:

Net Neutrality is the idea that internet service providers are not to discriminate against users or treat them unequally due to their content, the information they wish to share, their website, the type of device they are using, etc. This principle also ensures that users are not charged differently based on the reasons listed above, among others.

Without this principle put in place, internet service providers can decide to slow down people's networks, charge differently, or entirely block a network because the users do not measure up to some of their standards or criteria.

Which visual aids can be used to present large amounts of numerical data from multiple sources? Check all that apply.

an illustration
a line graph
a topographical map
a bar graph
a pie chart
a climate map

Answers

Answer:

The correct answers would be B.) a line graph and D.) a bar graph

Explanation:

I just did the assignment on edge 2020 and got it right

The visual aids that can be used to present large amounts of numerical data from multiple sources are;

A line graph A bar graph

What are the visual aids?

Visual aids are known to be objects of a visual means, such as graphs, photographs, etc.

Conclusively, They are often used along with spoken information. The visual aids that can be used to show large amounts of numerical data from different sources are line and bar graph.

Learn more about  visual aids  from

https://brainly.com/question/3610367

Need help Fast
Question #3
Multiple Choice
What is the missing line of code?
>>> answer = "happy birthday"
"Happy birthday
o answer uppert)
O capitalize answer)
o answer capitalize()
O upper answer

Answers

Answer: answer.capitalize()

Explanation: this is the correction

Does anyone know 7.1.3: Firework karel?

Answers

Answer:

Yess its from freelancer

Can someone answer this for me will award brainliest lol

Answers

Answer: Without GUI's being developed, we most likely would still be using terminal systems. Terminals require command/text input rather than mouse or  other input. The invention of GUI's enabled people to use simpler input methods, rather then clunky text input systems. To sum, GUI's simplified the computer experience as we know today.

Hope this helped :)

Other Questions
If someone told you that they didnt believe humans landed on the moon, what is one thing you could explain to them to prove that humans did land on the moon? How are bacteria cells different from human cells?ABacteria cells do not contain a cytoplasm.BBacteria cells do not contain genetic material.CBacteria cells are much bigger than human cells.DBacteria cells are less complex than human cells. Does it make a difference if teaching is simply regarded as a profession,not a vocation and mission? What might have been Achebes purpose in naming such a specific address in paragraph 1? a mule pulls a cart of milk 10 meters, with a force of 50 newtons calculate the work done by the mule Which condition must be met in order for an equation to be balanced? The elements in the reactants are the same as the elements in the products. There are fewer elements in the reactants than there are in the products. The number of atoms in the reactants is greater than the number of atoms in the products. The number of atoms in the reactants equals the number of atoms in the products Oliver downloaded 15 apps for her phone that altogether, used 2,806 MB of space. If each app used the same amount of space, about how many MB of memory did each app use? Show how you estimated Whixh term describes the set of all possible output values for a function?A. Output B. DomainC. Range D. Input Suppose that f(x) varies directly with x and f(x)=160 when x = 5.What is f(x) when x = 0.5?A: 16B: 160C: 32D: 180 Gabriel buys 4 tires for $300.00. What is the price of 3 tires? How does the cartoon portray Pancho Villa?as a hero of the revolutionas a Mexican stereotypeas an American citizenas a peaceful negotiator Both primary and secondary succession start by producing soil. True False Divide. Write your answer as a fraction or mixed number in simplest form.-3/7 divided -27/14 40 pt will mark brainlist1. Disagreements between Cabinet Members Thomas Jefferson and Alexander Hamilton led to the establishment of what?2. The Democratic Republicans and Federalists emerged as separate political parties partly as a result of the disagreement over what?3. The Federalists wanted what type of government?4. True or False - Northern states favored tariffs because Northern manufacturers benefit from less foreign competition Under what conditions can aerobic respiration be used as a means to generate the ATP needed to carry out cellular processes? (4 points)Oxygen is absent; electron transport chain is not used.Oxygen is absent; electron transport chain is used.Oxygen is present; electron transport chain is not used.oxygen is present; election transport chain is used, Can someone help me please An object travels along a horizontal straight path at a constant rate. The object travels 1 20 20 1 of the length of the path in 3 4 4 3 second. At that rate, how many seconds does it take the object to travel the entire length of the path? Explain: _____________________________________________________________ 12. Richard Pryor is the funniest comedian of all time. Fact or Opinion Explain: HELP ME, PLZ. 100 POINTS !!!using cauchy theorem, find x:[tex]13\sqrt{x^{2}-x^{4} }+9\sqrt{x^{2} +x^{4} }=16[/tex] How does the US Constitution reflect the principle of checks and balances?A) The Constitution gives the president the right to veto laws made by Congress.B) The Constitution allows voters to elect members of the House of RepresentativesC) The Constitution requires the national government to work with the state governmentsD) The Constitution divides the federal government into three different branchesPlease help as soon as you can! Thanks, have a great day :)-Grace