Algorithm and Flowcharts MCQs Set-8
This Algorithm and Flowcharts MCQs contains a carefully curated selection of objective questions, as well as multiple choice questions with answers, sourced from reputable reference books, university exams, and question papers. These resources are invaluable for individuals preparing for university exams,competitive exams and interviews
1. Which of the following can be replaced by if
- switch
- while
- continue
- for
✅ Correct Answer: A. switch
- while
- break
- switch
- if
✅ Correct Answer: A. while
3. Which of the following is self contained block of statements that perform a coherent task of some kind?
- function
- loop
- statement
- body of program
✅ Correct Answer: A. function
4. The function gets called when the function name is followed by
- colon
- semicolon
- statement
- braket
✅ Correct Answer: B. semicolon
5. The mechanism used to convey information to the function is the
- Argument
- commands
- loops
- statements
✅ Correct Answer: A. Argument