Podcast
Questions and Answers
Which type of statement is used to specify the logic being followed within a program?
Which type of statement is used to specify the logic being followed within a program?
- Declaration statement
- Comment statement (correct)
- Assignment statement
- Input statement
What is the purpose of an assignment statement?
What is the purpose of an assignment statement?
- To declare variables
- To input data values
- To store a constant in a variable (correct)
- To specify program logic
Which statement declares a variable according to the data type it stores?
Which statement declares a variable according to the data type it stores?
- Comment statement
- Assignment statement
- Declaration statement (correct)
- Input statement
What does an input statement allow users to do?
What does an input statement allow users to do?
Which type of statement is used to display the program's output?
Which type of statement is used to display the program's output?