Answer:
A. The function definition must appear before the function is called
Explanation:
Given
The above lines of code
Required
Determine the error in the program
In python, functions has be defined before they are called but in this case (of the given program), the function is called before it was defined and this will definitely result in an error;
<em>Hence, option A answers the question</em>
The correct sequence of the program is as follows:
<em>def evenOdd(n):
</em>
<em> if n % 2 == 0:
</em>
<em> return "even"
</em>
<em> return "odd"
</em>
<em>num = int(input("Enter an integer: "))
</em>
<em>print("The integer is", evenOdd(num))
</em>
<em />
Answer:
Consistency
Explanation:
Bi integrating marketing communications, we can infer that the different brands working under Excel Enterprises have the same basic design, so the marketing department can sell their features easily, without having to create different campaigns or protocols for each individual product.
This homogeneous design then turns intuitive for the user, a textbook definition of consistent design, and the tone is maintained through the different brands.
Just like when you move from Microsoft's Excel to Microsoft's Word, you know the usage of each program is different, but the layout is the same, allowing you to understand the basics of the UX (user interface) of one, by understanding the other.
My guess is d but I’m not positive
a computer program is a collection of instructions that can be executed by a computer to perform a specific task. A computer program is usually written by a computer programmer in a programming language.