# Activity 1
# This activity has the objective of practicing
# how to write if statements.
# For this example there are four kinds of flowers:
# 1. Blue and small ( less than 2 inches in size)
# 2. Blue and large ( >= inches in size)
# 3. Red and small
# 4. Red and large
# The user is prompted to enter the color and
# the size of the flower and you will
# print the corresponding kind of flower

Answers

Answer 1

The If-statement that is made up for the given activity is given below:

How to write an IF Statement

# 1. Blue and small ( less than 2 inches in size)

If Blue is less than 2 inches in size

Print "This is blue and small"

# 2. Blue and large ( >= inches in size)

If Blue is greater than 6 inches in size

Print "This is blue and large"

# 3. Red and small

Loop

# 4. Red and large

End

Read more about if statements here:

https://brainly.com/question/11073037

#SPJ1


Related Questions

Please help me with this Python coding assignment

Answers

The complete code to help you ask for numbers and then produce the square of the number as output is given below:

The Program

user_num = int(input('Enter integer:\n'))

   

print("You entered: ", user_num)

   

print(user_num, "squared is ", user_num*user_num)

   

print("And", user_num, "cubed is", user_num*user_num*user_num, "!!")

   

user_num2 = int(input("Enter another integer:\n"))

   

print(str(user_num) + str(user_num2), "is", user_num+user_num2)

   

print(str(user_num) * str(user_num2), "is", user_num*user_num2)

The Output

Enter integer:

4

You entered: 4

4 squared is 16

And 4 cubed is 64 !!

Enter another integer: 5

4 + 5 is 9

4 * 5 is 20

Read more about programming here:

https://brainly.com/question/23275071

#SPJ1

What is the first step you must complete before modifying a form in Word?
O Ask for permission from the last person to modify it.
Remove any protections that restrict editing.
O Fill in the form so you know what it will look like.
O Share the form with anyone you want to complete the form.

Answers

The answer to the following question is A

Answer:

The correct answer is B, Remove any protections that restrict editing

Explanation:

You're welcome and have a nice day :)

11222222111111111111111112112

Answers

Answer:

33444444333333333333334334

Explanation:

What is the final step in conducting a competitive audit? (UX)


Outline the goals

Create a list of your competitors

Summarize your findings

Research each product

Answers

The final step in conducting a competitive audit is create a list of your competitors. The correct option is B.

What is competitive audit?

A UX competitive analysis is a technique used by UX researchers to understand the competition, identify opportunities, and gain a competitive advantage.

This analysis provides valuable insights to UX design teams in developing a UX strategy to improve a product's user experience and business value.

The final step in conducting a competitive audit is to examine the competitor's overall market performance.

You can learn more about what the target customers are looking for by reading reviews and testimonials left by previous customers on review sites or social media platforms.

Thus, the correct option is B.

For more details regarding audit, visit:

https://brainly.com/question/14652228

#SPJ1

Which method of sending data uses routing?

Answers

Answer:

The Internet Protocol (IP) is the protocol that describes how to route messages from one computer to another computer on the network. Each message is split up into packets, and the packets hop from router to router on the way to their destination.

Which of the following is the BEST solution to resolve the corrosion issue? ○Check and clean all corroded server motherboards.
○Replace motherboards in the servers more frequently.
○Decrease the humidity in the data center.
○Run a diagnostic check on all servers to make sure they are functioning properly.​

Answers

The statement that illustrates the best solution to resolve the corrosion issue is as follows:

Replace motherboards in the servers more frequently.

Thus, the correct option for this question is B.

What is the Corrosion issue?

The corrosion issue may be defined as a type of concern that significantly destructs the efficiency of the computer system due to the accumulation of numerous junk files. It reduces the overall speed of the system as well.

According to the context of this question, it is required to replace motherboards in the servers more frequently. This is because it is the ultimate to the corrosion issue and try to install some application that prevents the entry of unnecessary junk files in the media.

Therefore, the correct option for this question is B.

To learn more about Motherboards, refer to the link:

https://brainly.com/question/2114613

#SPJ1

Select the correct answer.
Which of the following can computer maintenance software determine?

