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

1) The critical path of a network is the A) shortest time path through the network. B) path with the fewest activities. C) path with the most activities. D) longest time path through the network. E) None of the above

Answers

Answer:

D

Explanation:

source

https://hbr.org/1963/09/the-abcs-of-the-critical-path-method

Mavis is considering signing up for a hosted enterprise software solution for her small business. She recognizes that an advantage of this software option is _____.

Answers

Since Mavis is considering signing up for a hosted enterprise software solution for her small business, an advantage of the software is lower cost.

A hosted enterprise software solution is typically hosted off-site and in a private server that is owned by a third party. It's vital for organizations as it can be used in managing daily business activities.

The advantages of a hosted software model include reliable backup, reduction in IT costs, scalability of computing resources, etc. It is also necessary for managing critical business processes.

Read related link on:

https://brainly.com/question/25526416

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:

Answer : language

JavaScript is a scripting language, not a HTMLanguage type. It is mainly to do process at background and it needs document.

What kind is a utility file that shrinks the size of a file

Answers

Answer: Compression

Explanation:

Printers can use ________, which enable the printer to automatically print on both sides of the paper.

Answers

Answer:

Duplex

Explanation:

Changing printer setup to print duplex will enable the printer to automatically print on both sides of the paper.

DIRECTIONS: Organize your desktop. Name the 5 folders based on the files given below. Organize your own desktop by sorting the given files accordingly.

Please
I need help​

Answers

Answer: Music, Documents, PowerPoints, Pictures/Videos, Audios

in database systems, a table is also known as a _____.

Answers

Answer:

a relation

Explanation:

In database systems, a table is also known as a file.

What do you mean by database systems?

A database is a structured collection of data that is stored and retrieved electronically in computing. Small databases can be kept on a file system, whereas large databases are kept on computer clusters or in the cloud. Database design encompasses both formal techniques and practical factors, such as data modelling, efficient data representation and storage, query languages, sensitive data protection and privacy, and distributed computing issues such as concurrent access and fault tolerance. To gather and analyse data, a database management system (DBMS) is the software that communicates with the end users, applications, as well as the database itself.

One of the various types of the system object type *FILE is a database file. A database file provides specifications of how input data from internal storage is to be presented to a programme and how output data from a programme is to be presented to internal storage.

To learn more about database systems
https://brainly.com/question/28481695

#SPJ2

principles of Responsible Artificial Intelligence (AI)?

Answers

Answer:

Their principles underscore fairness, transparency and explainability, human-centeredness, and privacy and security.

Explanation:

There's a tool designed to collect data. It allows you to specify which counters you want to collect data for by clicking on the plus sign and adding the counters you want. What's the name of this tool

Answers

Answer:

social engineering is a way to collect data

Explanation:

Emilie is reviewing a log file of a new firewall. She notes that the log indicates packets are being dropped for incoming packets for which the internal endpoint did not initially create the request. What kind of firewall is this

Answers

Firewalls are used to screen and avoid block the threat posed by unwanted data or files that could want to penetrate into a system. Hence, the kind of firewall described is packet filtering firewall.

Packet filtering firewall describes a network security protocol which examines individual data packets entering into a system.

Each data packet is screened based on established principles and protocols, with only those who meet the defined requirement allowed to reach their destination while others are dropped.

Hence, the missing phrase is packet filtering firewall.

Learn more : https://brainly.com/question/25706522

What type of access controls allow the owner of a file to grant other users access to it using an access control list

Answers

Answer:

Discretionary Access Control

Explanation:

The type of access controls allow the owner of a file to grant other users access to it using an access control list is Discretionary Access control.

What is discretionary access control?

This is known to be a type of control that gives one a specific amount of access control to the use of the object's owner, or any other person.

Note that The type of access controls allow the owner of a file to grant other users access to it using an access control list is Discretionary Access control as it only gives a little access.

Learn more about Discretionary Access from

https://brainly.com/question/20038736

#SPJ2

explain about cyber terrorism​

Answers

Explanation:

