How To Exam?

a knowledge trading engine...


The Global Open University 2012-1st Year B.Sc Computer Science Global open University of Programming in C - Question Paper

Wednesday, 06 February 2013 07:55Web
d. do statement while statement
14) The 2 statement that can be used
to change the flow of
control are
a. if and switch
b. if and while
c. switch and do while
d. break and continue`
15) The main difference in operation
ranging from an if statement and
a while statement is
a. the while loop body is executed
b. the body of the while statement may be
executed many times, the
c. body of the if statement only once
d. the conditional expression subsequent the
keyboard is evaluated differently
e. all of the above
16) The break statement is used to exit
from
a. a do loop
b. a for loop
c. a switch statement
d. all of the above
17) The traditional way to create an
infinite loop in C is
a. for (ii)...
b. if (=) break;
c. while ( )......
d. all of the above
18) The most common use of the one
dimensional array in C is the
a. string
b. character
c. data
d. function
19) The string related function replied by
C standard library is
a. stripy ( )
b. strata ( )
c. strum
d. All of the above
20) Main ( ) is example of
a. library function
b. user described function
c. header
d. statement
21) In C, structure values can be passed
as arguments to functions by
a. Passing every member of the structure as
an true argument of the function call
b. Passing a copy of the entire structure to
the called function
c. Passing the structure as an argument
using pointers
d. All of the above
22) For accessing a structure element
using a pointer, you must use
a. The dot operator (.)
b. the Pointer operator (&)
c. The pointer operator (*)
d. The arrow operator (->)
23) The array definition int marks
[10][5] describes an array of
a. five tables, 10 rows
b. 10 columns, five rows
c. 10 rows, 15 tables
d. 10 rows, five columns
24) What is the output of the subsequent
'C' program ?
Main()
{
external int a ;
Printf ("\n%d",a);
}
int a = 20;
a. 0
b. 20
c. fault
d. Garbage value
25) What is the output of the subsequent



( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER The Global Open University 2012-1st Year B.Sc Computer Science Global open University of Programming in C - Question Paper