I am in AL Qassim region working in a GIS company as a GIS project Manager.
where are you from in KSA..
On Tue, Mar 2, 2010 at 7:40 AM, mc090407138 Salman Mushtaq <mc090407138@vu.edu.pk> wrote:
Dear Fayaz,In which you are in KSA? I am also in KSA and I am in MIT first semester, may be if we are in same city we can do group study from next semester.Regards,SalmanMIT First Semester
On 3/2/10, mc090400714 Mohammad Fayaz <mc090400714@vu.edu.pk> wrote:--
--Dear Fellows..
Can anybody correct me in the following MCQs
Question No: 1 ( Marks: 1 ) - Please choose one
![]()
The first character of a variable name must be an alphabet or
► Underscore
► Digit
► Special character
► Comma
Question No: 2 ( Marks: 1 ) - Please choose one
![]()
Suppose int multi[5][10]; when we are using **multi , it means,
► Single dereferencing
► Single referencing
► Double referencing
► Double dereferencing
Question No: 3 ( Marks: 1 ) - Please choose one
![]()
eof( ), bad( ), good( ), clear( ) all are manipulators.
► True
► False
Question No: 4 ( Marks: 1 ) - Please choose one
![]()
It is possible to return an object from a function through this pointer.
► True
► False
Question No: 5 ( Marks: 1 ) - Please choose one
![]()
Function implementation of friend function must be defined outside the class.
► True
► False
Question No: 6 ( Marks: 1 ) - Please choose one
![]()
The default scope for members of structures is public whereas the default visibility for class members is private.
► True
► False
Question No: 7 ( Marks: 1 ) - Please choose one
![]()
The operator function of << and >> operators are always the member function of a class.
► True
► False
Question No: 8 ( Marks: 1 ) - Please choose one
![]()
How many bytes are occupied by declaring following array of characters?
char str[] = "programming";
► 10
► 11
► 12
► 13
Question No: 9 ( Marks: 1 ) - Please choose one
![]()
What does STL stand for?
► Source template library
► Standard template library
► Stream template library
► Standard temporary library
Question No: 10 ( Marks: 1 ) - Please choose one
![]()
Which of the following array is the most suitable for storing a matrix structure?
► Single-dimensional array
► Two-dimensional array
► Three-dimensional array
► Four-dimensional array
Question No: 11 ( Marks: 1 ) - Please choose one
![]()
What will be the output of following code segment?
main(){
int x = 5 ;
{
int x = 4 ;
cout << x << "," ;
}
cout << x ;
}
► 5, 5
► 4, 4
► 4, 5
► 5, 4
Question No: 12 ( Marks: 1 ) - Please choose one
![]()
Single line comments explaining code would be preceded like in the following example.
► /*
► //
► /
► //*
Question No: 13 ( Marks: 1 ) - Please choose one
![]()
The ________ statement interrupts the flow of control.
► switch
► continue
► goto
► break
Question No: 14 ( Marks: 1 ) - Please choose one
![]()
Which of the following will be the correct function call for function prototype given below?
int func (int &);
► func(int num);
► func(&num);
► func(num);
► func(*num);
Question No: 15 ( Marks: 1 ) - Please choose one
![]()
If there is a symbol (& sign) used with the variable name followed by data type then it refers to _____ and if & is being used with variable name then it refers to _____.
► Address of variable, reference variable
► Reference variable, value of variable
► Reference variable, address of variable
► Address of variable, value of variable
Question No: 16 ( Marks: 1 ) - Please choose one
![]()
Which of the following operator the compiler overloads for objects by default?
► + operator
► - operator
► = operator
► == operator
Question No: 17 ( Marks: 1 ) - Please choose one
![]()
If overloaded plus operator is implemented as member function then which of the following option will be true for the statement given below?
obj3 = obj1 + obj2 ;
► obj1 will be passed as an argument to + operator whereas obj2 will drive the + operator
► obj1 will drive the + operator whereas obj2 will be passed as an argument to + operator
► Both objects (obj1, obj2) will be passed as arguments to the + operator
► Any of the objects (obj1, obj2) can drive the + operator
Question No: 18 ( Marks: 1 ) - Please choose one
![]()
The operator function will be implemented as _____, if both objects (obj1, obj2) are passed as arguments to - operator in the statement given below.
obj3 = obj1 - obj2;
► friend function
► member function
► non-member function
► either non-member or friend function
Question No: 19 ( Marks: 1 ) - Please choose one
![]()
The input/output streams cin and cout are ________ therefore have _______.
► Structures, function
► Objects, member functions
► Functions, objects
► None of the given options
Question No: 20 ( Marks: 1 ) - Please choose one
![]()
What will be the output of following statement?
cout << setfill('0') << setw(7) << 128 ;
► 0000128
► 0128128
► 1280000
► 0012800
Question No: 21 ( Marks: 1 ) - Please choose one
![]()
The static data members of a class will be ________
► shared by objects
► created for each object
► initialized within class
► initialized within main function
Question No: 22 ( Marks: 1 ) - Please choose one
![]()
Which of the following is used for allocating space for static variables?
► Heap
► Static storage area
► Free store
► Stack
Question No: 23 ( Marks: 1 ) - Please choose one
![]()
Templates provide way of abstracting ______________ information.
► type
► data
► method
► access
Question No: 24 ( Marks: 1 ) - Please choose one
![]()
A pointer is a special type of variable that contain ___________
► Memory Address
► Data values
► Both Values and Memory
► None of given of options
Question No: 25 ( Marks: 1 ) - Please choose one
![]()
Which is NOT a protection level provided by classes in C++?
► protected
► hidden
► private
► public
Question No: 26 ( Marks: 1 ) - Please choose one
![]()
Users must not know about ____________________.
► Functions Name within Class
► Class implementation of Functionality and Interfaces
► Methods Functionality with in Class
► None of the given options
Question No: 27 ( Marks: 1 ) - Please choose one
![]()
Assignment operator is used to initialize a newly declared object from existing object.
► True
► False
Question No: 28 ( Marks: 1 ) - Please choose one
![]()
The operator function for << (stream insertion) >> and stream extraction must be
► Member function of class
► Non-member function of class
► Both member and non-member function
► None of the given options
Question No: 29 ( Marks: 1 ) - Please choose one
![]()
A template function must have
► One or more than one arguments
► Only one argument
► Zero arguments
► None of the given options
Question No: 30 ( Marks: 1 ) - Please choose one
![]()
Truth tables are used for analyzing ___________.
► logical expressions
► arithmetic expressions
► both logical and arithmetic expressions
► none of the given options.
--
M.Fayaz
VU MIT Overseas Student
KSA
Please visit www.vuaskari.com, get registered for old papers, quiz, assignments and GDBs...
You received this message because you are subscribed to the Google
Groups "VU_askari" group.
To post to this group, send email to vu_askari@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/vu_askari?hl=en?hl=en
Or contact Admin of the group askarihelpline@gmail.com or askarimithelpline@gmail.com for any problems/ suggestions/ complaints.
--
M.Fayaz
VU MIT Overseas Student
KSA
Please visit www.vuaskari.com, get registered for old papers, quiz, assignments and GDBs...
You received this message because you are subscribed to the Google
Groups "VU_askari" group.
To post to this group, send email to vu_askari@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/vu_askari?hl=en?hl=en
Or contact Admin of the group askarihelpline@gmail.com or askarimithelpline@gmail.com for any problems/ suggestions/ complaints.
--
Please visit www.vuaskari.com, get registered for old papers, quiz, assignments and GDBs...
You received this message because you are subscribed to the Google
Groups "VU_askari" group.
To post to this group, send email to vu_askari@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/vu_askari?hl=en?hl=en
Or contact Admin of the group askarihelpline@gmail.com or askarimithelpline@gmail.com for any problems/ suggestions/ complaints.
--
M.Fayaz
VU MIT Overseas Student
KSA
--
Please visit www.vuaskari.com, get registered for old papers, quiz, assignments and GDBs...
You received this message because you are subscribed to the Google
Groups "VU_askari" group.
To post to this group, send email to vu_askari@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/vu_askari?hl=en?hl=en
Or contact Admin of the group askarihelpline@gmail.com or askarimithelpline@gmail.com for any problems/ suggestions/ complaints.
--
Please visit www.vuaskari.com, get registered for old papers, quiz, assignments and GDBs...
You received this message because you are subscribed to the Google
Groups "VU_askari" group.
To post to this group, send email to vu_askari@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/vu_askari?hl=en?hl=en
Or contact Admin of the group askarihelpline@gmail.com or askarimithelpline@gmail.com for any problems/ suggestions/ complaints.
No comments:
Post a Comment