What is Object Oriented Programming?
Object Oriented Programming (OOP) is a programming paradigm where the complete software operates as a bunch of objects talking to...
Share
What are the differences between C and C++?
1) C++ is a kind of superset of C, most of C programs except few exceptions (See this and this) work in C++ as well.
2) C...
Share
What is a Constructor?
Constructors are used to initialize the object’s state. Like methods, a constructor also contains collection of statements(i.e. instruc...
Share
Prerequisites – Stop & Wait, Go Back N, Selective Repeat
Summary of all the protocols –
Before starting with the questions a quick recap for all t...
Share
Advantages
Large virtual memory.
More efficient use of memory.
Unconstrained multiprogramming. There is no limit on degree of multiprogramming.
Disadvantages
Numbe...
Share
Question 1: Given a directed weighted graph. You are also given the shortest path from a source vertex ‘s’ to a destination vertex ‘t’. &#...
Share
What is an algorithm?
Informally, an algorithm is any well-defined computational procedure that takes some value, or set of values, as input and produces some value, ...
Share
C Programming Mock Tests
C++ Programming Mock Tests
Java Programming Mock Tests
Python Programming Mock Tests
GATE Mock Tests
Data Structures Mock Tests
Algorithms Mock Tests
Operati...
Share
Problem 1 – There are 25 telephones in Geeksland. Is it possible to connect them with wires so that each telephone is connected with exactly 7 others.
Solution...
Share
Assume the structure of a Linked List node is as follows.
struct Node
{
  int data;
  struct Node *next;
};
Explain the fu...
Share