For your last minute practice: Total 23 subject-wise tests, 3 full-length tests, and one Random full-length test.


Alma Mater:

Not updated.


Not updated.
Techtud Editor
Example text
6 months 1 week ago

Which of the following statements is TRUE about the propositional logic formula

\(S: (p \to q) \wedge (\neg q \vee r) \wedge (r \to s) \to \neg (p \to s)\)

(A) S is a contradiction
(B) S is satisfiable but not valid
(C) S is valid
(D) None of the above

Techtud Editor
Example text
6 months 1 week ago

A cache memory unit with capacity of N words and block size of B words is to be designed. If it is designed as a 16-way set-associative cache, the length of the TAG field is 10 bits. If the cache unit is now designed as direct mapped cache, the length of the TAG field is ______ bits.

Techtud Editor
Example text
6 months 1 week ago

Assume a machine with a 7-stage pipeline. Assume that branches are resolved in the sixth stage. Assume that 20% of instructions are branches. How many instructions of wasted work are there per branch misprediction on this machine?

Techtud Editor
Example text
6 months 1 week ago

For the following paragraph, the last sentence has been deleted. From the given options, choose the one that completes the paragraph in the most appropriate way.

Birth rates have fallen dramatically - and voluntarily. Coercive birth control, including paying people not to have babies, was discredited and abandoned decades ago. Nearly two-thirds of the couples in poor countries now use birth control, and not because some patriarchal westerner told them to. In the 1970s, the government of Bangladesh offered people in the Matlals region lowcost contraceptive supplies and advice. Birth rates promptly fell well below those of neighbouring regions. So Bangladesh extended the service nationally and its birth rate plummeted from six children per woman to three.

(A) The 'population bomb' has already gone off.
(B) Given the choice, people want fewer children.
(C) Governments want fewer children since their own life expectancy falls with rising numbers.
(D) Even when birth rates fall, there is a lag which means population keeps growing far decades until birth and death rates even out.

Techtud Editor
Example text
6 months 1 week ago

Question consists of two words which have a certain relationship to each other followed by four pairs of related words. Select the pair which has the same relationship as INDIGENT : WEALTHY.

(A) angry : rich
(B) native : affluent
(C) gauche : graceful
(D) scholarly : erudite

thegatebook's picture
gatelectures's picture
Himanshu Kaushik
sumitverma's picture
Sumit Verma
ranita's picture
Ranita Biswas
pritam's picture
Pritam Prasun
pritam's picture
Pritam Prasun
vivek14's picture
Vivek Vikram Singh
shabinmuhammed's picture
Shabin Muhammed
rahulrai's picture
Rahul Rai
ajay_pandey's picture
vinayyadav's picture
vinay yadav
durgaprasad's picture
Durga Prasad
rajeshkpandey008's picture
Rajesh Kumar Pandey
amitkumarsharma's picture
Amit Kumar Sharma
shakirhussain's picture
shakir qureshi
anshulnamdeo's picture
harpreetshah's picture
Harpreet Shah
ambujdubey's picture
Ambuj Dubey
parthshah's picture
Parth Shah


it is better and safer to use (!list) than (list==NULL) as while implementation there might be some memory - segmentation fault errors.

more less
9 May 2017 - 11:44am

Can you share the link of the video?

more less

@shweta1920, you can try running this codes on your machine too, by downloading the standard c-compiler

see http://www.mingw.org/ : for windows 

and any linux distribution has c-compiler (GCC) by default .

How to run programs using GCC ?

see: http://pages.cs.wisc.edu/~beechung/ref/gcc-intro.html

and http://www.akira.ruc.dk/~keld/teaching/CAN_e14/Readings/How%20to%20Compi...


more less

Please ask you questions in the doubt section of techtud , rather than commenting on a previously asked question. This will increase the visibility of your question .



Let 60 % of mangoes weigh X grams and,

      40 % of mangoes weigh Y grams 

Let total number of mangoes be "n".



\(350 = {X \over 0.6n}\)  ⇒  \(350*0.6 = {X \over n}\)   ⇒  \(210 = {X \over n}\)     ------------------------- (1)

\(400 = {Y \over 0.4n}\)   ⇒ \(400*0.4 = {Y \over n}\)   ⇒   \(160 = {Y \over n}\)     --------------------------(2)

(1) + (2)

\(210 + 160 = { X + Y \over n}\)

⇒ \(370 = {Total Wt. \over n}\)

Therefore, Average Weight of mangoes = 370 grams

more less
2 Oct 2015 - 3:52pm

X.(Y−Z) can be drawn as follows:
 <dot>  =
Similarly, (X.Y)−(X.Z) can be drawn like this:
<minus> =

Hence, we can say that X.(Y−Z) = (X.Y)−(X.Z)

more less