You are on page 1of 9

www.oqp.

in
SCDL- PGDBA- Information Technology C Programming

Select The Blank Question Operation between an integer and real always yields ________ result Correct Answer a real Your Answer a real Multiple Choice Multiple Answer Question Which operators are used to access the individual structure element. Correct Answer . , -> Your Answer . , -> Multiple Choice Multiple Answer Question Which of the following fuctions require a single string as a parameter? Correct Answer strlen , strlwr , strupr Your Answer strlen , strlwr , strupr True/False Question If the file is absent, fopen() returns NULL. 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 False Multiple Choice Single Answer Question If the function message() is to be called, which of the following statements is correct? Correct Answer message();

1

For more solved assignments, Assignment and project help – visit – www.oqp.in or www.onlinequestionpapers.com

call by reference True/False Question When array is declared with rows and columns it is called as 2-D i.in or www.1 Call by value in function Passing values of array elements Passing values of array elements Call by reference in function Passing addressess of array elements Passing addressess of array elements Base address Address of 1st element in an array Address of 1st element in an array Multiple Choice Multiple Answer Question Which of the following are valid types of function calls? Correct Answer call by value .oqp.www.com . Select The Blank Question ________ function is used to remove any data remaining in the buffer.1 Always size of array . Correct Answer fflush Your Answer flush Match The Following Question Correct Answer Your Answer Address of the last element Always size of array . Assignment and project help – visit – www.oqp.e. two dimensional array Correct Answer True Your Answer True Multiple Choice Multiple Answer Question 2 For more solved assignments.PGDBA. call by reference Your Answer call by value .Information Technology C Programming Your Answer message().onlinequestionpapers.in SCDL.

