Victor has been murdered, and Art, Bob, and Carl are suspects. Art says he did not do it. He says that Bob was the victim's friend but that Carl hated the victim. Bob says he was out of town the day of the murder, and besides he didn't even know the guy. Carl says he is innocent and he saw Art and Bob with the victim just before the murder. Assuming that everyone - except possibly for the murderer - is telling the truth, encode the facts of the case so that you can use the tools of Propositional Logic to convince people that Bob killed Victor.How can you find out using logic that Bob Killed Victor?

Answers

Answer 1
Answer:

20 characters yes no


Related Questions

You can use Facebook's Live Feed tool to broadcast content as you post it, true or false?
What is the difference between primary storage secondary storage and offline storage
InstructionsWrite a program that prompts the user to input two numbers—a numerator and a divisor. Your program should then divide the numerator by the divisor, and display the quotient and remainder without decimals.
What type of maintenance is required of a computer’s power supply to ensure that it remains in working order?a. Clean the Molex cables regularly with a damp cloth. b. Regularly change out the NEMA 5-15 cord every 180 days. c. Statically discharge the PSU every 180 days. d. Clean any dust or debris from the air vents in front of the fans.
After inputting a formula or a piece of data into a cell, what happens to the cell pointer when you press Enter?a. It moves to the next adjacent cell to the right. b. It moves to the last cell in the column. c. It moves down one cell. d. It moves up one cell.

Your program must define and call the following function that returns the number of times the input character appears in the input string. int CountCharacters(char userChar, string userString)

Answers

Answer:

The program to this question can be given as:

Program:

#include <iostream>  //header file

using namespace std;  //using name space.

int CountCharacters(char userChar,string userString) //define function.

{    

int count = 0;  //define variable

for (int i=0;i<userString.length();i++) //loop

if (userString[i]==userChar)  //if block

count++;  //increment the value.

return count;  //return value.

}

int main()  //main method.

{

   string userString= "Clanguage";  //define variable and assign value.

   char userChar = 'a';   //define variable and assign value.

   cout << CountCharacters(userChar,userString);  //calling function and print value.  

   return 0;  

}

Output:

2

Explanation:

  • In the above C++ programming language program we define a function that is "CountCharacters". Inside function parameters, we pass two parameters that are "userChar and userString". The userChar is a char variable that holds single character value and userString is a string variable that holds a string value.
  • In the function, we define an integer variable that is "count". This variable counts the match value and returns its value.
  • To counts values, we define a loop in a loop we use if statement that counts the value that how many time it occurs in a string value and return its value.
  • In the main method, we define these variables ("userChar and userString") and assign values that are "a and Clanguage " and call the function and print function return value.

Samuel loves playing the violin, but he feels embarrassed after a classmate posts a video on a social networking site making fun of him. What step should Samuel take next to stop the cyberbullying? He should report the incident to the social networking site. He should upload his own video making fun of the classmate. He should convince his friends to cyberbully the classmate. He should add the classmate on his friend’s list and follow him.

Answers

Answer:

He should report the incident to the social networking site

Explanation:

Answer is A

I did the test on edginuity

When the same default tracking code is installed on pages with different domains, what will result?

Answers

Answer:

When the same default tracking code is installed on pages with different domains, what will result?

Analytics will associate users and sessions with their respective domains

Explanation:

One of the first things you should know about when using and configuring Analytics is how the domain of the web property you are tracking is defined as a “site” for the purposes of viewing your reports. The default setup of the tracking code is designed to make it easy for you to track traffic to a single domain or subdomain (e.g. a single website URL) that does not share user data with other domains or sub-domains.

You can insert a new slide by pressing the _____ keyboard shortcut keys?

Answers

You can insert a new slide by pressing the [Ctrl+M] keyboard shortcut keys. You have to make sure that you are on the slide then you press the keyboard shortcut stated and it will create new slide for you to edit.

Click on this link toOpens a New Window. bring up a flowchart in a new browser window. Based on this flowchart, would a D-Link 3347 Gateway with an Xbox 360 Multiplayer problem be In Scope or Out Of Scope

Answers

Answer:

The correct question is as follows:

" Click on this link to bring up a flowchart in a new browser window. Based on this flowchart, would a D-Link 3347 Gateway with an Xbox 360 Multiplayer problem be In Scope or Out Of Scope ( see quiz 2 flowchart)". The answer is OUT OF SCOPE.

Explanation:

The flowchart as seen in the attached file shows that for a network related issue, a D-Link Gateway with an Xbox 360 Multiplayer problem would be out of scope. The flowchart clearly indicated that after confirming from the customer if the networking device is a router or gateway, then the next step is to confirm if it is a D-LINK gateway then what type of D-Link in order to confirm if it is 3347 Gateway. After it is confirmed that it is the type 3347 Gateway then we need to confirm from the customer if the it is connected to another smc router and what the issue may be, i.e if it is port forwarding-related or not. Then, we confirm if it is xbox 360 and if the problem is multi-layer game issue, and if this is correct then the issue is regarded as Out of Scope.

See the attachment again for clearer picture of the explanation in the flowchart.

By working in a series of positions with increasing responsibilities, the owner of Stonegate Gardens has built her interest in flowers and plants into _____.

Answers

the answer is a career

have a good day ;)