What is the output of the statements below? int a = 10; int b = 20; int count = 0; if (a > 5) if (b > 5) { count ++; } else count = 7;

Answers

Answer 1

Answer:

The output of count would be 1.

Explanation:

The first if statement is true. Since 10 > 5

The second if statement is true. Since 20 > 5

So,

count ++;  // That increments the variable count by 1

the else statement is not provoked since the if statements were correct.


Related Questions

When a method in the ________ class returns a reference to a field object, it should return a reference to a copy of the field object to prevent security holes.

Answers

stop normalising the american *smart answer*

which tool is used to create a selection by drawing it free hand? (ellipse/rectangle/free select/All) ​

Answers

Answer:

The lasso tool

By clicking down and dragging, the lasso tool allows you by freehand to draw the selection line. Many programs offer different types of lasso tools that can be used to make selections. The polygon lasso tool allows you to create a selection by clicking on individual points that connect to create a selection line.

What are some ethical issues related to data mining? In other words, what are some ways that companies may gather or use data that are not appropriate?

Answers

Data mining is not an easy task, as the algorithms used can get very complex and data is not always available at one place. It needs to be integrated from various heterogeneous data sources. These factors also create some issues. Here in this tutorial, we will discuss the major issues regarding −
Mining Methodology and User Interaction
Performance Issues
Diverse Data Types Issues

The secondary storage device that is LEAST portable is a
A. DVD
B. Flash drive
C. Floppy disk
D. Hard disk

Answers

Answer:

B. flash drive

Explanation:

because it is portable

Convert the binary (base-2) number 1110 1001 to decimal (base-10).

Answers

Answer:

233

Explanation:

alright bro, listen. lets do some QUICK MAFFS.

from right to left.. we start from 1, and then double the number. so it would kind of look like this:

128 64 32 16  8 4 2 1

ok so whenever you are converting binary to decimal, make sure you have those numbers underneath the ones and zeroes.

[tex]1 \ \ \ \ \ 1 \ \ 1 \ \ \ 0 \ \ 1 \ 0 \ 0 \ 1\\128 \ 64 \ 32 \ 16 \ \ 8 \ 4 \ 2 \ 1[/tex]

ok so you see how the ones and zeroes are perfectly above the reference we are using?

so each one that has a one, add the number underneath it together

128 + 64 + 32 + 8 + 1

equals 233

LISTEN. STAY AWESOME GAMER!

whats the task of one of the computers in network called?

a. hardware server
b. software server
c. Web server ​

Answers

The answer that’s gonna be followed is a:hardware server I’m sure

Answer:

C

Explanation:

I guess that's the answer

You are designing an exciting new adventure game and you want to attempt to explain where items that are carried by the player are being kept. What inventory system should you use to this? O visual grid approach hyperspace arsenal weighted inventory pseudo-realistic​

Answers

Answer:

hYou are designing an exciting new adventure game and you want to attempt to explain where items that are carried by the player are being kept. What inventory system should you use to this? O visual grid approach hyperspace arsenal weighted inventory pseudo-realistic​

Explanation:

Read only memory is primarily used for?

Answers

Answer:

Read-only memory is useful for storing software that is rarely changed during the life of the system, also known as firmware. Software applications (like video games) for programmable devices can be distributed as plug-in cartridges containing ROM.

Hope This Helps!!!

At the data science laboratory, the data scientists and data engineers are required to process millions of data every second to predict weather patterns and abnormalities. The data is then sent to all employees over a network, using a server.

State the type of computer system that is required for EACH of the following purposes..

Processing of scientific data ...........

Distribution of data over a network

Working from home .....

Answers

Answer:

the type of computer system that is required for processing of scientific data is : supercomputer

for distribution of data over a network :Client/server computing

working from home :A laptop

The computer that's needed for processing scientific data is the supercomputer.

The computer that is needed for the distribution of data over a network is the client or server computer while the computer that's needed for working from home is a laptop.

A supercomputer simply means a computer that has a high level of performance and has thousands of processors. The server computer provides functionality for other devices.

Learn more about computers on:

https://brainly.com/question/24540334

WILL MARK A BRAINLIEST!!! PLS HELP!!!




Never gonna give you up
Never gonna let you down
Never gonna run around and desert you
Never gonna make you cry
Never gonna say goodbye
Never gonna tell a lie and hurt you

Answers

Answer:

We've known each other for so long

Your heart's been aching but you're too shy to say it

Inside we both know what's been going on

We know the game and we're gonna play it

