1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
natita [175]
4 years ago
15

What will be the value of bonus after the following code is executed?

Computers and Technology
1 answer:
pashok25 [27]4 years ago
6 0

Answer:

Option (B) i.e., 500 is the correct option to the following question.

Explanation:

The following option is correct because here, firstly they defined two integer data type variable i.e., "bonus" and "sales" and assign value to the variable "sales" i.e., 6000 then, the set the if-else if statements to check the "bonus" and pass conditions is if the sales is less than 5000 then bonus is equal to 200 otherwise if the sales is less the 7500 then bonus is equal to 500 otherwise if the sales is less the 10000 then bonus is equal to 750 otherwise if the sales is less the 2000 then bonus is equal to 1000 otherwise bonus is equal to 1250.

So, according to the following conditions sales is less than 7500 because sales is equal to the 6000 that's why the following option is correct.

You might be interested in
As computers become faster, memory access speeds are not keeping pace. Question 5 options: True False
oee [108]

Answer:

True

Explanation:

As computers become faster, memory access speed have not been keeping pace. In 1999, processor speeds went up from 90MHz to 500MHz, but during this same period, memory access have only gone from 120ns to 50ns. This shows that in this period, processor speed grew more than five times its value, but memory grew only 2.5 times its value.

8 0
4 years ago
To keep a desktop computer or a server powered up when the electricity goes off in addition to protection against power fluctuat
pickupchik [31]

To keep a desktop computer or a server powered up when the electricity goes off in addition to protection against power fluctuations, an <u>uninterruptible power supply (UPS)</u>, which contains a built-in battery, can be used.

<u>Explanation</u>:

An uninterruptible power supply (UPS) is a device that allows a computer or server powered up for a short time, when the electricity goes off. UPS device also provides uninterrupted service during power fluctuation.

A battery is inbuilt in the UPS and provides power for few minutes to the computer to shut down it in a proper manner.

UPS is available at affordable cost and can be maintained at low cost compared to generators.

8 0
3 years ago
Read 2 more answers
Which data type or collection of data types can SOQL statements populate or evaluate to?
Artyom0805 [142]

Answer:

The answer is "Option A, Option B, and Option D".

Explanation:

"Salesforce Object Query Language" is a SOQL. It is used to scan for specific information in your company's salesforce records. A single object, an integer and several data types of objects are used in this declaration and other options wrong that can be described as follows:

  • In option C, It is wrong because in archiving it is not to help to classify data completely.
  • In option E, boolean data type is used for given only true or false value that's why it is not correct.
5 0
3 years ago
Name an analog quantity other than temperature and sound
liq [111]
I know that this might be wrong but is it light?
6 0
4 years ago
Write a program named guess_number.py. Use NumPy to generate a random number between 1 and 100. Accept int input and ask user to
Gala2k [10]

Answer:

download the .txt file and change the file name to guess_number.py then run it in a python interpreter. I used Python 3.9.6 for this project and I used Visual Studio Code as my IDE.

Explanation:

The code has comments that tell you what is happening.

I hope this helped :) If it didn't please let me know what went wrong so I can fix it.

Download txt
3 0
3 years ago
Other questions:
  • What is the significance of the vertical columns of the periodic table? what is the significance of the horizontal rows?
    6·1 answer
  • Investments in data networks, ip addresses, routers, and switches are ________ because of their impact on productivity, security
    14·1 answer
  • What is the function of napier's bones<br>​
    8·1 answer
  • A photograph with more yellows has which mood
    6·2 answers
  • The ‘capacity for emergency management and response personnel to interact and work well together’ describes which of the key com
    10·2 answers
  • A developer is creating an enhancement to an application that will allow people to be related to their employer. Which data mode
    11·1 answer
  • If the old and new systems are operated side by side until the new system has proven itself, this type of system conversion plan
    11·1 answer
  • The script in the dynamic data section of the Web page template will check the value of the ____ array if the get method is used
    8·1 answer
  • Write an essay about yourself based on the dimensions of ones personality​
    9·1 answer
  • What are two advantages of a pay-for-use online conferencing service compared to a free service? (Choose two)
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!