Some of the arguments are valid, whereas others exhibit the converse or the inverse error. Use symbols to write the logical form of each argument. If the argument is valid, identify the rule of inference that guarantees its validity. Otherwise, state whether the converse or the inverse error is made. If this computer program is correct, then it produces the correct output when run with the test data my teacher gave me. This computer program produces the correct output when run with the test data my teacher gave me.



This computer program is correct.

Let p = "this computer program is correct," and let q = "this computer program produces the correct output when run with the test data my teacher gave me." Is the argument valid or invalid? Select the answer that shows the symbolic form of the argument and justifies your conclusion.

Answers

Answer 1

Hi, you've asked an incomplete/unclear question. I inferred you want a symbolic representation and validity of the argument mentioned.

Answer:

argument is valid

Explanation:

Let's break down the arguments into parts:

Let,

p = "if this computer program is correct,"

q = "this computer program produces the correct output when run with the test data my teacher gave me."

c = "This computer program is correct."

Meaning, p ⇒ q (p results in q), then we can conclude that,

(p ⇒ q ) ∴ ⇒ c

However, the correct converse of the statement is:

If this computer program produces the correct output when run with the test data my teacher gave me, then the computer program is correct,"

q ⇒ p (If q then p)

While the correct inverse of the statement is:

If this computer program is not correct, then this computer program does not produce the correct output when run with the test data my teacher gave me."


Related Questions

Using Python Write an expression using Boolean operators that prints "Special number" if special_num is -99, 0, or 44.

Sample output with input: 17
Not special number

Answers

special_num = int(input())

if special_num == -99 or special_num == 0 or special_num == 44:

   print("Special number")

else:

   print("Not special number")

I wrote the code so that the user enters a number of their choice. Best of luck.

what is the norm that psychoanalysis of Freud deviates?

Answers

Answer:

Freud deviates from the norm of current mainstream psychology which has more or less lost its way - if it ever had one - under the influence of the same pressures which produce our dysfunctional politics and our troubled societies at large (technological change, globalisation, and so on).

Explanation:

Creds to Quora

When would it be necessary to edit the information shown on an electronic business card?

Answers

Answer:

It's D dear

Explanation:

Answer:

D. to show only relevant information to people inside your organization

Explanation:

hope this helps :)

If an app asks for a user's age, it may be because the app requires a user to be over a certain age to use some of the services it provides. Write a function called checkAge that takes one parameter of type String. The function should try to convert this parameter into an Int value and then check if the user is over 18 years old. If he/she is old enough, print "Welcome!", otherwise print "Sorry, but you aren't old enough to use our app." If the String parameter cannot be converted into an Int value, print "Sorry, something went wrong. Can you please re-enter your age?" Call the function and pass in userInputAge below as the single parameter. Then call the function and pass in a string that can be converted to an integer.
Go back and update your function to return the age as an integer. Will your function always return a value? Make sure your return type accurately reflects this. Call the function and print the return value.
func checkage(age: String)->Int?
{
if let age_type = Int(age)
{
if age_type > 18 {
return "Welcome!"
}
else if age_type < 18 {
return"Sorry, but you aren't old enough to use our app."
}
}
else {
return "Sorry, something went wrong. Can you please re-enter your age?"
}
return age_type
}

Answers

Answer and Explanation:

Here the programming language swift is being used. There is a slight error in the program shown above:

var userInputAge=9

func checkage(age: String)->int?

{

if let age_type = Int(age)

{

if age_type > 18 {

return "Welcome!"

}

else if age_type < 18 {

return"Sorry, but you aren't old enough to use our app."

}

}

else {

return "Sorry, something went wrong. Can you please re-enter your age?"

}

return age_type

}

The program should be revised :

func checkage(age: int?)->String

{

if let age_type = Int(age)

{

if age_type > 18 {

return "Welcome!"

}

else if age_type < 18 {

return"Sorry, but you aren't old enough to use our app."

}

}

else {

return "Sorry, something went wrong. Can you please re-enter your age?"

}

return age_type

}

We call the functions :

checkage(userInputAge)

checkage("15")

Note: we revised the program for errors in the first line of the code where the int optional parameter(int?) was supposed to be used instead of the String parameter in the function. We then called the function using the userInputAge variable defined as the parameter and then we now also used a String as the parameter for calling the function the second time.

