GATE-Programming Methodology Questions and Answers
Practice ModeShowing 10 of 105 questions
Q1
Which of the following are good reasons to use an object oriented language ?
Answer: Option D
Q2
When a language has the capability to produce new data types, it is called
Answer: Option A
Q3
Dividing a program into functions
Answer: Option D
Q4
A variable defined within a block is visible
Answer: Option B
Q5
In object orient programming classes are useful because they
Answer: Option D
Q6
Operator overloading is
Answer: Option D
Q7
Assume a class C with obj1,obj2, and obj3. For the statement ofj3=1 - obj2 to work correctly, the overloaded operator must
Answer: Option D
Q8
Inheritance is a way to
Answer: Option C
Q9
In object oriented programming, advantages of inheritance incldude
Answer: Option D
Q10
Redirection redirects
Answer: Option B