Determine the value of a and b at the end of the following code segment:

int a = 5;
int b = 10;
a++;
b*=a;
a = b + b;

The value stored for a is _____ and the value stored for b is _____

Choices

120 and 60
60 and 30
5 and 10
30 and 60

Answers

Answer 1

Answer:

30 and 60

Explanation:


Related Questions

Which of the following is an example of a project assumption? Current service levels to customers will be maintained throughout the project. All new technology components should be compatible with existing platforms. The project is designed to decrease costs by 45 percent in the first year after installation. The implementation plan must not disrupt the work of fellow employees.

Answers

Answer:

Current service levels to customers will be maintained throughout the project

Explanation:

The project assumption in the given options is: "Current service levels to customers will be maintained throughout the project."

A project assumption is a statement or belief about the project that is considered to be true, without any concrete evidence or proof at the time. It is an assumption made at the beginning of the project, based on available information and expectations.

In the given options, the assumption "Current service levels to customers will be maintained throughout the project" implies that the project team assumes that the quality and level of service provided to customers will remain consistent and unaffected during the project's execution.

Thus, this assumption suggests that the project team anticipates that any changes or activities related to the project will not have a negative impact on customer service.

For more details regarding project assumptions, visit:

https://brainly.com/question/31716624

#SPJ6

Do you think social robots would need to develop emotions when interacting with humans? Are there any risks if robots start feeling “emotions”? Should scientists really build such robots?

Answers

Answer:

Yes

There are big risks for robots feeling emotions. This is good and bad. Robots can feel happy, excited, and emotional, which would be good emotions, drawing them closer to humanity. The bad thing is, they can feel anger and regret as emotions. These emotions would not be good if you did not want robots to riot or be offensive. Scientists could build these robots, and just find a way to exclude these dangerous emotions. That way, we could have better robot helpers that are like family.

-learning computers with potato

explain the claim that an operating system is the master controller of the computer system and it's importance to the information processing cycle ​

Answers

An operating system is a master control program due to the fact that it controls the functions of the computer system in all and also in the running of application programs. All computers cannot work without an operating systems.

What is the master controller of a computer?

The operating system is the master controller of the computer system as it is one that helps the PC to send and receive data.

A lot of distributed control system must have a Master Controller. The Master is said to have a board Microcontroller that is dedicated to performing different  functions.

Learn more about An operating system from

https://brainly.com/question/1763761

Draw a flowchart or write a pseudocode to represent the logic of a program that allows the user to enter two values. The program outputs the sum of and the difference between the two values

Answers

Answer:

Start input myNumber

Start input myOtherNumber

set myAnswer = myNumber + myOtherNumber output myAnswer stop

Explanation:

Pseudocode is a computer programming language that resembles plain English and is compiled or processed into the computer. It explains the solution to the problem. Sometimes used as a detailed step by step process in developing a program

Analyze the given word pattern and choose the correct option.
If WORD is coded as 9753, then what is the code for DOOR?

Answers

Answer:

The code for DOOR would be 3775.

Explanation:

WORD - 9753

W - 9

O - 7

R - 5

D - 3

DOOR: 3775

If WORD is coded as 9753, then what is the code for DOOR would be = 3775.

What is word coding?

Word pattern coding is defined as the systematic representation of words using another word, figures or numbers. That is;

W = 9

O = 7

R = 5

D = 3

This means that for the word DOOR, the code would be;

D = 3

O = 7

O= 7

R= 5

Code for WORD= 3775

Learn more about word pattern coding here:

https://brainly.com/question/31283683

#SPJ2

list four ways to edit cell contents?

Answers

Answer:

text, formatting, formulas, and functions

Explanation:

To prevent information from getting into the wrong hands, _____ measures are necessary. Select 2 options. extreme extreme spyware spyware threat threat physical security physical security digital security

Answers

Answer: physical security and digital security

Explanation:

Physical security and digital security are the two measures necessary to prevent information from getting into the wrong hands.Therefore, the correct options are C and D.

What is physical and digital security?

Physical security involves securing physical access to places where sensitive information is stored or processed, such as data centers, server rooms, or offices. This can include measures such as access control systems, surveillance cameras, and security guards.

Digital security involves securing digital access to sensitive information, such as passwords, encryption, firewalls, and antivirus software. These measures protect against unauthorized access, hacking, and other digital threats.

Extreme spyware and threat are not measures that would prevent information from getting into the wrong hands.Therefore, the correct options are C and D.

Learn more about physical and digital security, here:

https://brainly.com/question/22440462

#SPJ3

The question is incomplete, but most probably the complete question is,

To prevent information from getting into the wrong hands, _____ measures are necessary. Select 2 options. \

A. extreme spyware

B. threat

C. physical security

D. digital security

That’s a good point because of blank limitations

Answers

Answer:

I would assume so. Next time, please include the statement. Thank you!

I hope this helps, and have a wonderful day.

What is the best action to take when filling a police report regarding identity theft ?

Answers

Question

•What is the best action to take when filling a police report regarding identity theft ?

