Answer:
Sequential Operations: Suppose we want to switch on the LED, fan and a PC. We can do it one by one and in a sequence. And it means step by step in a proper sequence, and that which is mentioned.
Conditional Operation: Suppose we are given a condition that if LED is switched on then you cannot switch on the PC. Such type is known as the conditional operation.
Iterative Operations: If you the number of times a given code is to be looped, or iterative, then we are dealing with the iterative operations.
In pseudo-code we represent them as:
Start
PC_State= Open
LED_State =Open
fan_State =Open
Stop
Condition Statement
If LED= Open
PC=Blocked
Iterative Statement:
For i =1 to 3
Open Device No <i>
And this way the three are different in everyday life, and hence in pseudocode.
Explanation:
Please check the answer section.
You open a new tab for word then close a other document
Answer:
name1 + "," + name2 + "," + name3 // concatenation of the three values
Explanation:
Following are the description of statement
- The "+" operator is used for the concatenation purpose of the three str values.
- In the given question the name1 variable contains "Neville" ,name2 contains "Dean" and name3 contains "Seamus".
- Firstly we have given the name1 after that give the comma then we use "+" for the concatenation purpose and give the name2 again we will comma and finally, we will give the variable name3 by using "+" operator.