A switch construct can have multiple otherwise A if construct can have multiple
ID: 3837800 • Letter: A
Question
Explanation / Answer
1. False
Switch construct will have multiple case statements.
2. True
If block can have multiple else if classes.
3.True
Switch Statement can be used in if class.
4. False
5.False
For loop is used when we have known the number of iterations and while loop is used when we don't know the number of iterations. So it gives a problem while converting from for to while loop.
6. True
User defined functions can call itself. These are called recursive functions.
7. True
We can use variables created by other script by referring to that script. Those variables need to be public in that script.
8. False
Break statement can cause to break only that loop which means the execution will come out from the inner loop. It doesn't break the total loops.
9. False
Continue statement makes the execution will break the execution of the body of loop and then follow the next iteration of the loop. It is used inside the loops only.
10. Flase
It can be any datatype.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.