A. whether your hard drive is about to fail
whether your monitor or screen is drawing too much power
the humidity inside your desktop computer
B.
C.
OD.
D. the amount of dust inside your laptop

Answers

Answer:

Explanation:

It is B, this is because your hard drive is the part of your computer that makes it work, and what helps run the maintenance software. there is no exact way of telling if your hard drive is going to fail.

On the other hand, your maintenance software can correctly determine which apps and widgets are drawing power, including your monitor screen. It can adjust the settings, or you can manually, so it draws less power.

It cannot determine humidity in your laptop or the amount of dust in your laptop, sadly.

Hope this helps!!^^

Words that when clicked on can link to another website are called:

Answers

Answer:

hyperlink

Explanation:

youwelcome:)

write a script that creates and calls a stored procedure named insert_category. first, code a statement that creates a procedure that adds a new row to the categories table. to do that, this procedure should have one parameter for the category name. code at least two call statements that test this procedure. (note that this table doesn’t allow duplicate category names.)

Answers

The script that creates and calls a stored procedure named update_product_discount that updates the discount_percent column in the Products table is given below:

//This procedure should have one parameter for the product ID and another for the discount percent.

If the value for the discount_percent column is a negative number, the stored procedure should signal state indicating that the value for this column must be a positive number.//

Code at least two CALL statements that test this procedure.

*/

DROP PROCEDURE IF EXISTS update_product_discount;

DELIMITER //

CREATE PROCEDURE update_product_discount

(

 product_id_param         INT,

 discount_percent_param   DECIMAL(10,2)

)

BEGIN

 -- validate parameters

 IF discount_percent_param < 0 THEN

   SIGNAL SQLSTATE '22003'

     SET MESSAGE_TEXT = 'The discount percent must be a positive number.',

       MYSQL_ERRNO = 1264;  

 END IF;

 UPDATE products

 SET discount_percent = discount_percent_param

 WHERE product_id = product_id_param;

END//

DELIMITER ;

-- Test fail:

CALL update_product_discount(1, -0.02);

-- Test pass:

CALL update_product_discount(1, 30.5);

-- Check:

SELECT product_id, product_name, discount_percent

FROM   products

WHERE  product_id = 1;

-- Clean up:

UPDATE products

SET    discount_percent = 30.00

WHERE  product_id = 1;

Read more about programming here:

https://brainly.com/question/23275071

#SPJ1

Pretend that you must explain your favorite information technology pathway to a friend that is in middle school. Select one of the information technology pathways (your preferred I.T. pathway) explain why it is your favorite pathway, and describe specific careers available within that pathway.


Information Support & Services

Network Systems

Programming & Software Development

Web & Digital Communications


YOU HAVE TO WRITE PLEASE I BEG SOMEONE WRITE THIS PLEASE

Answers

The one of the information technology pathways that is my most preferred I.T. pathway is Web & Digital Communications.

What is the Web and digital communication?

The web and digital communication pathway is known to be one that is made of people or workers who are said to be involved in the act of making, designing as well as creating of interactive multimedia products as well as services.

It is also made up of the development of digitally made or computer-enhanced kind of media that is often used in business, training, communications and others and this is the reason why i love it.

Therefore,  The one of the information technology pathways that is my most preferred I.T. pathway is Web & Digital Communications.

Learn more about Digital Communications from

https://brainly.com/question/13171893

#SPJ1

HELP ME OUT PLEASE!!!!!

_______ are creations which include major copyright-protected elements of an original

A) Fair Use Doctrine

B) Derivative Works

C) Intellectual Property

D) Copyrighted​

Answers

Answer:

Derivertive works

Explanation:

 In copyright law, a derivative work is an expressive creation that includes major copyright-protected elements of an original, previously created first work (the underlying work). The derivative work becomes a second, separate work independent in form from the first.

Which of the problems McQuilkin and Copan mention in Chapter 11 are most important — that is which is the most compelling reason to reject Evolutionary Ethics and why.

Answers

A compelling reason that is valid enough to reject evolutionary ethics is that moral sense is not the only by-product of evolution.

