Skip to content
All Basic Articles
We have discussed different methods to find nth Fibonacci Number. Following is another mathematically correct way to find the same. nth Fibonacci Number : Here… Read More
We have discussed Circular Linked List Introduction and Applications, in the previous post on Circular Linked List. In this post, traversal operation is discussed.    … Read More
Given an array of 1s and 0s which has all 1s first followed by all 0s. Find the number of 0s. Count the number of… Read More
We have discussed singly and doubly linked lists in the following posts. Introduction to Linked List & Insertion Doubly Linked List Introduction and Insertion Circular… Read More
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… Read More
Consider the data given in above question. Least Recently Used (LRU) page replacement policy is a practical approximation to optimal page replacement. For the above… Read More
Let f(w, x, y, z) = ∑(0, 4, 5, 7, 8, 9, 13, 15). Which of the following expressions are NOT equivalent to f? (A)… Read More
In Ethernet when Manchester encoding is used, the bit rate is: (A) Half the baud rate. (B) Twice the baud rate. (C) Same as the… Read More
Consider the following statements about user level threads and kernel level threads. Which one of the following statement is FALSE? (A) Context switch time is… Read More
A process executes the following code for (i = 0; i < n; i++) fork(); The total number of child processes created is (A) n… Read More
In the slow start phase of the TCP congestion control algorithm, the size of the congestion window (A) does not increase (B) increases linearly (C)… Read More
C is a procedural programming language. It was initially developed by Dennis Ritchie in the year 1972. It was mainly developed as a system programming… Read More
We have discussed Asymptotic Analysis,  Worst, Average and Best Cases  and Asymptotic Notations in previous posts. In this post, analysis of iterative programs with simple… Read More
Given a string, reverse it using stack. For example “GeeksQuiz” should be converted to “ziuQskeeG”. Following is simple algorithm to reverse a string using stack.… Read More
In the previous post, we introduced Queue and discussed array implementation. In this post, linked list implementation is discussed. The following two main operations must… Read More
What is the return type of getchar()? (A) int (B) char (C) unsigned char (D) float Answer: (A) Explanation: The return type of getchar() is… Read More
For inclusion to hold between two cache levels L1 and L2 in a multi-level cache hierarchy, which of the following are necessary? I. L1 must… Read More
P and Q are two propositions. Which of the following logical expressions are equivalent? (A) Only I and II (B) Only I, II and III… Read More
Predict the output of following Java Program class Test {     public static void main(String args[])  {        int x = -4;        System.out.println(x>>1);          int y = 4;… Read More
#include <stdio.h> int main() {    int a = 0;    int b;    a = (a == (a == 1));    printf("%d", a);    return 0; } (A) 0… Read More