Follow by Email

Saturday, 3 November 2012

HAL previous year question paper


1.Pascal, BASIC and C are programming languages, while C++ is an _________ language.
a)Assembly language
b)Procedural
c)Object-oriented programming-Answer
d)Programming

2.Which of the following are good reasons to use an object-oriented language?
a)You can define your own data types -Answer
b)Program statements are simple than in procedural language
c)An OO Program can be taught to correct its own errors
d)It’s easier to conceptualize an OO program-Answer

3.When a language has the capability to produce new data types, it is said to be
a)reprehensible
b)encapsulated
c)overloaded
d)extensible-Answer

4.A normal C++ operator that acts in special ways on newly defined data types is said to be
a)glorified
b)encapsulated
c)classified
d)overloaded-Answer

5.Memorizing the new terms used in C++ is
a)critically important
b)something you can return to later-Answer
c)the key to wealth and success
d)completely irrelevant