This is because evolutionary ethics h1nges mostly on the interaction between philosophy and the natural sciences and the belief that natural selection had instilled morality in humans.

What is Evolutionary Ethics?

This refers to the study of the relationship between the theory of natural selection and ethical theory and practice.

Hence, we can see that A compelling reason that is valid enough to reject evolutionary ethics is that moral sense is not the only by-product of evolution.

This is because evolutionary ethics h1nges mostly on the interaction between philosophy and the natural sciences and the belief that natural selection had instilled morality in humans.

Read more about Evolutionary Ethics here:

https://brainly.com/question/14569807

#SPJ1

Which access control method relies on access being defined in advance by system administrators?

Answers

Answer:

The access control method which relies on access being defined in advance by system administrators is the "Mandatory Access Control ( MAC )"

Can you solve this program?

Answers

The attributes of the InventoryTag object red_sweater with sample output for the given program with inputs: 314 500 ID: 314 Qty is given:

The Attributes

Sample output for the given program with inputs: 314 500

ID: 314

Qty: 500

1 class InventoryTag:

2 def __init__(self):

3 self. item_id

4 self. quantity remaining – olol

5

6 red_sweater – InventoryTag

7 red sweater. itemid input

8 red_sweater. quantity remaining – input

9 def split. check(check_amount, numdiners, tax rate 0.09, tip. rate 0.15):

10 return check mount (180 + tip. rate 100 tax rate 100)/(100 num diners)

Read more about computer programs here:

https://brainly.com/question/23275071
#SPJ1

Activity 1 1. How important is ICT in today's generation?​

Answers

ICT help us to make research and it help us to know a lot of things about I.T

If a programmer dragged this code block onto the workspace, what would it do?

Answers

The result of dragging the code into a workspace is to cause an event that corresponds to an input entered by the player

How to determine the result of dragging the code into a workspace?

The code segment is given as

on A button pressed

In this case, the italicized texts or characters are the actions

The code may or may not represent sprites

As a general rule, sprites are program objects used to create animations.

From the question, we have the following highlights

The code is to perform or trigger an eventWhen the key button A is pressed

This means that the result of dragging the code into a workspace is to cause an event that corresponds to an input entered by the player

In this case, the input is the alphabet letter A

Hence, the result of dragging the code into a workspace is to cause an event that corresponds to an input entered by the player

Read more about code segments at

https://brainly.com/question/26561906

#SPJ1

A design team is working on an app for a government information tool and suggests this problem statement: Casey just moved to the area and needs to get information about setting up utilities because he doesn’t know who to contact. What element is missing in the problem statement?

User name

Insight

User characteristics

User need

Answers

Answer:

User characteristics

Explanation:

The coder assigned a CPT code to "x-ray, right femur" and an ICD-10-CM code to "fracture, right humerus." The health insurance company denied
reimbursement for the submitted claim due to lack of medical necessity. What action should the provider's office take?

Answers

The action that the provider's office need to take is that  the  provider's office need to review the codes and ensure sure they are the correct ones. The provider then need to inform  the coder to do a lot of  investigation on the code as well as  also add a lot of details to all of the code.

What is the issue about?

The provider's office in the above case of the fracture need to look through the claim and the patient record to be able to tell if the patient has gotten a fractured femur or a fractured humerus.

Therefore, The action that the provider's office need to take is that  the  provider's office need to review the codes and ensure sure they are the correct ones. The provider then need to inform  the coder to do a lot of  investigation on the code as well as  also add a lot of details to all of the code.

Learn more about fracture from

https://brainly.com/question/5404553

#SPJ1

Q: Health care providers are responsible for documenting and authenticating legible, complete, and timely patient records in accordance with federal regulations and accrediting agency standards. The provider is also responsible for correcting or altering errors in patient record documentation. A patient record documents health care services provided to a patient and includes patient demographic data, documentation to support diagnoses and justify treatment provided, and the results of treatment provided.

The coder assigned a CPT code to "x-ray, right femur" and an ICD-10-CM code to "fracture, right humerus." The health insurance company denied reimbursement for the submitted claim due to lack of medical necessity. What action should the provider's office take?