cyber terrorism is type of hacking group with give the country that are to illegal group

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!!!

cats do not eat tomatoes.scat is a cat.therefore ,scat does not eat tomatoes.

Answers

What does this mean??

A file contains 5000 bytes. Calculate the size of the file in kilobytes.
Your answer must be to one decimal place

You should show your working.

Answers

Answer:

5 Kilobytes

Explanation:

5000 bytes ÷ 1000 = 5 kilobytes

In the context of data-flow diagrams (DFDs), a(n) _____ shows either the source or destination of the data.

Answers

Answer:

In the context of data-flow diagrams (DFDs), a(n) entity symbol shows either the source or destination of the data

Explanation:

??????????????????? Help

Answers

ms office is a software, that would make the most sense.

Answer:

d) MS Office

Explanation:

Microsoft Office is a program. Think of it this way .... Your operating system is like the engine of your car.

Explain what is Piaget and What is Cooperative problem solving.

Answers

Piaget maintained that opportunities for becoming less egocentric are more common when children discuss things with each other because then they must face the fact that not everyone has the same perspective on a situation.

hope it helps

To break a text string into several lines, which means that the text string continues on the next line, the _____ character should be used.

Answers

Answer:

To break a text string into several lines, which means that the text string continues on the next line, the backslash character should be used.

Is it always best for a company to make decisions based on data, or are there some situations where they should not focus on data?

Answers

Answer:

data-driven decision

Explanation:

While 91% of companies say that data-driven decision-making is important to the growth of their business, only 57% of companies said that they base their business decisions on their data. Data-driven decision-making is a great way to gain a competitive advantage, increase profits and reduce costs!

test case Exercise 1: Consider the following system: A System reads four integer values from a user. The four values are interpreted as representing the lengths of the sides of quadrilateral shape. The system prints a message that states whether the shape is rectangle or square. Function: Description: Test Input Data:

Answers

The program displays if the side values of the quadrilateral is a square or rectangle. The required program is written in python 3 thus :

a = int(input('Enter integer input : '))

b = int(input('Enter integer input : '))

c = int(input('Enter integer input : '))

d = int(input('Enter integer input : '))

#the variables a, b, c, d takes prompt values from users which are used to compare if the quadrilateral is a square or rectangle.

if(a == b == c == d):

#using the assignment operator, compare the value of a, b, c and d

print('Shape is square')

#if the values are the same, the shape is a square

else :

print('Shape is Rectangle')

#otherwise, the shape is a rectangle

The sample run of the program is attached below.

Learn more : https://brainly.com/question/18405415

Does anyone know who this man issss?

Answers

Kaeya Should be the correct answer

If you suspect cyber crime what do you u do?​

Answers

Answer:

Hey mate.....

Explanation:

This is ur answer.....

I would register a cyber crime FIR at the nearest local police station to report them. It is mandatory under Section 154, Code of Criminal Procedure, for every police officer to record the information/complaint of an offense, irrespective of the jurisdiction in which the crime was committed.

Hope it helps!

Brainliest pls!

Follow me! :)

Answer:

I would register a cyber crime FIR at the nearest local police station to report them. It is mandatory under Section 154, Code of Criminal Procedure, for every police officer to record the information/complaint of an offense, irrespective of the jurisdiction in which the crime was committed.

Explanation:

Question about microscope ​

Answers

Answer:

1.  c. diaphragm

2.  a. ocular lens

3.  b. fine adjustment knob

4.  c. course adjustment knob

5.  d. nosepiece

6.  a. simple light microscope

7.  d. A, B, and C

8.  a. light switch

Explanation:

Hope this helps.

if you are continuously working with the same range, then you may give a name to the range using _____ option in the data menu open office.
a define data.
b define range.
c define reference.
d define addres​

Answers

Answer : B. Define Range

If you are continuously working with the same range, then you may give a name to the range using define range option in the data menu open office. The correct option is b.

What is a range?

In computer programming, range refers to the interval that includes the upper and lower bounds of an array's variable values. The interval between data points is referred to as the range in statistics.