And if you ask me how I'm feeling

Don't tell me you're too blind to see

What is the advantage of learning through story compared to learning through personal experience?

A.
stories are “more real” than personal experience

B.
stories are easier to remember than personal experiences

C.
stories have no rules to follow

D.
you can learn from countless other lifetimes through stories

This is game design

Answers

Answer:

I think the answer would be D

Explanation:

it just seems to make the most sense

Answer:

Is D

Explanation:

Stories open doors which ususally take time to open and to explore in real life, the same thing happens when you use a book to do your homework. You use the book to get information which you don't know. The same is with reading stories, stories can be helpful since they can talk about a characters life mistakes, and experiences that the character has gone throught their life, which usually  might be helpful on real life.

Which invention provided instant communication and information to a massive audience for the first time? a. Intranet c. Video b. Television d. Internet Please select the best answer from the choices provided A B C D.

Answers

Answer:

B. television

Explanation:

Answer:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb

Explanation:

__________ is a procedure that allows communicating parties to verify that received or stored messages are authentic.

Answers

Answer:

Message authentication

Explanation:

You want to allow RDP 3389 traffic into your network for a group of users to access a particular workstation that has a special application in your office. Which endpoint security tool would you use to make this happen

Answers

Firewall Rules often monitor the control information that is present in individual packets. The endpoint security tool would you use to make this happen is firewall rules.

Rules are often known to be guarding looks into the control information.

The Rules often block or allow those packets using the rules that are spelt out on these pages.

It is also given mainly to computers or to policies that are assigned to a computer or collection of computers.

Learn more from

https://brainly.com/question/15681183

what are the 4 types of satellite?​

Answers

Communications Satellite.

Remote Sensing Satellite.

Drone Satellite.

Ground Satellite.

The __________ algorithm takes the ciphertext and the secret key and produces the original plaintext

Answers

The answer is decryption

What are five don’ts of using a computer

Answers

Answer:

Do not eat or drink near technology

Do not open unexpected or unknown email attachments

Do not install unknown programs

Do not forget about updating apps

Do not force anything closed

Do not get it dirty or wet

Do not wash your computer

Do not punch your computer

Memory of your familiar old e-mail password may block the recall of your new password. This illustrates

Answers

Answer:

Retroactive Interference

Explanation:

Memory of your familiar old e-mail password may block the recall of your new password, This illustrates a phenomenon known as proactive interference.

Proactive interference occurs when previously learned information interferes with the recall or retrieval of new information.

The memory of the familiar old e-mail password is interfering with the recall of the new password.

The interference happens because the old password is already deeply ingrained in the individual's memory, and when trying to recall the new password, the old password comes to mind automatically and hinders the retrieval of the correct information.

This interference can lead to forgetting or temporarily blocking the recall of the new password.

To learn more on Proactive interference click:

https://brainly.com/question/30320488

#SPJ6

A __________ is a thorough examination of each aspect of a network to determine how it may be compromised.

Answers

Answer:

A posture assessment. :3

7.4 Lesson Practice (projectstem): what is output if the user is enters 2?​

Answers

Answer:

18

Explanation:

lets go step by step.

the function called tryIt has a value, a variable named "a". this "a" variable will be whatever the user enters when the program says, Enter a number.

ok so if we enter "a" as 2, and b in the function will always be 7, and 2 + 7 equals 9,

and the ans variable (short for answer) will take the result of the function (9) and multiply it by 2,

then the answer is 18

what is the main circuit board inside the computer called?

Answers

Answer:

Motherboard is the main circuit board inside the computer.

PLEASE HELP!!! DECENT AMMOUNT OF POINTS!! DRIVERS ED


An automatic transmission is a mechanism that

A. automatically turns on your car

B. automatically turns off your car

C. selects the best gear for the situation

D. Connect your radio to air signals

Answers

Answer:

c. Selects the best gear for the situation.

Explanation:

On average, people spend about _____ minutes per day on apps that do not make them feel good such as apps for dating, social networking, gaming, entertainment, news, and web browsing .

Answers

Averagely, people (end users) spend about 27 minutes per day on software applications (programs) that do not make them feel good.

A software can be defined as a collection of data or set of executable instructions (codes) that is typically used to instruct a computer on how it should perform a specific task and solve a particular problem.

Basically, software applications (programs) are broadly categorized into three (3) main groups and these are;

System softwareUtility softwareApplication software

An application software is typically designed and developed for the performance of a specific task rather than the operation of a computer system.

