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...
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.
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...
Prerequisites – Stop & Wait, Go Back N, Selective Repeat
Summary of all the protocols –
Before starting with the questions a quick recap for all t...
Large virtual memory.
More efficient use of memory.
Unconstrained multiprogramming. There is no limit on degree of multiprogramming.
Question 1: Given a directed weighted graph. You are also given the shortest path from a source vertex ‘s’ to a destination vertex ‘t’. &#...
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, ...
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
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.
Assume the structure of a Linked List node is as follows.
struct Node *next;
Explain the fu...