1 ) A function is invoked with a _______ . A ) constructor , B ) begin ( ) , C ) function parameters , D ) function call ,

1 ) A function is invoked with a _______ .

A ) constructor ,

B ) begin ( ) ,

C ) function parameters ,

D ) function call ,

Correct answers : — D ) function call ,

2 ) Which of the following statement is correct ?

A ) Only one parameter of a function can be a default parameter .

B ) Minimum one parameter of a function must be a default parameter .

C ) All the parameters of a function can be default parameters .

D ) No parameter of a function can be default .

Correct answers : — C ) All the parameters of a function can be default parameters .

3 ) The default case is required in the switch selection structure .

A ) True ,

B ) False ,

Correct answers : — B ) False ,

4 ) A variable declared outside any block or function is a ______ variable .

Correct answers : — global .

5 ) Which of the following statement is correct ?

A ) A constructor is called at the time of declaration of an object .

B ) A constructor is called at the time of use of an object .

C ) A constructor is called at the time of declaration of a class .

D ) A constructor is called at the time of use of a class .

Correct answers : — A ) A constructor is called at the time of declaration of an object .

6 ) Variable names must begin with ______ .

A ) # ,

B ) $ ,

C ) Number,

D ) Letter ,

Correct answers : -

See more

Education