A numeric test score is to be converted to a letter grade of A, B, or C according to the following rules: A score greater than 90 is considered an A; a score between 80 and 90, inclusive, is considered a B; and any other score is considered a C. What code segments will assign the correct letter grade to grade based on the value of the variable score?

Answers

Answer 1

The code segment makes use of conditional statements.

Conditional statements in programming are used to make decisions

The code segment in C++ is as follows

if (score > 90) {

grade = 'A';

}

else if (score >= 80 && score < =90) {

grade = 'B';

}

else {

grade = 'C';

}

The above code segments take the score, make comparison, and then determine the appropriate letter grade.

Read more about code segments at:

https://brainly.com/question/20475581

Answer 2

II and III

Explanation:If it is the test i think it is

I is incorrect because it is saying that automatically it is set as C but if the score is over 90 then you get an A if it's anything else then it's a B. This is false because then your outcome will never be C. It would only be A or B.
II is correct because it starts off by saying that if the score is greater than 90 then you'll get an A if else then if your score is equal to or greater or equal to than 80 then you get B and then if anything else then it's a C. This incoorporates everything.
III is also true because it start off by saying if anything is below an 80 then you automatically get a C. If it's anything over than 80 then if it's equal to or less than 90 then you get a b and if it's anything else then you get an A. This also checks out which means it's true.
So the answer is II and III


Related Questions

A restaurant recorded the ages of customers on two separate days. You are going to write a program to compare the number of customers in their forties (ages 40 to 49).

What is the missing line of code?

customerAges = [33, 23, 11, 44, 35, 25, 35, 68, 51]

count40s = 0
for item in customerAges:
_____;
count40s = count40s + 1
print("Forties:", count40s)


if 40 > item > 49

if 40 < item < 49

if 40 <= item <= 49:

if 40 >= item >= 49

Answers

Answer:

if 40>= item >=49

Explanation:

Which of the following is an example of an incremented sequence?

A.
1, 2, 3, 4

B.
4, 3, 2, 1

C.
North, South, East, West

D.
A, B, C, D

Answers

Answer:

A

Explanation:

When a sequence number is genrated, the sequence is incremented independent of the transaction committing or rolling back.

The deliberate misuse of computers and networks, _____ use malicious code to modify the normal operations of a computer or network.

Answers

Answer:

Virusus

Explanation:

-

Hope that helps

Katie is writing a print statement but nothing is printing. Which of the following should she check for?

A.
Make sure the print statement is surrounded by parentheses.

B.
Make sure the word print is in all capital letters.

C.
Make sure there is a colon after the print statement.

D.
Make sure the next line after the print statement is indented.

Answers

Answer:

A.

Explanation:

Parenthesis are required to be around the data in a print function. All the letters in a  print statement should be lowercase. A colon isn't required after a print statement. Indentation is not needed for a print statement because there are no colons after the statement instead. Here's an example where you would need to indent the line:

def randNum( x, y ):

    x = input("Enter number: ")

    y = input("Enter number: ")

    return x * y

Here's an example of a print statement:

print("My name is Sullen.")

Using PowerPoint or Impress guarantees that your presentation will do which of the following? stay on schedule and end on time be clear and understood keep your audience engaged and excited none of the above.

Answers

Answer: it will be none of the above

Explanation: i just took this test. the key word is "guarantees" so yeah.

Using PowerPoint or Impress guarantees that your presentation will: D. none of the above.

A presentation can be defined as an act of speaking formally to an audience, in order to explain an idea, piece of work, project, or product, especially with the aid of multimedia resources or samples.

Generally, a speaker can use either PowerPoint or Impress during the process of a presentation to share vital information with his or her audience.

However, none of the aforementioned software applications can guarantee that your presentation will:

Stay on schedule and end on time.Be clear and understood.Keep your audience engaged and excited.

Read more: https://brainly.com/question/10657795


Which type of list should be used if the items in the list need to be in a specific order?

Answers

Answer:

1.

2.

3.

Explanation:

Depending on the situation, any of them could be used to indicate a specific order. But for most cases, such as with scientific procedures, it's best to use the most traditional numbering system of 1. 2. 3...

pa help please I need help
10 points :'(
nonsense report:
1 heart​

Answers

Answer:

√ 1. Cellphone

Product Description:

A cellphone is any portable telephone that uses cellular network technology to make and receive calls.

16. A/An __________ is operated on the principle that the dying have special needs and wants that hospital personnel are too busy to handle.

Answers

Answer:

Hospices

Explanation:

A/An Hospices is operated on the principle that the dying have special needs and wants that hospital personnel are too busy to handle.

