full solve papers in attachmentView more random threads:
- mth201 mid term current paper spring 18 May 2011
- MGT 603 mid term current paper spring 21 May 2011
- Mgt603 Current Spring 2011 Final Term VU Paper on 15th july...
- MKT624 New Current Final Term Paper - 15 July 2011
- MGT401 Financial Accounting II Current Mid Term Papers May...
- Mgt520 Current Spring 2011 Final Term VU Paper 18 July 2011
- latest MGT101 Financial Accounting final term paper July...
- ECO402 Current Final Term Papers Spring 2011
- MGT101 Latest Mid Term Paper spring 16 May 2011
- MCM301 Communication skills Current Midterm Paper spring...
MIDTERM EXAMINATION
Spring 2011 CS201- Introduction to Programming
Sponsored Links
Question No: 1 ( Marks: 1 ) - Please choose one_______
There are mainly------------------- types of software
Two
Three
Four
Five
Question No: 2 ( Marks: 1 ) - Please choose one____
In C/C++ the #include is called,
Header file
Preprocessor Directive
Statement
Function
Question No: 3 ( Marks: 1 ) - Please choose one___________
&& is------------------ operator.
An arithmetic
Logical
Relational
Unary
Question No: 4 ( Marks: 1 ) - Please choose one_______
In flow chart, the symbol used for decision making is,
Rectangle
Circle
Arrow
Diamond
Question No: 5 ( Marks: 1 ) - Please choose one______
The correct syntax of do-while loop is,
(condition ) while; do { statements; };
{ statements; } do-while ();
while(condition); do { statements; };
do { statements; } while (condition);
Question No: 6 ( Marks: 1 ) - Please choose one___________
C++ views each file as a sequential stream of________________ .
Bytes
Bits
0’s or 1’s
Words
Question No: 7 ( Marks: 1 ) - Please choose one__________________
If the elements of an array are already sorted then the useful search algorithm is,
Linear search
Binary search
Quick search
Random search
Question No: 8 ( Marks: 1 ) - Please choose one___________
The address operator (&) can be used with,
Statement
Expression
Variable
Constant
Question No: 9 ( Marks: 1 ) - Please choose one_______________
When a pointer is incremented, it actually jumps the number of memory addresses
According to data type
1 byte exactly
1 bit exactly
A pointer variable can not be incremented
Question No: 10 ( Marks: 1 ) - Please choose one______________
Each pass through a loop is called a/an
enumeration
iteration
culmination
pass through
Question No: 11 ( Marks: 1 ) - Please choose one_____________
Call by reference mechanism should be used in a program when there is
i. large amount of data to be passed
ii. small amount of data to be passed
iii. need to change the passed data
iv. no need to change the passed data
Choose the appropriate option for the above case.
(i) and (ii) only
(i) and (iii) only
(ii) and (iii) only
(ii) and (iv) only
Question No: 12 ( Marks: 1 ) - Please choose one________
Which of the following is the starting index of an array in C++?
0
1
-1
any number
Question No: 13 ( Marks: 1 ) - Please choose one________
The return type of a function that do not return any value must be __________
int
void
double
float
Question No: 14 ( Marks: 1 ) - Please choose one_________
Which of the following is an extension of header file?
.exe
.txt
.h
There are currently 1 users browsing this thread. (0 members and 1 guests)