Answer:
The program in Python is as follows:
print("Enter a character followed by a phrase",end='')
word = input(": ")
char = word[0]
print("Occurrence: "+str((word.count(char))-1))
Explanation:
The prints an instruction to the user on how to input to the system
print("Enter a character followed by a phrase",end='')
This prompts and gets the user for input
word = input(": ")
This extracts the character from the input string
char = word[0]
This counts and prints the number of occurrence of the extracted character
print("Occurrence: "+str((word.count(char))-1))
Flowcharts are used as a prototype of an actual program.
First, I will write out the algorithm; which will be used as an explanation of the flowchart (see attachment for flowchart)
The algorithm is as follows;
1. Start
2. Get input for cost of a meal and cost of a drink;
3. Calculate the total cost for a meal and two drinks
4. Multiply the total cost of a meal and two drinks by 7, to get the weekly cost
5. Display the weekly cost
6. Stop
At the end of the algorithm/flowchart, the weekly cost is calculated and printed.
See attachment for flowchart
Read more about algorithms and flowcharts at:
brainly.com/question/18088572
Answer:
router.
Explanation:
Router is the main connection for a house network to the Internet, the firewall function is combined to the router. Every house network must have a firewall to protect their privacy.
The router provides the hardware firewall while the windows provides the software firewall.So the answer to this question is router.
Answer:
The file system that we shall choose is NTFS file system.
Explanation:
NTFS file system is a file system developed by Microsoft that provides file system encryption. Encryption means to secure our data in such a way such that only authorized person's can have access to it. NTFS file system allows to encrypt data so that all our data is safe from various cyber related thefts thus making our system and data safe from vulnerability of theft.
Encryption does not prevent access to data but the data that is accessed by various agents remains meaningless to all the agents until the user of the data decrypts it.
Right when you pay for subscription to PSPlus the timer starts and after 30 days it will end ( if you got the 1 month subscription) This is the same for 3 month and 1 year subscription