Answer:

a / an hospice is operated on the principle that the dying have special needs and wants that hospital personel are too busy to handle..

Explanation:

answer:: HOSPICE

can’t be opened because apple cannot check it for malicious software.

Answers

Answer:

try to reset  your computer.

Explanation:

How does Python recognize a tuple? You use tuple when you create it, as in "myTuple = tuple(3, 5)". You use brackets around the data values. You use parentheses around the data values. You declare myTuple to be a tuple, as in "myTuple = new tuple"

Answers

Answer:

Python recognizes a tuple when you have parenthesis and a comma. You use brackets when you're creating a list.

You cannot declare a tuple in that format. It has to be:

myTuple = (__, __) or something of the like. There are many ways you can do it, just not the way that you have it.

Explanation:

Python class.

Answer: parantheses AND COMMAS

Explanation:

Write a function float Average(int, int) that finds the mean, and then write a main program that inputs two numbers from the user repeatedly until the user enter “0”. You need to call the function and display the mean of two numbers in the main. C++ language only.

Answers

The program illustrates the use of functions.

Functions are used to group related code segments that act as one, when called.

The program in C++ where comments are used to explain each line is as follows:

#include <iostream>

using namespace std;

//This defines the Average function

float Average(int num1, int num2){

   //This returns the average of the numbers

   return (num1+num2)/2.0;

}

//The main method begins here

int main(){

   //This declares the numbers as integer

   int num1, num2;

   //This gets input for both numbers

   cin>>num1; cin>>num2;

   //This is repeated until the user enters 0

   while(num1!=0 || num2 !=0){

       //This calls the average function, and prints the average

       cout<<Average(num1,num2)<<'\n';

       //This gets input for both numbers, again

       cin>>num1; cin>>num2;

   }

   return 0;

}

Read more about similar programs at:

https://brainly.com/question/17378192

Fill in the blank to complete the sentence.
Binary Digit 1 0 0 0 0 0 1 1
Decimal Equivalent of Place Value 128 ? 32 16 8 4 2 1
The missing place value is
.

Answers

Answer:

ANSWER:62

Explanation:i dont know just trust me

The base of every positional numeral system is ten, which is expressed as 10 in the decimal numeral system (also known as base-ten). It is the numeral system that modern cultures utilize the most frequently.

What Binary Digit Decimal Equivalent of Place Value?

In binary numbers, place values rise by a factor of 2, as opposed to decimal numbers, where place values rise by factors of ten. The symbol for a binary number is X2. Think about the binary number, 10112 as an example. The place value of the rightmost digit is 120, while the place value of the leftmost digit is 123.

Digits are used to fill in the spaces on the place value chart in the decimal system. Binary, on the other hand, is restricted to 0 and 1, therefore we can only utilize 0 or 1 with each location. In a binary place value chart, the binary number 1001 is positioned to the right.

Therefore, Decimal Equivalent of Place Value 128 64 32 16 8 4 2 1.

Learn more about Binary Digit here:

https://brainly.com/question/20849670

#SPJ2

An animation of a person standing with their arms extended out to their sides. There are 3 dimensional boxes around the torso of the person showing how to create a shirt. What animation process does the photo above help you visualize? a. Morphing c. Motion capture b. Building 3 dimensional models d. Animation rendering Please select the best answer from the choices provided A B C D

Answers

Answer:

c

Explanation:

A(n) ________ is the portion of virus code that is unique to a particular computer virus. A) virus signature B) encryptio

Answers

Answer:

A) virus signature

Explanation:

Antivirus databases contain what are called signatures, a virus signature is a continuous sequence of bytes that is common for a certain malware sample.

--

Encryption is a way of scrambling data so that only authorized parties can understand the information.

12. In Justify the text is aligned both to the right and to the left margins, adding extra space between words as necessary *
Maybe
False
True

Answers

[tex]\blue{<><><><><><><><><><><><><}[/tex]

[tex]\green{<><><><><><><><><><><><><}[/tex]

Answer:

False

Explanation:

Because, aligment the tex are aligned in the centre of the page.

[tex]\pink{<><><><><><><><><><><><><}[/tex]

[tex]\red{<><><><><><><><><><><><><}[/tex]

False
:)))))))))))))))))

Aurelia is designing a user interface for a new game app. Which of the following should she taken into consideration for the user interface?

A.
how many variables will need to be used

B.
what inputs the game will need to take in from the user

C.
what type of loops will be used

D.
whether an array will need to be used

Answers

Answer:

C

Explanation:

what types of loop will be used.

if a granola bar has 5.7 grams of protein in it how many centigrams of protein does it contain?

