Answer:
Output: yes
Explanation:
First if statement is satisfied, since numA==2, so yes is printed.
The elif statement is skipped altogether, since elif statements are only evaluated, when the statement above if false, which it is not.
Answer:
3. Base (<em>under line</em>): usually a layer of salad greens that line the plate or bowl in which the salad will be served.
2. Body (<em>main part</em>): consists of the main ingredients.
1. Garnish: enhances the appearance while also complementing the overall taste; must be edible.
Dressing: liquid/ semi-liquid added to the body.
Explanation:
The correct option is 3.
When an array is passed as a parameter to a function, it is usually passed as a reference parameter. What is actually passed is the address of its first element. Since arrays are typically passed by reference, it means that if the function changes the value of an element in an array, then the corresponding actual array will change that element. To declare an array of real values as parameter one has to specify the parameters.
Answer:
I. Algorithms can be written using pseudocode.
II. Algorithms can be visualized using flowcharts.
Explanation:
An algorithm can be defined as a standard formula or procedures which comprises of set of finite steps or instructions for solving a problem on a computer. The time complexity is a measure of the amount of time required by an algorithm to run till its completion of the task with respect to the length of the input.
The two statements which are true about algorithms are;
I. Algorithms can be written using pseudocode. A pseudocode refers to the description of the steps contained in an algorithm using a plain or natural language.
II. Algorithms can be visualized using flowcharts. A flowchart can be defined as a graphical representation of an algorithm for a process or workflow.
Basically, a flowchart make use of standard symbols such as arrows, rectangle, diamond and an oval to graphically represent the steps associated with a system, process or workflow sequentially i.e from the beginning (start) to the end (finish).
There are several advantages using digital signal over an analog signal. Digital signals are more secure, and they do not get damaged by noise. They allow the signals transmitted over a lengthy distance. By using these signals, we can translate the messages, audio, video into device language.