According to an American survey, people (end users) averagely spend about 27 minutes per day on software applications (programs) that do not make them feel good such as those focused on:

Social networkingDatingEntertainmentGamingNewsWeb browsing

On the other hand, people (end users) averagely spend about 9 minutes per day on software applications (programs) that make them feel good such as those focused on:

HealthExerciseReadingRelaxationEducation

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

PLEASE HELP! WILL MARK AS BRAINLIEST JavaScript can be implemented using the _________ HTML tags in a web page.​

Answers

Answer:

JavaScript can be implemented using JavaScript statements that are placed within the ...  HTML tag

Explanation:

Similar how CSS is applied to your HTML page, JavaScript is as well. JavaScript just needs one friend in the world of HTML—the script> element—unlike CSS, which employs link> elements to apply external stylesheets and style> elements to apply internal stylesheets to HTML. Let's find out how this operates.

What JavaScript, implemented using JavaScript statements?

Script statements in Java. JavaScript's statements are the instructions that inform the browser what to do. Semicolons are used to separate statements (;). The JavaScript code is made up of JavaScript statements, which the browser translates line by line.

The most widely used JavaScript framework right now is by far, React. Functional programming techniques are used in this basic framework to greatly simplify parallel programming and coding comprehension.

Therefore, JavaScript can be implemented using the (JavaScript statements) HTML tags in a web page.​

Learn more about JavaScript here:

https://brainly.com/question/13089689

#SPJ2

1. how did the prototype help you think about your idea?
2. what was frustrating about making a prototype?

Answers

[tex] \: \: \: \: \: [/tex]

1. how did the prototype help you think about your idea?

it can clarifies the things about the products as well as the user flow.

2. what was frustrating about making a prototype?

There may be too much variation in requirements.

hope it helps

[tex] \: \: \: \: \: \: [/tex]

What is row and column? class 9​

Answers

Answer:

just click the picture

Explanation:

plz mark me a BRAINLEST plss I just need it

4.10.4 Inventory codehs python
i have no idea on how tp fix this, pls help:(

Answers

Answer:

between line 23 and 24, add:

    if num > 0:

(and indent the next line)

Explanation:

You want to suppress the "Now we have 0 left" message, and an additional if statement will do that for you.

In this exercise we want to use computer and python knowledge to write the code correctly, so it is necessary to add the following to the informed code:

  if num > 0:

Want to suppress the "Now we have 0 left" message, and an additional so for that is necessary to put between line 23 and 24, the code:

   if num > 0:

See more about computer at brainly.com/question/950632

1.erros can easily be ____ 2.work is done in an ____ no mess environment 3.colors do not _____ and brushes are never ______ 4.stages and version (s) of the artwork can be _____ filed and easily 5. work can be transferred or _____ on almost any 6. work can be _____ and easily _____ to interested parties​

Answers

Answer:

1) corrected

2) organized

3) Fade and worn-out

4) saved

5) saved

6) organized and graphics

when trying to solve a problem, bret uses a logical, step-by-step formula called

Answers

The logical, step-by-step formula that Bret uses when trying to solve a problem is called an algorithm.

An algorithm refers to a standard formula (procedures) which comprises a set of finite steps or instructions that is typically used for solving a problem on a computer.

This ultimately implies that, an algorithm is a standard, logical formula containing the step-by-step rules for proffering a solution to a particular problem on a computer.

In this context, Bret uses a logical, step-by-step formula called an algorithm, when trying to solve a problem.

Read more on algorithm here: https://brainly.com/question/24793921

true or false? multimedia components such as audio and video do not significantly contribute to increased computer network traffic.

Answers

Answer:

false

Explanation:

are you KIDDING ME? imagine streaming a 4k video through YT.. yeah you know how much storage and bandwidth that takes up? it is VERY BIG. this is false

multimedia components such as audio and video do not significantly contribute to increased computer network traffic. The statement is false.

What is multimedia ?

Multimedia is an user engaging type of  media which offers a variety of effective ways to give information to user and user  can interact with digital information through it.

Multimedia can act a   communication tool, it has many application like Education, training, reference materials, corporate presentations, marketing, and documentary application.