A. 57

B. 0.57

C. 570

D. 5,700 ​

Answers

The answer is 570 hope it helps

why is computer economics important?​

Answers

Answer:

Explanation:

Advances in computing power and artificial intelligence will allow economists to test and develop many economic theories which have previously been very difficult to empirically test. In macroeconomics, we often rely on historical data to estimate market responses to recessions and other shocks in the economy since conducting experiments is at best unwieldy, unethical, and often impossible. Building AI which acts kind of human in market conditions and which is capable of adaptive strategies may allow researchers to simulate markets on a macro scale. Attempts have already been made in online video games which have virtual economies.

What happened to China and India after they modernized their workforces by providing more training and education?

A.
Their economies collapsed as they were unable to pay for their public services.

B.
They experienced civil wars between the haves and have-nots.

C.
People refused to take advantage of these programs due to anti-Western biases.

D.
Millions of people were lifted out of poverty.

Answers

The correct answer is D.

The condition for China and India after they modernized their workforces by providing more training and education is;

''Millions of people were lifted out of poverty.'' So, option D is true.

Given that;

China and India modernized their workforces by providing more training and education.

After modernizing their workforces by providing more training and education, both China and India experienced a significant improvement in their economies.

As a result, millions of people were lifted out of poverty.

This positive change was driven by increased job opportunities, higher productivity, and improved skills among the workforce.

Therefore, Option D is true.

To learn more about education visit:

https://brainly.com/question/19959157

#SPJ3

Database management packages based on the _______________ model can link data elements from various tables to provide information to users.

Answers

Answer:

Database management packages based on the relational model can link data elements from various tables to provide information to users.

Fill in the blank: Every database has its own formatting, which can cause the data to seem inconsistent. Data analysts use the _____ tool to create a clean and consistent visual appearance for their spreadsheets.

Answers

The tool used by data analysts to create a clean and consistent visual appearance for their spreadsheets is called clear formats.

A database refers to an organized or structured collection of data that is typically stored on a computer system and it can be accessed in various ways. Also, each database has a unique formatting and this may result in data inconsistency.

In Computer science, a clean data is essential in obtaining the following:

Data consistencyData integrityReliable solutions and decisions.

Furthermore, spreadsheets are designed and developed with all kinds of tools that can be used to produce a clean data that are consistent and reliable for analysis.

In this context, clear formats is a kind of tool that is used by data analysts to create a clean and consistent visual appearance for their spreadsheets.

Read more on database here: https://brainly.com/question/15334693

a network consisting of nodes covering a small geographic area is a

Answers

Answer:

that is a Local Area Network (LAN)

when demonstrating 2022 altima’s parking assistance, what steering feature should you mention when pointing out how easy the vehicle is to steer at low speeds?

Answers

Based on automobile technology, when demonstrating 2022 Altima's parking assistance, the steering feature one should mention when pointing how easy the vehicle is to steer at speed is "the Cruise Control w/Steering Wheel Controls."

What is Cruise Control w/Steering Wheel Controls?

The Cruise Control w/Steering Wheel Controls allow the driver or the user to adjust the car's speed to the present rate, either lower or higher.

The Cruise Control feature assists in providing additional time and distance between the car and another one in front when parking or highway.

Hence, in this case, it is concluded that the correct is "the Cruise Control w/Steering Wheel Controls."

Learn more about the same parking assistance in an automobile here: https://brainly.com/question/4447914

If you know that a file for which you are searching starts with the letters MSP, you can type ____ as the search term.

Answers

Map I think it is the answer

_____ is the dynamic storage allocation algorithm that results in the largest leftover hole in memory.

Answers

Answer: Worst fit

Explanation:

When you empty the trash on your computer what happens?

Answers

It goes to your recently deleted after deleting from your recently deleted a file is saved from that image or png for legal use only

It is saved from that image or png for lawful usage only after being erased from your recently deleted folder.

What is recently deleted folder?

Content that users delete from their accounts now automatically goes to Recently Deleted. The content may then be permanently erased. Or, if users change their minds, they can recover the information from the Recently Deleted folder and add it back to their profile.

The Recently Deleted folder is where files go after you delete them from iCloud Drive or On My [device]. Your files are deleted from Recently Deleted after 30 days. You have 30 days to get a file back if you decide against it or unintentionally erase it.

Photos and movies that you've moved to your Recently Deleted album can be permanently deleted files remain there for 30 days. View here for more information on removing photos.

Thus, It is saved from that image or png for lawful usage

For more information about recently deleted folder, click here:

https://brainly.com/question/1445705

#SPJ5

