The correction is *regular.
Civil engineers is the correct business
Evaluation-the making of a judgment about the amount, number, or value of something; assessment
Domain Name-Is a websites name (ex-Google)
Authoritativeness-The quality of possessing authority. The quality of trustworthiness and reliability.
Accuracy-the quality or state of being correct or precise
Timeliness-the fact or quality of being done or occurring at a favorable or useful time.
Objectivity-the quality of being objective.
Writing Style and Mechanics-Style has to do with how a piece of writing sounds. Everyone has a style which develops along with their writing.
Paragraph structure: Each paragraph should begin with a topic sentence that provides an overall understanding of the paragraph. ...
Sentence length: Sentences should be kept as short as possible so that their structure is simple and readable.
Graphics-are visual images or designs
Links- is an open source text and graphic web browser with a pull-down menu system.
Answer:
The solution code is written in Python:
- def square(num):
- if type(num).__name__ == 'int':
- sq_num = num * num
- return sq_num
- else:
- return "Invalid input"
-
- print(square(5))
- print(square("Test"))
Explanation:
To ensure only certain type of operation can be applied on a input value, we can check the data type of the input value. For example, we define a function and name it as <em>square</em> which take one input number, <em>num </em>(Line 1).
Before the <em>num</em> can be squared, it goes through a validation mechanism in by setting an if condition (Line 2) to check if the data type of the input number is an integer,<em> int.</em> If so, the<em> num </em>will only be squared otherwise it return an error message (Line 6).
We can test our function by passing value of 5 and "Test" string. We will get program output:
25
Invalid input
Answer: Computer memory is of two basic type – Primary memory(RAM and ROM) and Secondary memory(hard drive,CD,etc.). Random Access Memory (RAM) is primary-volatile memory and Read Only Memory (ROM) is primary-non-volatile memory.
Explanation: Hope this helps :)