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

jan, 2012
Duration: two Hours
Course: B.Sc. Computer Science
Year: 1st Year
Paper Name: Programming in C

ATTEMPT ALL THE beneath MENTIONED QUESTIONS:
1) In C, square bracket 0 are used in
a. Functions
b. Arrays
c. Statements
d. All of the above
2) Almost every C program starts with
the statement
a. Main ()
b. Print f ()
c. #include
d. SCAN()
3) The braces that surround the code in a
C program
a. Show what code goes in a particular
function
b. delimit a part of
c. Separate the codes code from the constant
d. Separate the source file from the subject
file
4) A single character input from the
keyboard can found baby using the
functions
a. print ( )
b. get char ( )
c. put char ( )
d. Scan ( )
5) The function scan ( ) reads
a. a single character
b. character strings
c. any possible variable kind
d. any possible number
6) An identifier in C
a. is a name of thing such as variable and
function
b. is made up of letters numerals and the
underscore
c. can find both upper case and lower case
d. all of the above
7) Declaring variables is advantageous
because it
a. avoids fault from misspelled variable
names
b. helps the liner work efficiently
c. simplifies the writing of very short
programs
d. all of the above
8) The operator <> are
a. assignment operators
b. relational operators
c. logical operators
d. bitwise logical operators
9) Which of the subsequent scan ( )
statements is used?
a. scan ("%f, float-carnage);
b. scan ("%d & sum")
c. scanf ("%d", & int-varname)
d. scan ("%d',& number)
10) The meaning of conversion character
h for data input is
a. data item is an unsigned decimal integer
b. data item is a short integer
c. data item is a hexadecimal integer
d. data item is a string subsequent by a white
space character
11) The conversion character (s) for data
input means that the
data item is
a. an unsigned decimal integer
b. a short integer
c. a hexadecimal integer
d. a string followed by a white space
character
12) Any program in C has access to three
standard files
a. standard input file, standard output file,
standard fault file.
b. stein, stout, steer
c. keyboarded, screen, screen
d. all of the above
13) The general form of do while
statements
a. do expression while statement
b. eddo while expression
c. do statement while (expression)



( 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