Answer:

def checkage(age: "String")->int:

   if age >= 18:

       return "Welcome!"

   return "Sorry, but you aren't old enough to use our app."

   

for _ in iter(list,0):

   myage = int(input("Please enter your age: "))

   if myage is int(myage):

       result = checkage(myage)

       print(result)

       break

   print("Sorry, something went wrong. Enter integer value as age.")

   

Explanation:

The python code above lets the user input the age value for continuous comparison. If the age is an integer, it checks to know if the age is greater than 18 or not. If yes, it returns "Welcome!" else "Sorry, but you aren't old enough to use our app". But if the age is not an integer, it displays the message "Sorry, something went wrong. Can you please re-enter your age?" then prompts the user again for the age.

Note: the ': "String" ' and "->int" is for documentation purposes. They are used to describe the type of parameters (for later) and return value (the former).

Explain
the three types of periodic
maintanance. .​

Answers

Answer:

poop i think

Explanation:

do you think your future career will continue to become more and more reliant on computers and is it a good thing to depend so fully on computers to help with work skills and careers​

Answers

There are good and bad, some people rely on computers, and some people need him to help them find information.

I personally think many future careers will continue to become more reliant on computers, however maybe not every single one.

I wouldn’t say it’s a good thing to depend so fully on computers but I also wouldn’t say it’s a bad thing either.

You probably shouldn’t rely on a computer 100% because it’s essentially important to know how things work on your own rather than depending on a computer all the time. While it can be a good thing. Like cashiers can print out a receipt rather than writing it out and consuming more time.

help plz!!!!!!!!!! neeeeeeeeeeeeeeeeeeeeeeeeeeeeeedddddddddddd heeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeelllllllllppppppppppppppppppppppppppppppppppppppppppppppppppppppp

Answers

Answer:

how to those with other people is so good if you have

Answer:

for what what is your questions

please help anyone plss the code for the html to create an website plsss anyone PLSSSSS ​and i will mark u as brainliest forever

Answers

Answer:ater on, in Chapter 9, you'll learn to put web pages online so anyone with a web ... Every web page you build along the way will be a bona fide HTML document. ... That means that the raw code behind every web page you create will consist entirely ... punctuation marks, and everything else you can spot on your keyboard).

Explanation:

I have no idea, any help is appreciated.

Answers

Answer:

A

Explanation:

How do I explain it.... well the analogy shows the circle in the middle of the parallelogram, then the next shows the circle bigger than the parallelogram and the parallelogram with lines in it.

So you do the same to the triangle with a square and there you go!

Answer:

A - the first one is correct.

Explanation:

Hope this Helps!

:D

Pleases Help ME An example of a _________________ impact is when a product is back ordered and the business contacts the customer via email to let them know of the new ship date.


A)Negative



B)Positive

Answers

Answer:

positive

Explanation:

it shows good customer service

Does anyone have any Edge(nuity) tips? Like how to skip videos and such.

Answers

Answer:

yes

Explanation:

it is quite easy chat me up and i will give u the link

We wish to produce a graphic that is pleasing and easily readable. Suppose we
make the background color pink. What color text font should we use to make
the text most readable? Justify your answer.Assume that the color Pink is obtained by mixing equal amounts of Red and White. Use the RGB color model and assume that the amount of each primary color in the model is described in the interval [0 255]. Describe the color of the text font you would choose using these conventions.

Answers

Answer:

light color

Explanation:

When we will mix equal amounts or equal quantities of the color red and the color white, we will get the color reddish pink. It is popularly called as the SOFT RED and the color code of this color is RGB (255, 128, 128).

Since, red color + white color = 0.5 RGB(255, 0, 0) + 0.5RGB(255, 255, 255)

                                                 = RGB (255, 128, 128)

According to me, the color white will best suit as the text color that can be used for a background having RGB(255, 128, 128). Because the color looks more red and not that pink, so it wise to use a light tone color for the natural reading purpose. Hence, it will not give strain to the eyes.

Which is a conditional statement?
If it is sunny, we can play ball.
It is sunny today.
It is sunny or rainy.
It is sunny across the street, but not sunny here.

Answers

i believe it is “if it is sunny, we can play ball”

Answer:

it is 1, I know this because i got 100% on my quiz

Explanation:

