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
Filter
No answer
No selected answer
No upvoted answer
Previous GATE
Featured
Questions without an upvoted answer in Object Oriented Programming
0
votes
0
answers
1
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 ... [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
113
views
programming-in-c
output
programming
0
votes
4
answers
2
C++
Çșȇ ʛấẗẻ
asked
in
Object Oriented Programming
Aug 28, 2023
by
Çșȇ ʛấẗẻ
400
views
non-gate
object-oriented-programming
0
votes
1
answer
3
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
Sanjay Sharma
asked
in
Object Oriented Programming
Nov 16, 2021
by
Sanjay Sharma
727
views
oops
1
vote
1
answer
4
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
gatecse
asked
in
Object Oriented Programming
Dec 9, 2020
by
gatecse
692
views
nielit-sta-2020
object-oriented-programming
0
votes
0
answers
5
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
6
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
admin
asked
in
Object Oriented Programming
Apr 1, 2020
by
admin
1.3k
views
nielit2017oct-assistanta-it
non-gate
object-oriented-programming
0
votes
1
answer
7
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
admin
asked
in
Object Oriented Programming
Apr 1, 2020
by
admin
829
views
nielit2017oct-assistanta-it
non-gate
0
votes
1
answer
8
NIELIT 2017 OCT Scientific Assistant A (IT) - Section B: 28
What is ‘Basis of Encapsulation’? object class method all of the mentioned
admin
asked
in
Object Oriented Programming
Apr 1, 2020
by
admin
9.2k
views
nielit2017oct-assistanta-it
non-gate
object-oriented-programming
0
votes
1
answer
9
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(){}
admin
asked
in
Object Oriented Programming
Mar 31, 2020
by
admin
6.4k
views
nielit2016dec-scientistb-it
non-gate
object-oriented-programming
0
votes
1
answer
10
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
admin
asked
in
Object Oriented Programming
Mar 31, 2020
by
admin
988
views
nielit2016dec-scientistb-it
non-gate
object-oriented-programming
0
votes
1
answer
11
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.
admin
asked
in
Object Oriented Programming
Mar 31, 2020
by
admin
3.7k
views
nielit2016dec-scientistb-it
non-gate
object-oriented-programming
0
votes
1
answer
12
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.
go_editor
asked
in
Object Oriented Programming
Mar 28, 2020
by
go_editor
904
views
ugcnetcse-dec2007-paper2
0
votes
1
answer
13
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.
go_editor
asked
in
Object Oriented Programming
Mar 28, 2020
by
go_editor
2.7k
views
ugcnetcse-dec2007-paper2
0
votes
2
answers
14
UGC NET CSE | June 2005 | Part 2 | Question: 13
The data hiding is taken care by : Abstraction Encapsulation Modularity Inheritance
go_editor
asked
in
Object Oriented Programming
Mar 26, 2020
by
go_editor
813
views
ugcnetcse-june2005-paper2
object-oriented-programming
non-gate
0
votes
1
answer
15
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
go_editor
asked
in
Object Oriented Programming
Mar 26, 2020
by
go_editor
757
views
ugcnetcse-dec2004-paper2
0
votes
3
answers
16
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
0
votes
3
answers
17
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
go_editor
asked
in
Object Oriented Programming
Mar 24, 2020
by
go_editor
2.0k
views
ugcnetjan2017ii
object-oriented-programming
0
votes
1
answer
18
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
gatecse
asked
in
Object Oriented Programming
Aug 4, 2019
by
gatecse
1.1k
views
kpgcet-cse-2019
non-gate
object-oriented-programming
0
votes
1
answer
19
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.
gatecse
asked
in
Object Oriented Programming
Aug 4, 2019
by
gatecse
752
views
kpgcet-cse-2019
non-gate
object-oriented-programming
0
votes
0
answers
20
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
353
views
kpgcet-cse-2019
non-gate
object-oriented-programming
0
votes
0
answers
21
GSET 2018(Gujarat State Eligibilty Test ) CS & IT
In C++ and java which of the following features is not essential for polymorphic behaviour of programs? A) Inheritance B) Method overriding C) Method overloading D) Encapsulataion The question was asked in GSET 2018(Gujarat State Eligibilty Test ). According to the answer key , Option C is correct, but How? Isn't Method overloading a
sherlock_john
asked
in
Object Oriented Programming
Oct 13, 2018
by
sherlock_john
246
views
0
votes
0
answers
22
self doubt
If vtable is array vtable [] = {funptr1,funptr2,funptr3}; than how did its size is 4 bytes (64 bit compiler)
kd.....
asked
in
Object Oriented Programming
Jun 3, 2018
by
kd.....
215
views
0
votes
0
answers
23
self doubt:- c++
Please explain the working of this code:- #include<iostream> using namespace std; class Base { public: int x; Base():x(10){} ~Base(){} }; class Derived:public Base { public: int y; Derived():y(20){} ~Derived(){} }; int main() { Base bobj,*bptr; ... (Derived*)&bobj; cout<<dptr->x<<endl; cout<<dptr->y<<endl; } Output:-10 10 0 [Finished in 2.7s]
kd.....
asked
in
Object Oriented Programming
May 12, 2018
by
kd.....
271
views
programming
inheritance
pointers
1
vote
0
answers
24
Programming in c plus plus
Give a simple example on inheriting the operator function and using it in programme
anonymous
asked
in
Object Oriented Programming
Apr 22, 2018
by
anonymous
262
views
programming-in-c
inheritance
object-oriented-programming
0
votes
0
answers
25
c++ type conversion
why did in conversion of class to basic the type conversion operator does not have return type and argument as void
kd.....
asked
in
Object Oriented Programming
Apr 10, 2018
by
kd.....
285
views
programming-in-c
1
vote
0
answers
26
Operator overloading
On overloading pre increment and post increment why compiler taking dummy value only for post increment and not in pre increment
kd.....
asked
in
Object Oriented Programming
Apr 6, 2018
by
kd.....
380
views
cpp
0
votes
1
answer
27
Constructor and destructor
If I allocate the memory using new operator to member in constructor I.e dynamic constructor than should I have to write delete in destructor
anonymous
asked
in
Object Oriented Programming
Apr 2, 2018
by
anonymous
409
views
cplusplus
0
votes
0
answers
28
Constructor and Destructor
if we call the constructor than did the constructor will implicitly calls the new operator to allocate memory and it is from the heap area?
kd.....
asked
in
Object Oriented Programming
Mar 31, 2018
by
kd.....
388
views
cplusplus
0
votes
0
answers
29
cplusplus
why did constructor's name is same as class name and it has no return type
kd.....
asked
in
Object Oriented Programming
Mar 21, 2018
by
kd.....
360
views
cpp
programming
object-oriented-programming
2
votes
0
answers
30
Data Hiding C++
Which of the following concepts of OOPS means exposing only necessary information to client? A. Encapsulation B. Abstraction C. Data hiding D. Data binding Answer is C, Why?
Manu Madhavan
asked
in
Object Oriented Programming
Jan 10, 2018
by
Manu Madhavan
735
views
oops
To see more, click for the
full list of questions
or
popular tags
.
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
Engineering Mathematics
Digital Logic
Programming and DS
Algorithms
Theory of Computation
Compiler Design
Operating System
Databases
CO and Architecture
Computer Networks
Artificial Intelligence
Machine Learning
Data Mining and Warehousing
Non GATE
IS&Software Engineering
Web Technologies
Numerical Methods
Computer Graphics
Object Oriented Programming
Java
Cloud Computing
Distributed Computing
Information Theory
Optimization
Digital Image Processing
Digital Signal Processing
Computer Peripherals
Multimedia
Geometry
Integrated Circuits
Big Data Systems
Others
Others
Admissions
Exam Queries
Tier 1 Placement Questions
Job Queries
Projects
Unknown Category
64.3k
questions
77.9k
answers
244k
comments
80.0k
users
Recent Blog Comments
category ?
Hi @Arjun sir, I have obtained a score of 591 in ...
download here
Can you please tell about IIT-H mtech CSE self...
Please add your admission queries here:...