1) Example of variable declaration:- a) pi = 3.142; b) '==' c) char symbol; 2) Example of constant declaration:- a) mathematical operator b) const float pi = 3.142; c) declare outside of a block 3) What is global variable? a) R&&S b) declare outside of a block c) '==' 4) On line 3, this is call as? a) global variable declaration b) mathematical operator c) char symbol; 5) Example of relational operator? a) '==' b) declare outside of a block c) char symbol; 6) Arithmetic operator also known as? a) declare outside of a block b) char symbol; c) mathematical operator 7) What is R&&S if R=1 , S=0 ? a) 0 b) const float pi = 3.142; c) 1 8) What is R&&S if R=1 , S=1 ? a) const float pi = 3.142; b) 1 c) 0 9) What is the output on line 7 a) declare outside of a block b) First Value is = 3.82 c) const float pi = 3.142; 10) What is the output on line 8 a) mathematical operator b) Second Value is = 3.65 c) First Value is = 3.82

CHAPTER 2 DFC20113 PROGRAMMING FUNDAMENTALS

Leaderboard

Visual style

Options

Switch template

Continue editing: ?