Un-Answered Questions { Programming Languages }

in any language the sound structure of that language depends on its a) character set, input/output function, its control structures b) character set, library functions, input/output functions its control structures c) character set, library functions, control sturctures d) character set, operators, its control structures

670


which is conditional construct a) if statement b) switch statement c) while/for d) goto

729


a construct the"else" part of "if" statement contains anoth "if else" statement is called a) if-else b) else-if-else c) if-else-if-else d) chain if/if-else-if

694


in multiple branching construct "default" case is a) optional b) compulsarily c) it is not include in this construct d) none of the above

621


the constant value in the case label is followed by a a) semicolon b) colon c) braces d) none of the above

713


while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above

723


the statement while(i) puts the entire logic in loop. this loop is called a) indefinite loop b) definite loop c) loop syntax wrong d) none of the above

596


exit () is used to a) exit () terminates the execution of the program itself b) exit () terminates the execution of the loop c) exit () terminates the execution of the block d) none of the above

654


any C program contains only one function, it must be a) void () b) main () c) message () d) abc ()

687


any limit on the number of functions that might be present in a C program a) max 35 functions b) max 50 functions c) no limit d) none of the above

622


C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions

599


any function have arguments one or more OR not . it is compulsary a) any function compulsary have one or more arguments b) any function did not have arguments. It is not compulsary c) it is optional it is not compulsary d) none of the above

637


a function gets called when the function name is followed by a a) semicolon (;) b) period(.) c) ! d) none of the above

856


printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions

624


why use functions a) writing functions avoids rewriting the same code over and over b) using functions it becomes easier to write programs and keep track of what they are doing c) a & b d) none of the above

646