20.-Download_CS201-Midterm-Solved-MCQs-with-Reference
20.-Download_CS201-Midterm-Solved-MCQs-with-Reference
com
CS201- Introduction to Programming Complete Solved Paper
MIDTERM
EXAMINATION
Spring 2009
CS201- Introduction to Programming (Session - 1)
Question No: 1 ( Marks: 1 ) - Please choose
one
In C/C++ the #include is
called,
Header file
Preprocessor
Directive
Statement
Function
Question No: 2 ( Marks: 1 ) - Please choose
one
To access the element of two dimensional array we
use,
Single referencing
Single dereferencing
Double
dereferencing
Double referencing
Question No: 3 ( Marks: 1 ) - Please choose
one
Data Size of the file is always _________ the actual size of the
file.
Greater than
Equal to
Less than or equal
to
None of the above
Question No: 4 ( Marks: 1 ) - Please choose
one
When an identifier is declared with keyword const
then,
Its value can be changed during execution.
www.vustudy.com
www.vustudy.com
Its value can not be changed
Its value can be changed with arithmetic
operator
Its value can be overwritten
Question No: 5 ( Marks: 1 ) - Please choose
one
In C/C++ if we define an array of size eight (8) i.e. int Arr [8]; then the
last
element of this array will be stored at,
Arr[0]
Arr[8]
Arr[7]
Arr[-1]
Question No: 6 ( Marks: 1 ) - Please choose one
If it is required to copy an array to another array
then,
Both arrays must be of the same size and data type
Both arrays may be of different size
Both arrays may be of different data type
Both arrays may be of different size and
type
www.vustudy.com