Is this statement true or false? Title text boxes on every slide must be the same format. True false.

Answers

false as you can adjust the boxes to your liking even add more if needed

Which type of relationship is responsible for teaching you values and how to communicate?
a.
online
b.
friend
c.
colleague
d.
family


Please select the best answer from the choices provided

A
B
C
D

Answers

answer:

its either b or d

explanation:

If two nearby wireless devices (for example, a cordless phone or a wireless client) transmit using overlapping frequencies, those devices can interfere with one another. What is the term given to this type of interference

Answers

Answer:

wireless interference

Wireless interference is the term given to this type of interference.

What is wireless devices?

Any gadget that has the ability to communicate with an ICS net via microwave or infrared light, often to gather or maintain the data but occasionally to managing different set - point. Mobile nodes are any gadgets that communicate via RF signals. These gadgets include phone, baby monitors, and mechanical door openers, to name a few.

An intervention in communications occurs when a signal is altered in a disruptive way while it passes along one transmission medium in between the source and recipient. The phrase is frequently employed to refer to the addition of undesirable information to a signal that is otherwise good. Common illustrations include: electric sabotage (EMI).

Learn more about wireless devices, Here:

https://brainly.com/question/9979629

#SPJ5

Explain how analog computers are used to process data generated by ongoing physical process​

Answers

Hi hi :)

Analog computers store data in a continuous form of physical quantities and perform calculations with the help of measures.

Okay bye :)
Other Questions
Add and simplify 4/9 + 3/7 Question 2 options: 7/16 55/63 12/63 3/12 What is the usual tone of an argumentative essay?A. CasualB. HumorousC. SeriousD. Technical What is the formula for this compound?1 atom of copper, 1 atom of sulfur, 4 atoms of oxygen which of rockwells paintings reached a record sale price? What is pseudoscience and how is it different from science Angry men act 1: Which juror is implied to be either racist or prejudice against the poor?3, 10, 4, 7 Please HelpFind the area of a circle with radius, r = 87cm.Give your answer rounded to 3 SF. A school is arranging a field trip to the zoo. The school spends 515.84 dollars on passes for 30 students and 2 teachers. The school also spends 282.90 dollars on lunch for just the students. How much money was spent on a pass and lunch for each student? in what way were the louisiana state constitutions of 1845 and 1852 the same A speech on the problems with education funding in the state and the steps that needs to be taken to lesson them would follow the ___________________ strategy Read the passage from President Bush's speech."Our public interest depends on private character, on civic duty and family bonds and basic fairness, on uncounted, unhonored acts of decency which give direction to our freedom.Sometimes in life we are called to do great things. But as a saint of our times has said, every day we are called to do small things with great love. The most important tasks of a democracy are done by everyone."The saint President Bush refers to is Mother Teresa. She lived among and served the poor all over the world. She symbolizes selflessness in giving of herself to take care of others.How doe the allusion to Mother Teresa affect the meaning of the speech?1. It urges listeners to live among the poor in order to help them improve their lives. 2. She serves as an example of how Americans should treat each other and their country.3. She sets an example of how well-run democratic counties should be governed.4. It appeals to the emotions of listeners so that they will feel guilty if they ignore the poor. One spinner has three equally sized sectors labeled R, S, and T. A second spinner has two equally sized sectors labeled 3 and 5. Eachspinner is spun once.What is the sample space of outcomes? Can someone help me please a) You will collect the following information about your element: Periodic table information including type of element, atomic number, atomic mass, number of protons, number of electrons, number of neutrons, period number, group number, and group name Physical and chemical properties of the element When, where, and by whom the element was discovered Where the element is found and how it is obtained Uses for the element and/or products made from the element Images of the element b) Be sure to keep a list of your references so you can cite them later. c) Ask your teacher where you should save your presentation as you work on it. Your teacher may also have specific guidelines about the file name you should use. PLS HELP IM GONNA FAIL MATHHow long is the fence around a circular field with a radius of 340 ft.? In 2019, Krista paid $1,600 in qualified adoption expenses to adopt a U.S. child. The adoption was not finalized, and in 2020, she paid an additional $2,500 in qualified adoption expenses. The adoption failed again in 2020 and never became final. What is the maximum amount Krista may be eligible to claim for the Adoption Credit on her 2020 return A piece of metal with a length of 2.83 cm was measured using four different devices. Which of the following measurements is the most accurate? O 2.812 cm O 2.837 cm O 2.805 cm 0 2.829 cm What was proposed in the unamendable constitution ademendment teheheh help please :) Whitch sketch is drawn in two dimensions Orthographic or pictorial?