What is the difference between hardware and software?
(1 point)

A. Software is physical; hardware is not.

B. Hardware is physical; software is not.

C. Software is open-source; hardware requires a license.

D. Hardware is open-source; software requires a license.

Answers

Answer:

b

Explanation:

Explain why there are more general-purpose registers than special purpose registers. ​

Answers

Answer:

Explanation:

General purpose registers are used by programmer to store data whereas the special purpose registers are used by CPU for temporary storage of the data for calculations and other purposes.

Can you solve this question?

Answers

The answer to the given code question is:

class PatientData():    #declaration of PatientData class

  height_inches=0  #attribute of class is declared and initialized to 0

  weight_pounds=0 #attribute of class is declared and initialized to 0

The Program

#below is the class PatientData() that has two attributes height_inches and weight_pounds and both are initialized to 0

class PatientData():  

  height_inches=0

  weight_pounds=0  

patient = PatientData()  #patient object is created of class PatientData

#below are the print statements that will be displayed on output screen to show that patient data before

print('Patient data (before):', end=' ')

print(patient.height_inches, 'in,', end=' ')

print(patient.weight_pounds, 'lbs')

#below print  statement for taking the values height_inches and  weight_pounds as input from user

patient.height_inches = int(input())  

patient.weight_pounds = int(input())  

#below are the print statements that will be displayed on output screen to show that patient data after with the values of height_inches and weight_pounds input by the user

print('Patient data (after):', end=' ')

print(patient.height_inches, 'in,', end=' ')

print(patient.weight_pounds, 'lbs')      

Read more about programming here:

https://brainly.com/question/23275071

#SPJ1

did anyone can help me css code please I really need help​

Answers

Hi there!

In order to help, we’ll need to see an image, or have you explain the instructions. Please repost this with that.

Thanks, take care!

Sophia's plays her favorite game on her phone, where the game uses the phone's
camera to overlay images on real-world scenery. What type of game is Sophia
playing?
(1 point)
O virtual reality
O augmented reality
O multiplayer game
O virtual puzzle

Answers

Answer:

Augmented Reality

Explanation:

Augmented reality is a camera to overlay images on real-world scenery. Basically what the Pokemon GO app does.

Hello, I've tried everything and I cannot get this code to be fair. I need help. Can someone provide guidance so I can understand how to formulate the proper code for this question so I can understand how it should be set up in Python or Python #. Thanks truly. I really appreciate a response. Enjoy your day:

2.26 LAB: Seasons
Write a program that takes a date as input and outputs the date's season. The input is a string to represent the month and an int to represent the day.

Ex: If the input is:

April
11
the output is:

Spring
In addition, check if the string and int are valid (an actual month and day).

Ex: If the input is:

Blue
65
the output is:

Invalid
The dates for each season are:
Spring: March 20 - June 20
Summer: June 21 - September 21
Autumn: September 22 - December 20
Winter: December 21 - March 19

Answers

A program that takes a date as input and outputs the date's season. The input is a string to represent the month and an int to represent the day is given below:

The Program

input_month = input()

input_day = int(input())

months= ('January', 'February','March', 'April' , 'May' , 'June' , 'July' , 'August' , 'September' , "October" , "November" , "December")

if not(input_month in months):

  print("Invalid")

elif input_month == 'March':

   if not(1<=input_day<=31):

       print ("Invalid")

   elif input_day<=19:

       print("Winter")

   else:

      print ("Spring")

elif input_month == 'April' :

   if not(1<=input_day<=30):

       print("Invalid")

   else:

      print("Spring")

elif input_month == 'May':

   if not(1<=input_day<=31):

       print("Invalid")

   else:

       print("Spring")

elif input_month == 'June':

   if not(1<=input_day<=30):

       print("Invalid")

   elif input_day<=20:

       print ("Spring")

   else:

       print("Summer")

elif input_month == 'July' or 'August':

   if not(1<=input_day<=31):

       print("Invalid")

   else:

       print("Summer")

