Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
When is a switch statement better than multiple if statements
1. Rajon Bardhan
Lecturer
Dept. of CSE , SEU Page 1
1. When is a switch statement better than multiple if statements?
2. Is a default casenecessary in a switch statement?
3. What are the differences between break and continue keyword?
4. What are the differences between for, do while and while loop?
5. What are global and local variables?
6. What is pass by value in functions?
7. What are the loop control statements?
8. What are a finite and an infinite loop?
9. Can one function call another function?
10. What is a constant?