1. Spam
2. Phishing
3. True
Answer:
Option B is the correct answer.
Explanation:
- In the above code, the loop will execute only one time because the loop condition is false and it is the Do-While loop and the property of the Do-while loop is to execute on a single time if the loop condition is false.
- Then the statement "x*=20;" will execute one and gives the result 200 for x variable because this statement means "x=x*20".
- SO the 200 is the answer for the X variable which is described above and it is stated from option B. Hence it is the correct option while the other is not because--
- Option A states that the value is 10 but the value is 200.
- Option C states that this is an infinite loop but the loop is executed one time.
- Option D states that the loop will not be executed but the loop is executed one time
Answer:
Explanation:
The following code is written in Python. It creates a program that keeps printing out a menu allowing the user to create shapes. These shapes are saved in an array called shapes. Once the user decides to exit, it prints all of the shapes in the array along with their total area. The output can be seen in the attached picture below. Due to technical difficulties, I have added the code as a txt file below.
Answer:
jdinwoahdjsioadjsakodsiaohdeioajfnsohfujkdshksyfneowjdfikdjiadjsadhnsuidghaiudbnha
Explanation: