Answer:
The solution code is written in Python.
- fileName = input("Enter file name: ")
- target = input("Enter target character: ")
-
- with open(fileName, "r")as reader:
- content = reader.read()
- print(content.count(target))
Explanation:
Firstly, use <em>input() </em>function to prompt user for a file name. (Line 1)
Next, we use input() function again to prompt user input a target character (Line 2)
Create a reader object and user <em>read() </em>method to copy entire texts from to the variable<em> content </em>(Line 4 - 5).
At last we can get the number of times the specified character appears in the file using the Python string built-in method <em>count() </em>(Line 6)
QUESTION NO. 1 -
A. Cloud computing.
QUESTION NO. 2 -
C. Social networking.
QUESTION NO. 3 -
D. Task list.
QUESTION NO. 4 -
D. Powerpoint.
QUESTION NO. 5 -
B. Sandie should share the document in OneDrive and give her sister permission to edit the document.
QUESTION NO. 6 -
C. The design and arrangement of items for efficiency and safety.
Answer:
Zahra needs to select Contacts.
Explanation:
Zahra has already chosen application parts as a template category. And from the QuickStart table, it looks quite clear that Contacts is at the same level in software as issues, Tasks, and Users. And She needs to add all clients' contacts. Hence, she only needs to select the Contacts, and further, she needs to list all the clients' names and contact numbers which will definitely be shown as columns of the table which Contacts will create.
The default alignment in Word is left-justified.