Is this right? I’m not sure

Answers

Yeah indeed it is. Good job!!

what are the advantages of using a folder?​

Answers

Answer:

1. easy access to files

2. better organization

Explanation:

in the middle of the iteration, how should a team handle requirement changes from the customer

Answers

Answer:

Team may take up the changes in flight after discussing the overall impact with the Product owner

Explanation:

In the middle of the iteration, one of the best ways a team should handle requirement changes from the customer is to take up the changes in flight after discussing the overall impact with the Product owner.

This will make the customer well aware of the advantages and disadvantages that come with changes in the requirement, such that, the customer will be surprised about the final outcome of the iteration.

Other Questions
4.___________ is the gravitational force acting on an object's mass, so__________ depends on the masses of the objects and the distance between them? Revise the following paragraph, improving it without changing its overall meaning. I usually am flying economy class, but last year I flied first-class on a trip from Vermont to Texas. This is how it happened. When I arriving at the airport, the attendant told me the airline had overbooked, which meant they were selling too many tickets for that flight. I were not in a hurry, so I offered to go on the next flight. Then I found out there were an extra seat after allit was first class! As I sat in my first-class seat, I notice the ride was much quieter and smoother than in other parts of the plane. When I buzzed the flight attendants, they are arriving right away. Also, there was enough fleece blankets for everyone, so I was able to cover myself when the cabin got too cool. Because the seats were so large, I had lots of room to stretch my legs. Best of all, the first-class meal was really good. All of these pleasant surprises made the flight seem shorter than any other flight I have took before. How were the founding fathers influenced by the idea of Natural Law and Natural Rights? Which of the ideas listed below do you consider most important and why? Magna Carta The Enlightenment The Mayflower Compac A 5.0-mL sample of CO2 gas is enclosed in a gas-tightsyringe (Figure 11.3) at 22 C. If the syringe isimmersed in an ice bath (0 C), what is the new gasvolume, assuming that the pressure is held constant? By bike, its possible to travel 108 miles in 6 days. Whats the unit rate? P' is the path of a point moving at the same distance from a fixed point Q'. The fixed distance is R' and the distance around the circle is S'. What is P, Q, R, S? Determine whether the graph represents a proportional relationship. a) Yes, it is a proportional relationship because the graph goes through the origin b) No, it is not a proportional relationship because the graph does not go through the origin c) Yes, it is a proportional relationship because the graph is a straight line d) No, it is not a proportional relationship because the graph is not a straight line Explain why the figure of the bard, Demodocus, is important. What or who does he represent? ANSWERED ASAP PLS The first landing of the Apollo 11 spacecraft on the moon is a signal event in history. What does signal mean in this sentenceA. To communicate B. Gesture for attentionC. Loud bell or buzzerD. Notable or amazing A recipe for cookies calls for 1 cup of butter, twice as much sugar as butter, and three times as much flour as sugar. How many cups of flour will you need if you halve the recipe? How have the consequences of the slave trade influenced world history? Which physical property do the two rocks share?A. ShininessB. ColorC. StateD. Texture On February 1, Tory began a service proprietorship with an initial cash investment of $2,000. The proprietorship provided $5,000 of services in February and received full payment in March. The proprietorship incurred expenses of $3,000 in February, which were paid in April. During March, Tory drew $1,000 against the capital account. In the proprietorship's financial statements for the two months ended March 31, prepared under the cash basis method of accounting, what amount should be reported as capital The equation y = 5.5x represents a proportional relationship What is the constant of proportionality? Draw a flow chart that explains how DNA is used to create an organism. please use the words: DNA, gene, protein, cell, tissue, organ, organism. In chemistry class, Bob recorded the volume of a liquid as 17.7 mL. The actual volume was 17.1 mL. Use the formula to find percent error of Bob's measurement to the nearest tenth of a percent.Percent Error = |Experimental Value Actual Value|Actual Value 100 How old was Guy Fawkes when he died? Michael has a set of 24 math problems to do for homework. Michael completed 1/4 of his homework in 3/4 of an hour. If he continues at this rate , what fraction of his homework would he complete in one hour ? A. 3/8 B. 2/3 C. 4/3 D. 3/2 if f(x)=3x-1 find f(2)pls show steps I rlly need to understand this! The peripheral nervous system is made up of the brain and spinal cord.