How To Exam?

a knowledge trading engine...


Jawaharlal Nehru Technological University Hyderabad 2007 Bachelor of Computer Science (B Level) c and ds online - Question Paper

Sunday, 30 June 2013 07:00Web

1. What symbol is used to represent input /output operations in a flow hart.
(a) circles
(b) Parellograms
(c) Rectangles
(d) Rectangle with rounded end
2.The character which is used as a statement terminator in a ‘ C ’ program is
(a) :
(b ) ,
(c ) .
(d ) ;
3. The individual units of a C program is known as
(a)program
(b)units
(c)tokens
(d)records
4. To convert a value of 1 data kind to an other data kind in an expression which of the subsequent is used
(a)user described kinds
(b)casting
(c)automatic conversion
(d)type describe
5. C variable can not begin with
(a) An underscore
(b) number
(c) an uppercase letter
(d) a lowercase
6. The operator ++ is called as operator
(a) increment
(b)special increment
(c) decrement
(d)double addition
7. Among the subsequent operators, who seas associatively is right to left
(a) conditional expression
(b) arithmetic operators
(c) logical operators
(d) bitwise operators

8 . The symbol for left shift operator is :
( a) < =
( b ) < <
( c ) <
( d ) < <<
9. Which operator has the highest priority
( a) +
( b ) *
( c ) ( )
( d ) %
10. for ( i = one ; i ! = 5; i ++ ) {printf (“ % d ”, i +2 ) ; }What is the out put ?
( a) 34567
( b) 345
(c ) 357911
(d ) 12345
11. Which operator is also referred asternary operator .
(a) Conditional
(b) Addition
(c) Exponential
(d) Bitwise
12. A do-while loop is useful when we want that the statements with in the loop must be executed .
( a) noneoftheabove
( b ) atleastonce
( c ) morethanonce
( d ) exactlyonce
13. The amount of storage needed for holding elements of the array
Depends on
( a) r u n - t i m e r e q u i r e m e nt
( b ) d a ta ty p e
( c ) s i z e
( d ) d a ta typ e a n d s i z e
14. An array which contains 2 subscripts , to represent every element is called as
(a) 2 dimensional
(b) multi dimensional
(c) 3 dimensional
(d) 1 dimensional
15. main ( ) { char name [5] ; scanf (“ % s ”, name) ; printf(“% s”, name ) ; } if Program is the provided as input , what will be the o/p of the program ;
( a) Progr
( b ) program
( c ) Prog
( d ) Runtime fault
16. The parameters of the called function are called
(a) Casual parameters
(b) true parameters
(c) Usual parameters
(d) Formal parameters
17. output of the subsequent program is # include main ( ) { int a , count; int funct(int count); for(count= 1;count<= 5; + +count ){ a=funct1(count) ; printf(“%d”,a ); } } int funct1(int x ){ int y;y= x *x ;
return(y );}
(a)1491625
(b)36
(c) 25
(d)25916
1 8. provide the out put for the subsequent : # include main( )
{ char arr[10]; int ctr= 0; printf (“Enter a Sting:” ); . gets(arr ); whil e ( arr[ctr]!= \‘0’ ) {ctr++;} printf (“%d”,ctr ) ;}
(a) length of the string only when it is less than nine characters length
(b) String
(c) String length
(d ) length of the string only when its length is 10 chara c t e r s
1 9. Register variables can hold———–values
(a) Float
(b) int
(c) Complex
(d) Double
20.The header file that must be included at the beginning of a C program to use a library function cosis
(a) stdlib.h
(b) math.h
(c) conio.h
(d) dos.h



( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER Jawaharlal Nehru Technological University Hyderabad 2007 Bachelor of Computer Science (B Level) c and ds online - Question Paper