Multimedia use text, audio, video, graphics, and animation to give information in a dynamic way and it is a technological way of presenting information  with textual data like video conferencing, Yahoo Messenger, email, and the Multimedia Messaging Service ( MMS Service (MMS).

For more details regarding multimedia, visit

https://brainly.com/question/9774236

#SPJ2

Other Questions
The circumference (C) of a swimming pool is 47 feet. Which formula can you use to find the radius (r) if you know that C = 2r ? The figure shown above is the circuit diagram for a simple dc power supply. Identify the type of rectifier circuit represented in the figure and explain the operation of the circuit with reference to the function of each component within the circuit. Air is pumped into the tyre to inflate it.This increases the temperature and the pressure of the air in the tyre.Use ideas about molecules to explain why the air pressure in the tyre increases. * 8.2 is 2% of what number Josh sugests to dad that he is not ________ but dad says that josh will be a great basketball player if he can shoot _________ the conversation suggests joshs dad wants to teach josh what it means to _______ Richard and Teo have a combined age of 36 Richard is 6 years older than twice Teo's age. How old are Richard and Teo?Richard is years old, and Teo is years old.(Type whole numbers.) 12 + 4 | 4y + 8 | = 20 Jalisa buys candles in bulk to sell in her store. Her cost for each candle is $9. She marks up the candles 85%. How much does Jalisa charge per candle? if there is a gravitational force between all objects, why do we not feel or observe it? Which one of the following equations correctly represents the process involved in the electron affinity of x?. Para la final del campeonato nacional de ftbol colombiano clasificaron cuatro equipos: Tolima, Once Caldas, Ccuta y Equidad.Escribe una pregunta para este contexto que s epoda responder mediante el principio de multiplicacin.Escribe una pregunta para este contexto que se pueda responder utilizando las permutaciones. Tran, who was born in Vietnam, now lives in Los Angeles. She applies to be a waitress at Hooters. The manager of Hooters restaurant tells her, Sorry, we rarely hire Asian girls because their breasts are too small and part of the Hooters image is waitresses with big breasts. Does Tran have a valid claim against Hooters under the Civil Rights Act? Explain. When prices of outputs in an economy become sufficiently high causing production to exceed potential GDP, the resulting: hyper-intense production will be unsustainable in the long run. higher wages will encourage workers to produce more at high prices. lower prices will lead to a lower quantity of demand. downward slope in aggregate supply curve will be short run. !! please help me ill mark brainliest !! science thanks sa points The following items were selected from among the transactions completed by Sherwood Co. during the current year:Mar.1Purchased merchandise on account from Kirkwood Co., $225,000, terms n/30.31Issued a 30-day, 8% note for $225,000 to Kirkwood Co., on account.Apr.30Paid Kirkwood Co. the amount owed on the note of March 31.Jun.1Borrowed $600,000 from Triple Creek Bank, issuing a 45-day, 6% note.Jul.1Purchased tools by issuing a $50,000, 60-day note to Poulin Co., which discounted the note at the rate of 6%.16Paid Triple Creek Bank the interest due on the note of June 1 and renewed the loan by issuing a new 30-day, 7% note for $600,000. (Journalize both the debit and credit to the notes payable account.)Aug.15Paid Triple Creek Bank the amount due on the note of July 16.30Paid Poulin Co. the amount due on the note of July 1.Dec.1Purchased equipment from Greenwood Co. for $280,000, paying $80,000 cash and issuing a series of ten 9% notes for $20,000 each, coming due at 30-day intervals.22Settled a product liability lawsuit with a customer for $40,000, payable in January. Accrued the loss in a litigation claims payable account.31Paid the amount due to Greenwood Co. on the first note in the series issued on December 1.Required:1.Journalize the transactions. Refer to the Chart of Accounts for exact wording of account titles. Assume a 360-day year.2.Journalize the adjusting entry for each of the following accrued expenses at the end of the current year (refer to the Chart of Accounts for exact wording of account titles):a. Product warranty cost, $65,000.b. Interest on the nine remaining notes owed to Greenwood Co. Assume a 360-day year. what is the diameter of a circle that has the circumference of 400 5 kg block of iron is heated to 800C. It is placed in the tub containing 2 L of water at 15C. Assuming all the water is brought to the boil rapidly, calculate the mass of water which boils off. (The specific heat capacity of iron 800C is 220 J kg-1 K-1) To what extent did the Industrial Revolution bring social-economic or political progress to Europe in the 1800s. Which statements best summarize the pros and cons of the Patriot Act? Check all that apply. Most Americans are comfortable giving up personal information to remain safe. The ACLU argues that the act has been harmful to the privacy of ordinary Americans. Most people agree that the surveillance powers in the act should be strengthened. The government says the act has made law enforcement more effective at sharing information. Security experts in the government credit the act with stopping terrorist attacks. While many worry about privacy rights, most agree that the act helps stop terrorist attacks.