Login
Register
@
Dark Mode
Profile
Edit my Profile
Messages
My favorites
Register
Activity
Q&A
Questions
Unanswered
Tags
Subjects
Users
Ask
Previous Years
Blogs
New Blog
Exams
Dark Mode
Recent questions and answers in Object Oriented Programming
0
votes
2
answers
1
UGC NET CSE | June 2005 | Part 2 | Question: 13
The data hiding is taken care by : Abstraction Encapsulation Modularity Inheritance
ajayraho
answered
in
Object Oriented Programming
Mar 1
by
ajayraho
783
views
ugcnetcse-june2005-paper2
object-oriented-programming
non-gate
0
votes
0
answers
2
Programming and DS
Trying out a code to get all the possible marks that can be obtained in a GATE paper. Assumptions taken : 1) All questions are MCQs (all questions have a chance of negative marking) 2) 30 1-mark questions, 35 2-mark questions 3) Static array without any ... a[i]); return 0; } The console doesn't output anything. Any suggestions on where might I be going wrong/ the error lies?
Mrityudoot
asked
in
Object Oriented Programming
Feb 26
by
Mrityudoot
94
views
programming-in-c
output
programming
0
votes
4
answers
3
C++
ninjavin2001
answered
in
Object Oriented Programming
Nov 3, 2023
by
ninjavin2001
363
views
non-gate
object-oriented-programming
0
votes
1
answer
4
KPGCET-CSE-2019-10
Object-oriented paradigm is used in the analysis stage of SDLC to Structure the behavioural part of the business process Design the structural part of Computer memory Design the object-oriented programming language Design the structure of the database.
manasi123
answered
in
Object Oriented Programming
Nov 18, 2022
by
manasi123
738
views
kpgcet-cse-2019
non-gate
object-oriented-programming
0
votes
1
answer
5
UGC NET CSE | December 2004 | Part 2 | Question: 15
Polymorphism means : A template function Runtime type identification within a class hierarchy Another name for operator overloading Virtual inheritance
Agarshiv07
answered
in
Object Oriented Programming
Oct 28, 2022
by
Agarshiv07
734
views
ugcnetcse-dec2004-paper2
0
votes
1
answer
6
Programming Quiz
Which one of the following features is supported by 𝐶 ++ but not by JAVA ? (a) Encapsulation (b) Multiple inheritance (c) Concurrency (d) Garbage collection
Genius
answered
in
Object Oriented Programming
Oct 8, 2022
by
Genius
928
views
object-oriented-programming
0
votes
1
answer
7
Oops Quiz
Which one of the following fundamental features of the OOPs is not supported by 𝐶++? (a) Persistence (b) Delegation (c) Genericity (d) Data abstraction
Abhrajyoti00
answered
in
Object Oriented Programming
Oct 8, 2022
by
Abhrajyoti00
734
views
object-oriented-programming
non-gate
0
votes
1
answer
8
PGT CS oops
In context of C++, which of the following is valid statement ? (1) Friend function of class is always a member function of that class. (2) Value of static data member cannot be manipulated once assigned. (3) Static data member of a class can be ... member function of that class. (4) Keywords private, protected and public may appear in any order and any number of times in a class
Awe111
answered
in
Object Oriented Programming
Nov 16, 2021
by
Awe111
699
views
oops
5
votes
4
answers
9
ISRO2017-44
Which of the following is associated with objects? State Behavior Identity All of the above
aman-1
answered
in
Object Oriented Programming
Oct 6, 2021
by
aman-1
4.5k
views
isro2017
object-oriented-programming
non-gate
4
votes
3
answers
10
ISRO2009-33
The feature in object-oriented programming that allows the same operation to be carried out differently, depending on the object, is Inheritance Polymorphism Overfunctioning Overriding
Siddarth
answered
in
Object Oriented Programming
Jul 15, 2021
by
Siddarth
6.9k
views
isro2009
object-oriented-programming
non-gate
0
votes
3
answers
11
UGC NET CSE | January 2017 | Part 2 | Question: 14
Which of the following operators cannot be overloaded in $\textsf{C/C++}$ ? Bitwise right shift assignment Address of Indirection Structure reference
vineetkumarmourya
answered
in
Object Oriented Programming
May 18, 2021
by
vineetkumarmourya
2.0k
views
ugcnetjan2017ii
object-oriented-programming
1
vote
1
answer
12
NIELIT Scientific Assistant A 2020 November: 49
During exception handling, which of the following statements hold true? Single try can have multiple associated catch with it A single Catch can have multiple try associated with it Finally block execute only when the class is inherited For a given exception, multiple catch can execute
Asim Siddiqui 4
answered
in
Object Oriented Programming
Mar 12, 2021
by
Asim Siddiqui 4
607
views
nielit-sta-2020
object-oriented-programming
0
votes
0
answers
13
UGC NET CSE | October 2020 | Part 2 | Question: 12
Consider the following recursive Java function $f$ that takes two long arguments and returns a float value: public static float f (long m, long n) { float result = (float)m / (float)n; if (m < 0 || n<0) return 0.0f; else result -=f(m*2, ... } Which of the following real values best approximates the value of $f(1,3)$? $0.2$ $0.4$ $0.6$ $0.8$
go_editor
asked
in
Object Oriented Programming
Nov 20, 2020
by
go_editor
1.3k
views
ugcnetcse-oct2020-paper2
non-gate
object-oriented-programming
0
votes
1
answer
14
KPGCET-CSE-2019-7
The diagramming language suitable for object-oriented paradigm is Data Flow Diagramming Language Entity-Relationship Language Object-Oriented Language Unified Modeling Language
abhishek tiwary
answered
in
Object Oriented Programming
Nov 16, 2020
by
abhishek tiwary
1.1k
views
kpgcet-cse-2019
non-gate
object-oriented-programming
0
votes
1
answer
15
UGC NET CSE | December 2007 | Part 2 | Question: 14
Which of the following is not true in C++ ? Private elements of a base class are not accessible by members of its derived class. Protected elements of base class are not accessible by members of its derived class. ... When base class access specified is Public , protected elements of a base class become protected members of its derived class.
nocturnal123
answered
in
Object Oriented Programming
Aug 23, 2020
by
nocturnal123
889
views
ugcnetcse-dec2007-paper2
1
vote
2
answers
16
which can not be declared static
which of the following can not be declared static ? a)class b)object c)functions d)member variables
the_psycho_scientist
answered
in
Object Oriented Programming
Aug 9, 2020
by
the_psycho_scientist
2.7k
views
0
votes
1
answer
17
UGC NET CSE | June 2008 | Part 2 | Question: 15
Which of the following is true? A "static" member of a class cannot be inherited by its derived class. A "static" member of a class can be initialized only within the class it is a member of. A " ... class is actually a global element, it does not require a class/object qualifier to access it independently of class/object.
the_psycho_scientist
answered
in
Others
Aug 9, 2020
by
the_psycho_scientist
99
views
ugcnetcse-june2008-paper2
1
vote
6
answers
18
UGC NET CSE | July 2018 | Part 2 | Question: 5
Given below are three implementations of the $\text{swap()}$ function in $\text{C++}$ ... $\text{(a)}$ only $\text{(b)}$ only $\text{(c)}$ only $\text{(b)}$ and $\text{(c)}$ only
the_psycho_scientist
answered
in
Object Oriented Programming
Aug 9, 2020
by
the_psycho_scientist
4.6k
views
ugcnetcse-july2018-paper2
object-oriented-programming
0
votes
3
answers
19
UGC NET CSE | January 2017 | Part 3 | Question: 38
Given the array of integers ‘array’ shown below: 13 7 27 2 18 33 9 11 22 8 What is the output of the following JAVA statements? int[] p = new int [10]; int[] q = new int [10]; for (int k=0; k< 10; k++) p[k]=array [k]; q=p; p[4]=20; System.out.println(array[4]+":"+q[4]); 20:20 18:18 18:20 20:18
the_psycho_scientist
answered
in
Object Oriented Programming
Aug 9, 2020
by
the_psycho_scientist
2.8k
views
ugcnetcse-jan2017-paper3
object-oriented-programming
java
0
votes
1
answer
20
UGC NET CSE | December 2007 | Part 2 | Question: 15
Which of the following is true of constructor function in C++ ? A class must have at least one constructor. A constructor is a unique function which cannot be overloaded. A constructor function must be invoked with the object name. A constructor function is automatically invoked when an object is created.
the_psycho_scientist
answered
in
Object Oriented Programming
Aug 9, 2020
by
the_psycho_scientist
2.6k
views
ugcnetcse-dec2007-paper2
1
vote
2
answers
21
NIELIT 2017 July Scientist B (IT) - Section B: 40
Give the output #include<iostream> using namespace std; class Base1{ public: ~Base1() {cout<<"Base1's destructor"<<endl;} }; class Base2 { public: ~Base2(){cout<<"Base2's ... Derived's Destructor Derived's Destructor Base$2$'s destructor Base$1$'s destructor Derived's Destructor Compiler Dependent
the_psycho_scientist
answered
in
Object Oriented Programming
Aug 9, 2020
by
the_psycho_scientist
1.6k
views
nielit2017july-scientistb-it
non-gate
object-oriented-programming
0
votes
2
answers
22
NIELIT 2017 July Scientist B (IT) - Section B: 39
Give the output #include<iostream> using namespace std; class Base { public: int x,y; public: Base(int i, int j){x=i;y=j;} }; class Derived:public Base { public: Derived(int i,int j):x(i),y(j){} void print(){cout<< x << ... int main(void) { Derived q(10,10); q.print(); return 0; } $10\:10$ Compiler Error $0\:0$ None of the option
the_psycho_scientist
answered
in
Object Oriented Programming
Aug 9, 2020
by
the_psycho_scientist
1.4k
views
nielit2017july-scientistb-it
non-gate
object-oriented-programming
0
votes
1
answer
23
NIELIT 2016 DEC Scientist B (CS) - Section B: 30
The IOS class member function used for formatting IO is width(), precision(), read() width(), precision(), setf() getch(), width(), Io() unsetf() ,setf(), write()
Ollie
answered
in
Object Oriented Programming
Jun 10, 2020
by
Ollie
1.3k
views
nielit2016dec-scientistb-cs
non-gate
object-oriented-programming
0
votes
1
answer
24
NIELIT 2017 OCT Scientific Assistant A (IT) - Section B: 24
Which of the following object types are generally autonomous, meaning that they can exhibit some behavior without being operated upon by another object. Passive Active Both (A) and (B) None of the mentioned
Ollie
answered
in
Object Oriented Programming
Jun 6, 2020
by
Ollie
807
views
nielit2017oct-assistanta-it
non-gate
0
votes
3
answers
25
UGC NET CSE | January 2017 | Part 2 | Question: 11
Which of the following cannot be passed to a function in C++? Constant Structure Array Header file
Mohit Kumar 6
answered
in
Object Oriented Programming
May 24, 2020
by
Mohit Kumar 6
2.3k
views
ugcnetjan2017ii
object-oriented-programming
functions
0
votes
1
answer
26
NIELIT 2016 DEC Scientist B (IT) - Section B: 46
Object oriented inheritance models: "is a kind of" relationship. "has a" relationship. "want to be" relationship. "contains" of relationship.
chaman_amit
answered
in
Object Oriented Programming
May 11, 2020
by
chaman_amit
3.7k
views
nielit2016dec-scientistb-it
non-gate
object-oriented-programming
0
votes
1
answer
27
NIELIT 2016 DEC Scientist B (IT) - Section B: 3
An object can have which of the following multiplicities? Zero More than one One All of the above
kpc
answered
in
Object Oriented Programming
May 9, 2020
by
kpc
973
views
nielit2016dec-scientistb-it
non-gate
object-oriented-programming
0
votes
1
answer
28
NIELIT 2016 DEC Scientist B (IT) - Section B: 1
Given a class named student, which of the following is a valid constructor declaration for the class? Student student(){} Private final student(){} Student(student s){} Void student(){}
abhishek tiwary
answered
in
Object Oriented Programming
May 9, 2020
by
abhishek tiwary
6.4k
views
nielit2016dec-scientistb-it
non-gate
object-oriented-programming
0
votes
1
answer
29
NIELIT 2017 OCT Scientific Assistant A (IT) - Section B: 28
What is ‘Basis of Encapsulation’? object class method all of the mentioned
Mohit Kumar 6
answered
in
Object Oriented Programming
May 6, 2020
by
Mohit Kumar 6
9.2k
views
nielit2017oct-assistanta-it
non-gate
object-oriented-programming
0
votes
1
answer
30
NIELIT 2016 DEC Scientist B (IT) - Section B: 24
An operation can be described as: Object behavior Functions Class behavior (A),(B)
Hradesh patel
answered
in
Object Oriented Programming
Apr 3, 2020
by
Hradesh patel
3.5k
views
nielit2016dec-scientistb-it
non-gate
object-oriented-programming
0
votes
1
answer
31
NIELIT 2017 OCT Scientific Assistant A (IT) - Section B: 4
If the objects focus on the problem domain, then we are concerned with Object Oriented Analysis Object Oriented Design Object Oriented Analysis and Design None of the above
Vipin Tiwari
answered
in
Object Oriented Programming
Apr 2, 2020
by
Vipin Tiwari
1.3k
views
nielit2017oct-assistanta-it
non-gate
object-oriented-programming
0
votes
6
answers
32
UGC NET CSE | January 2017 | Part 3 | Question: 39
Consider the following JAVA program: public class First { public static int CBSE (int x) { if (x < 100)x = CBSE (x+10); return (x-1); } public static void main(String[]args){ System.out.print(First.CBSE(60)); } } What does this program print? $59$ $95$ $69$ $99$
abhishekmehta4u
answered
in
Object Oriented Programming
Mar 26, 2020
by
abhishekmehta4u
1.9k
views
ugcnetcse-jan2017-paper3
object-oriented-programming
java
0
votes
4
answers
33
UGC NET CSE | January 2017 | Part 3 | Question: 37
Abstraction and encapsulation are fundamental principles that underlie the object oriented approach to software development. What can you say about the following two statements? Abstraction allows us to focus on what something does without considering the ... I nor II is correct Both I and II are correct Only II is correct Only I is correct
go_editor
asked
in
Object Oriented Programming
Mar 24, 2020
by
go_editor
3.9k
views
ugcnetcse-jan2017-paper3
object-oriented-programming
0
votes
3
answers
34
UGC NET CSE | January 2017 | Part 3 | Question: 40
Which of the following statement(s) with regard to an abstract class in JAVA is /are TRUE ? An abstract class is one that is not used to create objects An abstract class is designed only to act as a base class to be inherited by other classes Only I only II Neither I nor II Both I and II
go_editor
asked
in
Object Oriented Programming
Mar 24, 2020
by
go_editor
9.6k
views
ugcnetcse-jan2017-paper3
object-oriented-programming
java
0
votes
3
answers
35
UGC NET CSE | January 2017 | Part 2 | Question: 12
Which one of the following is correct for overloaded functions in $C++$? Compiler sets up a separate function for every definition of function. Compiler does not set up a separate function for every definition of function. Overloaded functions cannot handle different types of objects. Overloaded functions cannot have same number of arguments.
go_editor
asked
in
Object Oriented Programming
Mar 24, 2020
by
go_editor
1.7k
views
ugcnetjan2017ii
object-oriented-programming
functions
5
votes
2
answers
36
TIFR CSE 2011 | Part B | Question: 40
Consider the class of object oriented languages. Which of the following is true? Pascal is an object oriented language. Object oriented languages require heap management. Object oriented languages cannot be implemented in ... languages are more powerful than declarative programming languages. Parallelism cannot be realized in object oriented languages.
JashanArora
answered
in
Object Oriented Programming
Feb 27, 2020
by
JashanArora
1.2k
views
tifr2011
programming
object-oriented-programming
non-gate
3
votes
2
answers
37
ISRO2018-43
Consider the following C++ program int a (int m) {return ++m;} int b(int&m) {return ++m;} int{char &m} {return ++m;} void main() { int p = 0, q=0, r = 0; p += a(b(p)) ; q+= b(a(q);) r+=a(c(r)); cout<<p<<q << r; } Assuming the required header first are already included, the above program results in compilation error print $123$ print $111$ print $322$
vaishnavi30
answered
in
Object Oriented Programming
Jan 9, 2020
by
vaishnavi30
3.7k
views
isro2018
object-oriented-programming
non-gate
0
votes
0
answers
38
KPGCET-CSE-2019-11
The signature of the object method clause present in class diagram contains All definitional attributes of the class used in the method All referential attributes of the class/es used in the method All definitional attributes of related classes All attributes of related classes
gatecse
asked
in
Object Oriented Programming
Aug 4, 2019
by
gatecse
342
views
kpgcet-cse-2019
non-gate
object-oriented-programming
1
vote
1
answer
39
UGC NET CSE | June 2019 | Part 2 | Question: 24
Consider the following C++ function f(): unsigned int f(unsigned int n) { unsigned int b=0; while (n) { b+=n & 1; n>>1; } return b; } The function f() returns the int that represents the ____P____ in the binary representation of positive integer n, where P is number of $0$’s number of bits number of consecutive $1$’s number of $1$’s
srestha
answered
in
Object Oriented Programming
Jul 2, 2019
by
srestha
2.3k
views
ugcnetcse-june2019-paper2
programming-in-c
0
votes
3
answers
40
UGC NET CSE | July 2018 | Part 2 | Question: 6
In Java, which of the following statements is/are TRUE? S1: The final' keyword applied to a class definition prevents the class form being extended through derivation S2: A class can only inherit one class but can implement multiple interfaces S3: ... called method overloading Code: S1 and S2 only S1 and S3 only S2 and S3 only All of S1, S2 and S3
mahesh13
answered
in
Object Oriented Programming
Nov 22, 2018
by
mahesh13
3.6k
views
ugcnetcse-july2018-paper2
object-oriented-programming
java
final
To see more, click for all the
questions in this category
.
Subscribe to GATE CSE 2024 Test Series
Subscribe to GO Classes for GATE CSE 2024
Quick search syntax
tags
tag:apple
author
user:martin
title
title:apple
content
content:apple
exclude
-tag:apple
force match
+apple
views
views:100
score
score:10
answers
answers:2
is accepted
isaccepted:true
is closed
isclosed:true
Recent Posts
Post GATE 2024 Guidance [Counseling tips and resources]
GATE CSE 2024 Result Responses
[Project Contest] Pytorch backend support for MLCommons Cpp Inference implementation
Participating in MLCommons Inference v4.0 submission (deadline is February 23 12pm IST)
IIITH PGEE 2024 Test Series by GO Classes
Subjects
All categories
General Aptitude
(3.5k)
Engineering Mathematics
(10.4k)
Digital Logic
(3.6k)
Programming and DS
(6.2k)
Algorithms
(4.8k)
Theory of Computation
(6.9k)
Compiler Design
(2.5k)
Operating System
(5.2k)
Databases
(4.8k)
CO and Architecture
(4.0k)
Computer Networks
(4.9k)
Artificial Intelligence
(79)
Machine Learning
(48)
Data Mining and Warehousing
(24)
Non GATE
(1.4k)
IS&Software Engineering
(429)
Web Technologies
(93)
Numerical Methods
(64)
Computer Graphics
(111)
Object Oriented Programming
(120)
Java
(36)
Cloud Computing
(6)
Distributed Computing
(14)
Information Theory
(6)
Optimization
(20)
Digital Image Processing
(17)
Digital Signal Processing
(34)
Computer Peripherals
(13)
Multimedia
(2)
Geometry
(54)
Integrated Circuits
(9)
Big Data Systems
(1)
Others
(412)
Others
(2.7k)
Admissions
(682)
Exam Queries
(1.6k)
Tier 1 Placement Questions
(17)
Job Queries
(80)
Projects
(11)
Unknown Category
(870)
64.3k
questions
77.9k
answers
243k
comments
79.7k
users
Recent questions and answers in Object Oriented Programming
Recent Blog Comments
Hlo I'm Rupesh I got AIR 3485 in gate CS and AIR...
@Ajay Sasank here is the direct link...
Thank you for the post didi My GATE 2023 & 2024...
I Hope it helps 😊
Today's best post I seen thank you for motivation