All Hard Articles
Consider a matrix P whose only eigenvectors are the multiples of . Consider the following statements. (I) P does not have an inverse (II) P… Read More
Consider the first-order logic sentence φ ≡ ∃s∃t∃u∀v∀w∀x∀y ψ(s, t, u, v, w, x, y) where ψ(s, t, u, v, w, x, y) is a… Read More
Consider the following program written in pseudo-code. Assume that x and y are integers. Count (x, y) { if (y !=1 ) { if (x… Read More
Given a number N and a digit D, we have to form an expression or equation that contains only D and that expression evaluates to… Read More
Given N, we have to find the sum of products of all combinations taken 1 to N at a time. In simple words, we have… Read More
Consider the following statements regarding the slow start phase of the TCP congestion control algorithm. Note that cwnd stands for the TCP congestion window and… Read More
A 32 – bit wide main memory unit with a capacity of 1 GB is built using 256M X 4-bit DRAM chips. The number of… Read More
A six sided unbiased die with four green faces and two red faces is rolled seven times. Which of the following combinations is the most… Read More
PURPOSE OF MEDIA SOCIAL NETWORKING SERVICE SYSTEMThis system will allow users to share photos and videos with other users. Additionally, users can follow other users… Read More
Given n integers. The task is to minimize the sum of multiplication of all the numbers by taking two adjacent numbers at a time and… Read More
When class member is a vector object (not a reference).We can simply assign in constructor.   CPP // Passing vector object to a constructor.#include <iostream>#include <vector>using… Read More
Given two strings s1, s2 and K, find the length of the longest subsequence formed by consecutive segments of at least length K. Examples:  Input… Read More
Round 1: Given 3 strings write the code to check if 3rd string is shuffle of the first two strings. Third string is said to… Read More
Given an array of size n and a positive integer k, find the maximum number of trailing zeros in the product of the subsets of… Read More
Given the value of n, print a hollow square of side length n and inside it a solid square of side length (n – 4)… Read More
Given a number, the task is to set all odd bits of a number. Positions of bits are counted from LSB (least significant bit) to… Read More
Given two numbers, the task is to use alternative bits within two numbers to create result. We take first bits of second number, then second… Read More
Consider the following C – code : #include "stdio.h"   int foo(int a) {  printf("%d",a);  return 0; }   int main() {  foo;  return 0; } Which… Read More
Round 1: The first round consisted of three coding questions to be solved in 1 hr – Given a string of size ‘n’. The task… Read More
Round 1: It was a 3 hours coding round and the maximum number of submissions allowed was 10, but we could compile it as much… Read More