Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
34Activity
0 of .
Results for:
No results containing your search query
P. 1
C Programming Multiple Choice Single Answer

C Programming Multiple Choice Single Answer

Ratings:

4.75

(1)
|Views: 5,075|Likes:
Published by anon-599890

More info:

Published by: anon-599890 on Jul 29, 2008
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less

07/22/2013

pdf

text

original

 
 
Multiple Choice Single Answer
 
Question In logical AND :-
 Correct Answer Both the conditions have to be TRUEYour Answer Both the conditions have to be TRUE
Question C can be used on
Correct Answer All the aboveYour Answer All the above
Question The simple logic for system specifications is provided by a languages named :-
Correct Answer OCL [ Object Constraint Language ]Your Answer OOPL [ Object oriented Programming Language ]
Question Which of the following is not a character constant
Correct Answer 'Thank You'Your Answer 'Thank You'
Question The method for industrial development of software based on use-case-driven design is
 Correct Answer OOSE [ Object Oriented Software Engineering ]Your Answer OOD [ Object Oriented Design ]
Question How many types are there of arguments?
 Correct Answer twoYour Answer two
Question UML uses :
Correct Answer OCL [ object Constraint Language ]Your Answer FGL [ Forth Generation Language ]
Question When the method is chosen and performed on the data, the object status changes. The static object assumes :-
Correct Answer Dynamic stateYour Answer Dynamic state
Question In sequence diagram, the horizontal arrowhead line shows
Correct Answer Message 'from- to'Your Answer Sequence of events
Question The collaboration diagram shows both :-
Correct Answer Collaboration and sequenceYour Answer Collaboration and sequence
Question In exponential form range of real constant the part that appears before 'e' is called
Correct Answer mantissaYour Answer exponent and mantissa 
Question A function which is called is refered as :-
Correct Answer called functionYour Answer called function
Question Which of the following is a unformatted console I/O function to get a string input?
Correct Answer getsYour Answer gets
 
 
Question Though the names of formal and actual arguments are similar, they are treated as different variables because they are :-
 Correct Answer in different functionsYour Answer in different functions
Question In which type, the values are passed to a function?
 Correct Answer call by value
Question Which of the following is a unformatted console I/O function to display a string?
Correct Answer putsYour Answer puts
Question The collaboration diagram shows interaction between objects and sequence of activities denoted by :-
 Correct Answer MembersYour Answer Methods 
Question The sequence diagram follows the following sequence :-
 Correct Answer Use-case-transaction sequenceYour Answer Use-case-transaction sequence
Question Which type of I/O functions are used to perform I/O operations on various ports?
Correct Answer PortYour Answer Port
Question What is the another name of 'value at address' operator?
Correct Answer indirectionYour Answer indirection
Question If 'return' statement is written without any value, which of the following is used for empty value?
Correct Answer nothing, only 'return;' has to be writtenYour Answer nothing, only 'return;' has to be written
Question C language has been developed at
Correct Answer AT & T Bell Labs, USAYour Answer AT & T Bell Labs, USA
Question Which of the following statements is decision making instruction?
Correct Answer if Your Answer if 
Question Two statements are written within if block without any braces, if condition is true it will :-
Correct Answer execute the first statement in the block and the 2nd will get executed irrespictive of the condition is true or falseYour Answer execute the first statement in the block and the 2nd will get executed irrespictive of the condition is true or false
Question Which function is used to open a file?
 Correct Answer fopenYour Answer fopen
Question When you pass an array as an argument to a function, 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]
Question An array 'num' of integer type for 3 rows and 5 columns should be declared as
 Correct Answer int num[3][5]Your Answer int num[3][5]
Question An _expression contains relational operators, assignement operators, and arithmatic operators. In the absence of parentheses, they will be evaluated in which of the following order?
 Correct Answer Arithmetic, relational, assignmentYour Answer Arithmetic, relational, assignment
Question How many times 'return' statement can be written?
Correct Answer any
 
Your Answer once
Question When array elements are passed to a function with their values, it is called as:-
Correct Answer Call by valueYour Answer Call by value
Question Use case defines and describes what happens in the system in logical order. This is termed as :-
Correct Answer System behaviour Your Answer System analysis
Question In declaration char name[20]; it can hold
Correct Answer 20 charactersYour Answer 20 characters
Question Any C function by default returns which value?
Correct Answer intYour Answer int
Question A function definition is enclosed within :-
Correct Answer { }Your Answer ( )
Question Which is the ASCII value of End of file?
Correct Answer 26Your Answer 26
Question if an integer a = 2 and float b =6, the expression a + b evaluates to
Correct Answer 8.000000Your Answer 8.000000
Question Which of the following is a unformatted console I/O function to display a string?
Correct Answer putsYour Answer putchar 
Question The language used for modeling and documenting system is :-
Correct Answer UMLYour Answer UML
Question The simple logic for system specifications is provided by a languages named :-
Correct Answer OCL [ Object Constraint Language ]Your Answer OOPL [ Object oriented Programming Language ]
Question An array is a collection of :-
Correct Answer The same data type placed next to each other in memoryYour Answer The same data type placed next to each other in memory
Question Which of the following is valid statement to declare a string?
Correct Answer char name[20];Your Answer char name[20];

Activity (34)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
Prathibha S Nair liked this
shaan102 liked this
Rajesh Vhadlure liked this
shia_573702082 liked this
Alok Borkar liked this
Vandana Miyan liked this
neha1_gpta liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->