argv Your Answer argc . Correct Answer True Your Answer True Multiple Choice Single Answer Question The break statement is used to exit from:Correct Answer A for loop Your Answer A for loop 3 For more solved assignments. arg1 True/False Question scanf is used to accept the input from the user.in SCDL.oqp.www. Correct Answer Sequence Control Your Answer Sequence Control Multiple Choice Multiple Answer Question The command line arguments are :Correct Answer argc .} Correct Answer d. 100 True/False Question strupr() function is used to convert a string into upper case. Assignment and project help – visit – www. c * f).0 Your Answer d . Correct Answer True Your Answer True Select The Blank Question ________ instruction ensures that the instructions are executed in the same order in which they appear in the program. printf("%d".oqp.onlinequestionpapers. c).Information Technology C Programming What will be the output of the following main(){ char c='d'.float f=1.com .PGDBA. printf("%c".in or www. argv .

Information Technology C Programming Multiple Choice Multiple Answer Question Which of the following fuctions require number of characters as one of the parameters? Correct Answer strncmp . printf("%d".in SCDL. r+ Your Answer r .com . puts(strcpy(n.PGDBA. strncpy Multiple Choice Multiple Answer Question Which of the following modes are used to read from a file? Correct Answer r .name)).oqp.oqp. strnset . Assignment and project help – visit – www.in or www. strnset .strcmp(n.n[10]. strncpy Your Answer strncmp .name)).} Correct Answer 4 For more solved assignments.onlinequestionpapers. r+ Multiple Choice Single Answer Question In which type.www. the values are passed to a function? Correct Answer call by value Your Answer call by value Multiple Choice Single Answer Question Integer can have maximum value Correct Answer 32767 Your Answer 32767 Multiple Choice Single Answer Question Which type of I/O functions are used to receive input from keyboard? Correct Answer Console Your Answer Console Multiple Choice Multiple Answer Question What will be the output? main(){ char name[10]="String".

what actually gets passed? Correct Answer Address of the first element of the array [base address] Your Answer Address of the first element of the array [base address] Select The Blank Question Break / continue is generally associated with ________. 1 Select The Blank Question There are as many as ________ odd operators in C which can affect the evaluation of an expession in subtle and unexpected ways Correct Answer 45 Your Answer 45 Multiple Choice Single Answer Question Which of the following is valid statement to declare a string? Correct Answer char name[20].Information Technology C Programming String . Correct Answer True Your Answer True Select The Blank 5 For more solved assignments.www. Your Answer char name[20].oqp.oqp.in SCDL. 0 Your Answer String .onlinequestionpapers. Multiple Choice Single Answer Question When you pass an array as an argument to a function. Assignment and project help – visit – www. Correct Answer if Your Answer for True/False Question A value of object changes when event occurs.PGDBA.in or www.com .

PGDBA. and arithmatic operators.com . they will be evaluated in which of the following order? Correct Answer 6 For more solved assignments. Assignment and project help – visit – www.oqp. Correct Answer ASCII Your Answer ASCII Select The Blank Question ________ function appends first n characters of a string at the end of another Correct Answer strncat Your Answer strncat Multiple Choice Single Answer Question The collaboration diagram shows interaction between objects and sequence of activities denoted by :Correct Answer Members Your Answer Members Multiple Choice Single Answer Question Which of the following is correct application of a structure. Correct Answer interacting with the mouse Your Answer uninstalling a mouse Multiple Choice Single Answer Question An expression contains relational operators.Information Technology C Programming Question Booch emphasises development of mechanisms with ________ model. Correct Answer Data Your Answer Data Select The Blank Question Arithmatic operations can be performed on characters where their ________ value is used. assignement operators. In the absence of parentheses.oqp.onlinequestionpapers.in SCDL.in or www.www.

relational. Correct Answer True Your Answer True Select The Blank 7 For more solved assignments.in or www. True/False Question There are basically 5 types of instructions in C Correct Answer False Your Answer True Select The Blank Question ________ enable us to specify the order in which the various instructions in a program are to be executed by the computer.oqp.onlinequestionpapers. a character pointer a character pointer %u a format specifier of address of the value.Information Technology C Programming Arithmetic.www. an integer pointer an integer pointer char *ch.com .PGDBA.in SCDL. assignment Your Answer Arithmetic. assignment Match The Following Question Correct Answer Your Answer contiguous memory structure elements structure elements int *a.oqp. Assignment and project help – visit – www. relational. Correct Answer Control Instructions Your Answer Control Instructions True/False Question All structure elements are stored in contiguous memory locations. a format specifier of address of the value.

Correct Answer Static Your Answer Logical Multiple Choice Single Answer Question Name the header file in which FILE is defined :Correct Answer stdio. }printf ("\nI thought one wears a suite") . Correct Answer braces Your Answer braces Multiple Choice Multiple Answer Question What will be the output of the following main(){ char c='ab'.h Multiple Choice Multiple Answer Question What will be the output? main ( ) { int suite = 3 . c+d).oqp.oqp. I thought one wears a suite Your Answer Heart . I thought one wears a suite Multiple Choice Multiple Answer Question What will be the output of the following main(){ int a = 1.(a + f ) * 100). default :printf( "\nHeart" ) .h Your Answer conio. } Correct Answer Heart . printf("%d". printf(%f".float f=1.} 8 For more solved assignments.d='A'. a * f).} Correct Answer 162 . printf("%d". case 2:printf( "\nSpade" ) .onlinequestionpapers.in or www. printf("%d". Assignment and project help – visit – www.www. printf("%f".in SCDL. 324 Your Answer 162 .PGDBA.2*(c+d)).com . 324 Select The Blank Question In analytical phase ________ diagrams are achieved representing a system. a * f).Information Technology C Programming Question The set of statements belonging to a function are enclosed within a pair of ________. switch (suite) { case 1:printf( "\nDiamonds" ) .

200. 1.com . Correct Answer False Your Answer True True/False Question While passing an array elements to a function by call by value we pass values of array elements to the function Correct Answer True Your Answer True 9 For more solved assignments.000000 Multiple Choice Single Answer Question A state chart diagram shows two states.PGDBA.Information Technology C Programming Correct Answer 0 . one of the state and the other of Correct Answer Transition between two states Your Answer Transition between two states Multiple Choice Single Answer Question In this the condition is specified at the end of the loop :Correct Answer do Your Answer do True/False Question The return statement should present at the end of the called function.000000 .oqp.oqp.in or www.in SCDL.www. 1.000000 . Assignment and project help – visit – www. 200.000000 Your Answer 0 .onlinequestionpapers.