elif input_month == 'September':

   if not(1<=input_day<=30):

       print("Invalid")

  elif input_day<=21:

       print ("Summer")

   else:

       print ("Autumn")

elif input_month == "October":

   if not(1<=input_day<=31):

      print("Invalid")

   else:

       print("Autumn")

elif input_month == "November":

   if not(1<=input_day<=30):

       print("Invalid")

   else:

       print ("Autumn")

elif input_month == "December":

   if not(1<=input_day<=31):

       print("Invalid")

   elif input_day <=20:

       print ("Autumn")

   else:

       print ("Winter")

elif input_month == 'January':

   if not(1<=input_day<=31):

       print("Invalid")

   else:

       print("Winter")

elif input_month == "February":

   if not(1<=input_day<=29):

       print("Invalid")

   else:

       print ("Winter")

Read more about programming here:

https://brainly.com/question/23275071

#SPJ1

The assignment is to get an integer from input, and output that integer squared, ending with newline. (Note: This assignment is configured to have students programming directly in the zyBook. Instructors may instead require students to upload a file). Below is a program that's been nearly completed for you.

Click "Run program". The output is wrong. Sometimes a program lacking input will produce wrong output (as in this case), or no output. Remember to always pre-enter needed input.
Type 2 in the input box, then click "Run program", and note the output is 4.
Type 3 in the input box instead, run, and note the output is 6.
When students are done developing their program, they can submit the program for automated grading.

Click the "Submit mode" tab
Click "Submit for grading".
The first test case failed (as did all test cases, but focus on the first test case first). The highlighted arrow symbol means an ending newline was expected but is missing from your program's output.
Matching output exactly, even whitespace, is often required. Change the program to output an ending newline.

Click on "Develop mode", and change the output statement to output a newline: print(userNumSquared). Type 2 in the input box and run.
Click on "Submit mode", click "Submit for grading", and observe that now the first test case passes and 1 point was earned.
The last two test cases failed, due to a bug, yielding only 1 of 3 possible points. Fix that bug.

Click on "Develop mode", change the program to use * rather than +, and try running with input 2 (output is 4) and 3 (output is now 9, not 6 as before).
Click on "Submit mode" again, and click "Submit for grading". Observe that all test cases are passed, and you've earned 3 of 3 points.

Answers

The issue in the code is that you're adding instead of multiplying the number by itself.

You can fix it by changing the second line to one of the two:

userNumSquared = userNum * userNum

or

userNumSquared = userNum ** 2

Currently, the motherboard is set to boo from either a UEFI device or a legacy BIOS device, and the one HDD boots as a legacy device. If you change the motherboard to boot only in UEFI mode, what can you do to this HDD so that it will still work as a boot device for this system?
Answer: The HDD must be partitioned with GPT to serve as a UEFI boot device.

Answers

The action you can do to this HDD so that it will still work as a boot device for this system is The HDD must be partitioned with GPT to serve as a UEFI boot device.

Based on the fact that the motherboard is set to boo from either a UEFI device or a legacy BIOS device, to change the motherboard to boot only in UEFI mode, you would need to partition the HDD.

What is Booting?

This refers to the process of a computer coming on from a relaxed or off state.

Hence, we can see that The action you can do to this HDD so that it will still work as a boot device for this system is The HDD must be partitioned with GPT to serve as a UEFI boot device.

Based on the fact that the motherboard is set to boo from either a UEFI device or a legacy BIOS device, to change the motherboard to boot only in UEFI mode, you would need to partition the HDD.

Read more about BIOS device here:

https://brainly.com/question/17101708

#SPJ1

Overestimating project complexity is a common cause of project creep. True or False?

Answers

The given statement: "Overestimating project complexity is a common cause of project creep" is FALSE

What is a Project?

This refers to the undertaking that is done by an individual or group to achieve a set goal.

Hence, we can see that The given statement: "Overestimating project complexity is a common cause of project creep" is FALSE and this is because the main cause of project creep is the underestimation of the project

This is because when project creep occurs, this is mostly as a result of the underestimation of the project and not overestimation.

Read more about project planning here:

https://brainly.com/question/15410378

#SPJ1