Answer:

•Obtain a copy of your FTC Identity Theft Report. This will help you set up a recovery plan.

•Provide a photo ID. You'll need to prove your identity by providing identification, such as a driver's license or passport.

•Provide your address.

•Provide proof of identity theft.

Explanation:

#Let's Study

#I Hope It's Help

#Keep On Learning

#Carry On Learning

1. Why does a computer have different types of ports?

Answers

Answer:

Computer ports are classified into two types based on the protocols used. A protocol is a set of rules and standards to be followed during data transfer and communication. Usually, data is transmitted in a particular pattern.

Explanation:

for a ser of rules and standards to be followed during data transfer and communication

Complete the sentence. are filters between the internet and a computer network.

Answers

Answer:

Fire walls

Explanation:

Answer:

Firewalls

are filters between the internet and a computer network.

Explanation:

touching touching color color is touelung ask What's your name? and wait NOUS MOUW mouse down? key pacmpressed distance to reset timer tamer gation of Sprite loudnese Dend aldur sensor value sensor button pressed Q. What is the function of the light blue blocks?

it is an Options Question. And the Options are: Motion. Operation. Sensing​

Answers

Answer:

Sensing.

These are all sensing blocks in a coding language called Snap! Build your own blocks. The same goes for Scratch.

The when touching brick calls a function if a sprite is touching a certain thing.

The mouse down calls a function when the mouse is down.

The reset timer declares a reset for the timer box.

Lastly, the when key pressed? declares that when a certain key is pressed, a function is called.

Answer:

sensing because the motion is green and operating is red.

Explanation:

A example of an
"ITERATIVE STATMENT"

Answers

Answer:

for(let i = 0: i <=5; i++) {

console.log(I)

}

Explanation:

An iterative statement repeats a body of code until the condition is not true. Here we declare an integer (i) and make it 0. Then the loop checks if the second part is true (i is less than or equal to 5), and if it is true, it executes the code inside the loop body, which logs i, and finally runs the last past, which increments i by one. When the second part becomes false, the loop exits.

Other Questions
18)Write 4 expressions that are equivalent to 6(c5) - 6? An angle whose measure is 92 is in standard position. in which quadrant does the terminal side of the angle fall? quadrant i quadrant ii quadrant iii quadrant iv Find the complete subject of the sentence below.Zack and Marty are both good pitchers.Martygood pitchersZack and MartyZack Hcf of 32 and 48 pls [chinese]Which of these adjective-noun combinations is the most incorrect?bi de yhng de zugbo de link'i de bziWhich of the following phrases is often used to describe foreigners in China?d zubaxio bzigo bzid ynjng Something that causes plants and animals to respond to their environments is a called a(n)a. stimulus b. imprintingc. migration d. reflex The movement of the progress bar may be uneven because questions can be worth more or less (includingWhich equation is equivalent to 3 - 4x = 12?0 - 4x = -9O - 4x = 150 4x = -94x = 9Help F(x)=4^-x after a translation 6 units up Inventions such as the Internet, the railway, the telephone, among many others, have helped humans make huge advancements. These inventions help with the quick dispatch of information and make travel and communication easier. It's impossible to deny that technology has its benefits. However, when used excessively, it also has detrimental effects on human beings. This is especially true for children as they're still growing and have vulnerable minds.It's impossible to deny that technology has its benefits. However, when used excessively, it also has detrimental effects on human beings.How does this sentence strengthen the author's argument? A. It stresses that technology better serves inventions than people. B. It connects the text's central claim to a that truth both sides agree upon. Moral law is also called Law of Nature because early philosophers thought that generally speaking, everybody knows it by nature. In this case, do human beings knew that there is such a moral law? Defend your answer 4. How is the president's power to make appointments limited? O The president can only appoint law-makers OThe president must make all appointments in the first 100 days of office OThe appointments must undergo judicial reviewO The Senate must approve the appointments DataTable ARecord your data either in your lab notebook or in the tables below.Cart SpeedCart SpeedElapsed Time(s)(Low fan speed) (Medium fan speed)(cm/s)(cm/s)16.423Cart Speed(High fan speed)(cm/s)31.7131.564.02543689.83118.14567 which of these is a significant personal cost associated with the flu? CCSS Math 7Unit 7. Agles, Triangles, ad PrismsFind the measure of all the missing anges.PLEASE HELP WITH ALL THE ANSWERS ITS DUE TOMORROW !!! Find all the unknown angle measures in the diagram. Justify your answer for each angle measure. Hayden invested $750 for three years at an interest rate of 0.035. How much interest did he earn in that time?HELPPPPP The originals or Vampire diaries? This is my opinion The formula for the circumference of a circle is given as C 2TI, where I isthe radius of the circle. Use this formula to find the radius of a circle that has acircumference of 34 inches. A bag of tiles contains 6 green 4 yellow and 5 blue tiles. If one tile is pulled at random what is the probability of NOT choosing a green tile? please help !! differentiate between a career field, an occupation, career and a job