The domain of a function is the set of values that can be plugged into it. This set contains the x values in a function like f. (x).

A function's range is the collection of values that the feature can take. This is the set of values that the function returns after we enter an x value.

If you are constantly working with the same range, you can give it a name by selecting the define range option from the data menu in Open Office.

Thus, the correct option is b.

For more details regarding range, visit:

https://brainly.com/question/28135761

#SPJ6

CODEHS 3.5.4 Obi-Wan Says



You should ask the user for three pieces of information

You should confirm their name and how many droids and Wookiees they want to meet

You should confirm their name and how many droids and Wookiees they want to meet

Answers

The program receives inputs for the name, number of droids and wookiees a user wants and displays the information as a complete sentence. The program written in python 3 goes thus :

name = input('Enter name : ')

# prompts user of name

num_droid = int(input('number of droids : '))

#prompts for number of droids

num_wooks = int(input('number of wookiees : '))

#prompts for number of wookiees

print(name, ' wants to meet', num_droid, 'droids and',num_wooks , 'Wookiees' )

#displays the information as a complete sentence

A sample run of the program is attached

Learn more : https://brainly.com/question/25506437

Can you predict what changes will come to data storage in the next decade? 

Answers

Answer:

Explanation:

More data storage will become available currently there are kilobytes (KB), megabytes (MB), gigabytes (GB) and terabytes (1TB) of storage but in the future maybe there will be tetrabytes

To break a page click the _______ tab​

Answers

Answer: Page Break (or press ctrl + enter on keyboard)

Explanation:

You need to replace the motherboard on a laptop. Which two items should you disconnect or remove first

Answers

Your motherboard should now be freely floating in your case—pull it out. With the old motherboard free, you'll need to remove its CPU cooler, CPU, and RAM so you can install it into your new motherboard.

Samantha wants to begin searching for a job using the Web. The best source for her online search will probably be __________.

Answers

Answer:

C) A company's website

Explanation:

Other Questions
When a system of two linear inequalities in two variables hasboundary lines that are parallel, then this is NOT possible:A) the entire plane is a solution B) there is a single point of solution C) there is a region with an infinite number of points of solution D) no solution What physical feature can be found at 1755' S latitude, and 25 51' E longitude?A. Mt. KilimanjaroB. Victoria FallsC. Mt. KenyaD. Lake TurkanaLotugip Swamp Which synonym describes the most negative interruption? A. Intrusion B. Imposition C. Disturbance D. Distraction QUICK I'LL GIVE YOU ALOT OF POINTS Fill in the blanks:a. ____, elle ____ Nantes.b. ____, elle ____ Strasbourg.c. ____, elle ____ Dijon.d. ____, elle ____ Grenoble. brainlyest brainlyest get your brainlyest here A watch loses 0.15 sec/min, how many seconds are lost in 24 hours? Elevations on the tongue are calledsulcitaste budspapillaegyri IN THE BOOK BRIAN'S WINTER - Explain why the trees were exploding around Brian. Cite evidence from the text to support your response. ANY KIND PERSON HERE?in our new situation. what are the things we already use before but we value more now a days to protect our self from virus, write your answer on space provided. ___1. __________________________ ___2.__________________________ ___3.__________________________ ___4.__________________________ ___5.__________________________ please no links!!and please help me why is mechanical digestion of food important?? please help I only need one reason marking brainliest btw Which word most clearly has a connotation of danger?A. WalkB. AskC. ChaseD. Scramble Find the sum.20+(5) What is the purpose of mandatory immunizations what is university?wwlknaslfnslakmf Please select the word from the list that best fits the definition A democratic system in which the named "ruler" is a symbolic head of state, and power rests in the hands of elected officials. Democracy monarchy constitutional monarchy democratic socialism. What is the value of x Describe a pattern in the sequence then figure out the next 2 terms.3, 11, 19, 27, ..., ... Check all correct choices.In this picture I can see...D A. Une femmeOB. Une lveC. Une filleD. Un homme Antonimo de variedad