When newer consoles are being released, companies make the consoles
compatible. What does this mean?
(1 point)
O The newer consoles are released with higher speeds that allow for better graphics.
O The newer consoles can play games from other brands of consoles.
O
The newer consoles can play the new games but cannot play the games for the
older consoles.
The new consoles can play the games made for the older consoles as well as new
games.

Answers

Answer:

The last option

Explanation:

As the newer consoles allow old console games and also can support the new games made for the console. The games are high graphic and with high fps even if the game is from an older console. Which in turn means making it compatible

What is the output?

int x=5;

if( x > 5)

cout << "x is bigger than 5. ";

cout <<"That is all. ";

cout << "Goodbye\n";

Answers

The output of the given program is "That is all. Goodbye"

What is an Output?

This refers to the result or information that is gotten from a computer system after processing has been done.

Hence, we can see that if-else conditional statement is used and it should prompt the user for input, but the output based on this code fragment is  "That is all. Goodbye"

The given code is:

int x=5;

if( x > 5)

cout << "x is bigger than 5. ";

cout <<"That is all. ";

cout << "Goodbye\n";

Read more about output here:

https://brainly.com/question/25983065

#SPJ1

Which of these terms refers to a paper printout?

Answers

Answer:

A term that refers to a paper printout is a hardcopy output.

Explanation:

Any output that is available in paper form is typically referred to as a hard copy. It served as a word to set it apart from soft copy (which referred to any electronic form). It was talking about how the paper version appeared to be permanent; you couldn't update the data on a hard copy format without it being clear.

Data that was seen on a screen or saved to disk was considered soft copy, whereas data that was printed out was considered hard copy.

Thanks,

Eddie

Other Questions
Write a brief summary of Pit and the Pendulum story please.I will give it a lot of extra points and a Brainly. A 5kg block is resting on the table. Find the normal force acting on the block.49 N, up49 N5 kg, up49 N, down Suppose the production possibilities frontier pivots up so that more of the good on the y-axis can be produced using the same amount of resources. what is the likely cause of this? In a recent year the populations of china was 1.3x10^9According to the census data the population of the us was about 308,745,538 about how many times greater was the population of china than the population of the us step by step pleas find the perimeter of the new similar triangle to the triangle below with a ratio of 3:5, old to new triangleA. 24.17B. 8.7C. 14.5D. 24E. 9 Scenario 1 (Sensing vs. Intuitive): Julie is a pre-school teacher. She assigns her class to draw a picture of a bicycle. Students share their pictures with the class. One of the students has drawn a bicycle with wings. Another student laughs at the drawing and says, "Bicycles don't have wings!" How should the teacher handle this situation? (-4) = -(4) True Or FalseHelp Quick Please! If a scientist is studying a coral reef, including both the biotic and abiotic components, what level of ecology is being studied?. Write an equation for each vertical translation of y=f(x) . 2/3 unit down. Question 2 of 5One common trigger of depression is the death of someone who is close toyou.OA. TrueOB. False give me a notice about informing the students to collect their ssc admit card for the upcoming examination How many quarts of pure antifreeze must be added to 3 quarts of a 10% antifreeze solution to obtain a 30% antifreeze solution?_quart(s) of pure antifreeze must be added. Which should the nurse expect if a 3-year-old child's visual acuity test is normal for the child's developmental age? hi!! please help :( lots of points ! I REALLY NEED HELP! Given the function defined by f(x)=8x-8, find f(6). Simplify. The number of cakes baked at a restaurant each day for 12 days is shown below. What is thepercentile of 7 cakes?2, 4, 4, 5, 5, 6, 6, 7, 8, 10, 12, 15 What impact will increase consumer confidence have on equilibrium?A. GDP will go up, unemployment will go up, and inflation will go up.B. GDP will go up, unemployment will of down, and inflation will go up.C. GDP will go down, unemployment will go up, and inflation will go down.D. GDP will go down, unemployment will go down, and inflation will go down. Given m \| nmn, find the value of x.mnt(x+5)(x-13) What are the top 3 Amendments in your Opinion? Find the Domin and range f(x) =-2(x+3)2 -5