Skip to content
All Expert Articles
Given a non-negative number n. The problem is to unset the last m bits in the binary representation of n. Constraint: 1 <= m <=… Read More
Given n, find the greatest number which is strictly not more then n and whose binary representation consists of m consecutive ones, then m-1 consecutive… Read More
Given a list of N numbers, Find two numbers such that the product of the two numbers has the maximum number of factors. Formally given… Read More
This function is used to set the base to octal, decimal or hexadecimal. It sets the basefield format flag for the str stream to the… Read More
Kilometer is a unit of length in the metric system equivalent to 1000 meters. Miles is also the unit of length equal to 1760 yards.… Read More
If you are running any python script and want to send regular updates from your script to mobile phone through SMS, you can use SinchSMS… Read More
A number is said to be a Peterson number if the sum of factorials of each digit of the number is equal to the number… Read More
We have to print a pattern where in middle column contains only 1, right side columns contains constant digit which is greater than 1 and… Read More
Insert the characters of the string K R P C S N Y T J M into a hash table of size 10. Use the… Read More
notify() and notifyAll() methods with wait() method are used to for communication between the threads. A thread which goes into waiting state by calling wait()… Read More
A ROM is used to store the table for multiplication of two 8-bit unsigned integers. The size of ROM required is   (A) 256 x… Read More
Parallax Parallax is a 3d effect used in various websites to make webpages attractive . In this effect, as we scroll, the background of the… Read More
A Pierpont Prime is a prime number of the form p = 2l.3k + 1. First few Pierpont prime numbers are 2, 3, 5, 7,… Read More
Let G be the graph with 100 vertices numbered 1 to 100. Two vertices i and j are adjacent iff |i−j|=8 or |i−j|=12. The number of… Read More
type in Python Python have a built-in method called as type which generally come in handy while figuring out the type of variable used in… Read More
Which of the following query transformations (i.e., replacing the l.h.s. expression by the r.h.s. expression) is incorrect? R1 and R2 are relations. C1, C2 are… Read More
In a resident- OS computer, which of the following system software must reside in the main memory under all situations? (A) Assembler (B) Linker (C)… Read More
[5 Marks question] An instruction pipeline consists of 4 stages: Fetch(F), Decode operand field (D), Execute (E), and Result-Write (W). The five instructions in a… Read More
Endurance International Group came to our campus for internship. Positions: Software Development Engineer Intern and Development Operations Engineer Intern. It was only open for CS… Read More
Given a non-negative number n and two values l and r. The problem is to check whether all the bits are unset or not in… Read More