Preview

Computer Guess Paper for C++ and Java

Satisfactory Essays
Open Document
Open Document
694 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Computer Guess Paper for C++ and Java
Paper I
Shree M. & N. Virani Science College
BCA III || C++ and Object Oriented Programming Time : 2.5 Hours Marks : 70

Section I
Q – 1 Multiple Choice Questions 20 Marks 1) What punctuation is used to signal the beginning and end of code blocks? A) { } B) -> and 5) The wrapping up of data and functions into a single unit is called____________ A) Data Binding B) Encapsulation C) Abstraction D) None 6) Dynamic binding is also known as ___ A) Early binding B) Static binding C) Late binding D) None 7) In C++, a function contained within a class is called _________ A) Non-member function B) Member function C)Static function D) None 8) _________ provides an alias for a previously defined variable. A) Variable B) Reference variable C) Pointer variable D) none 9) A const modifier defaults to ______. A) Float B) int C) char D) double 10) When a function is declared _________ the compiler replaces the function call with the respective function code. A) Static B) Const C) inline D) private 11) The keywords private and public are known as __________. A) Visibility labels B) Mode C) class members D) functions 12) ________ is initialized to zero when the first object of its class is created. No other initialization is permitted. A) Data members B) Member function C) Static function D) static data members 13) Memory space for _________ is allocated separately for each object. A) Functions B) Member variables C) Member functions D) none of these 14) __________ Function has access to the private members of the class. A) Friend B) Static C) Const D) none of these 15) ________ is a special member function whose task is to initialize the object of its class. A) Destructor B) friend function C) Constructor D) none of these

You May Also Find These Documents Helpful