Answer:
I am writing Python program.
string = input("Enter a string: ")
print(string.count(' '))
Explanation:
The first statement takes input string from the user.
input() is used to read the input from the user.
The next statement uses count() function to count the number of times the specified object which is space ' ' hereoccurs in the string.
The print() function is used to return the number of times the space occurs in the string entered by the user.
Output:
Enter a string: How are you doing today?
4
The screenshot of program and its output is attached.
Answer:
SELECT Ssn,
Last_name
FROM employees
WHERE position = supervisor;
Explanation:
SELECT is an SQL query statement that is used to initiate the display of wanted variables.
The names of the variables often succeed the SELECT statement and they are separated by commas.
FROM is an SQL query statement that indicates the table fro which the selected variables be displayed.
WHERE is used to filter your search and return only rows that meet the criteria.
; signifies the end of a query and calls for an execution.
Answer: C
Explanation: Using the process of elimination can rather easily get you the answer. The internet is constantly updating as things happen, so A is true. B is true as well because a simple googling of a question can get you the answers or facts of said question. D applies under the same vain as A. So C is the only possible answer.
Answer:
A. placing a found virus in a secure area on the hard drive
Explanation:
When a file is defected in a computer, quarantining is applied to prevent other parts of the computer. The infected file is isolated and if you let your antivirus software, it can delete the infected file.
Answer:
The advantage and the disadvantage of the relevant query are illustrated in the explanation in the paragraph below.
Explanation:
Advantage:
Disadvantage:
Based on the given description in the question, the maximum cardinality assignment of the customer and vehicle is; one customer to one vehicle mapping
Cardinality is simply defined as the mapping of entities or group of entities to a certain cardinal value. This means that cardinality seeks to highlight the relationship between two objects such as eggs in a crate or shoes on a rack.
Now, in this question, we see that the car dealer sells one car to a customer and tracks the customer and manufacturer for that particular vehicle. This is simply 1 to 1 mapping and as such the maximum cardinality assignment of the customer and vehicle is one (1) to one (1) mapping.
Read more on Mapping at; brainly.com/question/1625866
Answer:
Customer(1) - (1) Vehicle.
Explanation:
Cardinality is the mapping of entities or group of entities to a cardinal value. It tries to show the relationship between two objects like a cups in a shelf or plates in racks.
The car dealer in the question, sells one car to a customer and keep or prioritise the record of the main owner of the acquired vehicle. So the maximum cardinality assignment of the customer and vehicle is one (1) to one (1) mapping.