Professional Documents
Culture Documents
True/False
Question A function can return only one value at a time.
Correct Answer True
Your Answer True
True/False
Question argv is an array of pointers.
Correct Answer True
Your Answer True
True/False
Question Comments cannot be nested.
Correct Answer True
Your Answer True
True/False
Question When array elements are passed to a function with call by reference, function has
pointer arguments.
Correct Answer True
Your Answer True
Multiple Choice Single Answer
Question When the method is chosen and performed on the data, the object status changes.
The static object assumes :-
Correct Answer Dynamic state
Your Answer Dynamic state
True/False
Question A constant is a quantity that doesn't change
Correct Answer True
Your Answer True
True/False
Question The interaction diagrams are not good enough if behaviour of object is conditional
and gets into a loop.
Correct Answer True
Your Answer False
True/False
Question The control instructions determine the 'flow of control' in a program.
Correct Answer True
Your Answer True
\b backspace bakslash
\t tab tab
True/False
Question Functions are written to avoid rewriting the same section of code which requires
oftenly.
Correct Answer True
Your Answer True
addition(int,int); return an integer value which passes 2 integer arguments Both arguments of float
type which returns real value.
addition(); an integer function with no arguments an integer function with no arguments
float addition(int, float); a float function having integer and float type arguments a float function
having integer and float type arguments
char addition(char,char); a char function having 2 arguments of char type a char function having 2
arguments of char type
True/False
Question In collaboration diagrams, the connection between objects is shown.
Correct Answer True
Your Answer True
True/False
Question Logical operators cannot be used with 'do' loop.
Correct Answer False
Your Answer False