Set 1 (Random Numbers, Arrays and Matrices) Generating Random Characters Generating Random Strings Generating Array of Random Strings This article is contributed by Rachit Belweriar.… Read More »

#
All Expert Articles

Earlier i talked about namespaces in kernels and jailing process in this article. To understand this article, you may not require to finish the one… Read More »

Online Written Test: Multiple choice questions on aptitude and programming 2 coding questions. F2F R1 1) Given a string of any length. print all possible… Read More »

The last day of a century cannot be: (A) Thursday (B) Monday (C) Wednesday (D) Sunday Answer: (A) Explanation: Quiz of this QuestionPlease comment below… Read More »

What is the probability that x3 – 8 = 0 when x is selected from a set of 8 integers? I. The smallest number in… Read More »

Prerequisite: Creating a Proxy Webserver in Python – Set1 In this tutorial, few interesting features are added to make it more useful. Add blacklisting of… Read More »

How many kg of rice, of cost 9 Rs/kg must be mixed with 27 kg of rice of cost 7 Rs/kg get a gain of… Read More »

For a shirt cost price is Rs. 400. Shopkeeper prints a tag on it with Markup% = 20% to earn a profit of 7.5%. What… Read More »

A clock gains uniformly 5 min slow at 8 o’clock in the morning on Sunday and 5 min 48 sec fast at 8 pm on… Read More »

A speedboat runs 6 km upstream in a river and comes back to the starting point in 33 minutes. The stream of the river is… Read More »

NOTE: Using an online compiler is not going to work here. Please install Python 2.7x and cv2, argparse modules to actually try out this example.… Read More »

6 men and 10 women were employed to make a road 360 km long. They were able to make 150 kilometres of road in 15… Read More »

Before we start working on any project, it is very important that we are very clear on what we want to do and how do… Read More »

What is the average case performance for Comb Sort? (Note: ‘i’ in the options is the number if increments) (A) Ω(n2 / i) (B) Ω(n2… Read More »

Consider that B wants to send a message m that is digitally signed to A. Let the pair of private and public keys for A… Read More »

Dear Gate Aspirant, GATE is one the hardest entrance exam in our country and the basics of all the subjects must be clear to get a… Read More »

Predict the output of the following program. (A) 2 (B) 3 (C) 4 Answer: (C) Explanation: First call to function set(), sets array[0] = true,… Read More »

Let a and b be two sorted arrays containing n integers each, in non-decreasing order. Let c be a sorted array containing 2n integers obtained… Read More »

A two-way switch has three terminals a, b and c. In ON position (logic value 1), a is connected to b, and in OFF position,… Read More »

Suppose that the maximum transmit window size for a TCP connection is 12000 bytes. Each packet consists of 2000 bytes. At some point of time,… Read More »