This is Vivek Vikram Singh. Currently pursuing Master Of Engineering in Computer Science stream from BITS, Pilani. I strongly believe in contribution-based education and helping out fellow/upcoming graduates with the experience I have. I have shared my written and interview experience in various known institutes/ PSUs for my M.Tech. admission in 2014 Find me on my blog at: https://vivekvsingh14.wordpress.com/

### Alma Mater:

Master of Engineering
Birla Institute of Technology and Science, Pilani
2014 to 2016
Bachelor of Engineering
Bansal Institute of Science and Technology, Bhopal
2009 to 2013

### Experience:

Intern
EMC Corporation
2016
ASE
EMC Corporation
2016
Video lecture
2 years 1 week ago

Can you please mention the source of video in title? Eg Kruskal's algorithm in 2 minutes: SourceName.

morelessWatch Now
2 years 1 month ago

char c= 99 is correct. No compilation error. c can take values from -127 to +127. c=99, if you print with %d in printf, you will see output 99. If you print c using %c in printf, you will see output as c, 99 is ASCII for c.

moreless
2 years 1 month ago

Good approach given above. Another good reading on this matter can be found on this link http://www.techtud.com/resource-share/average-case-analysis

moreless
2 years 1 month ago

Yes both are equal. I hope you understand base of the log is 2.

Lets assume

y = 2logn

log2y = log22logn

log2y = log2n . log22

log2y = log2n. 1

log2y = log2n

So, y = n.

moreless
Lakshminarayana Potukuchi
Virtual GATE
Priyesh Priyatam
Ranita Biswas
Pritam Prasun
Pritam Prasun
905
Rajeev
914
Priyesh Priyatam
923
Himanshi
976
jhilik
979
shailendra joshi
998
Mahesh Kumar
1017
Chandan Chawda
1019
kaushal
1022
Shabin Muhammed
1065
TarGate
1165
vineet
1238
Rahul Kumar
1246
Kalpish Singhal
1474
Target Gate
1518

## Pages

14 Sep 2016 - 10:22pm

#include #include int main() { int i; for (i=0; i<3; i++) { pid_t pid = fork(); if (pid == 0) printf("parent:[%d] current:[%d] i=%d\n", getppid(), getpid(), i); else printf("FORK Failed for current: %d\n", getpid()); printf("*\n"); } printf("HI \n"); return 0; }

more less
13 Sep 2016 - 2:14am

Tricky problem.

more less
14 Jun 2016 - 11:32pm

char c= 99 is correct. No compilation error. c can take values from -127 to +127. c=99, if you print with %d in printf, you will see output 99. If you print c using %c in printf, you will see output as c, 99 is ASCII for c.

more less
13 Jun 2016 - 6:02pm

Good approach given above. Another good reading on this matter can be found on this link http://www.techtud.com/resource-share/average-case-analysis

more less
13 Jun 2016 - 5:37pm

Yes both are equal. I hope you understand base of the log is 2.

Lets assume

y = 2logn

log2y = log22logn

log2y = log2n . log22

log2y = log2n. 1

log2y = log2n

So, y = n.

more less
13 Jun 2016 - 1:53am

1) fun(200) --> as i%2 will be equal to 0, which is false, so else part is executed and fun(fun(199)) is called, from which inner call will take place first i.e. fun(199) and outer function will use value returned by inner call.

2) fun(199) {Inner Call}  --> as i%2 will be equal to 1, which is true, so return instruction is executed. Now return i++ , return original value of i and then increment the value. So the value returned will be 199 and this value will be used by outer call now.

3) fun(199) {Outer Call) --> same as above. The value, 199, returned by this call will be there in Main and printed.

Output: 199.

The concept is explained above.

Execution output can be seen in link: https://ideone.com/8RlhFe

more less
12 Jun 2016 - 2:18pm

The easy way to understand and remember locality of reference is Spatial is for Space and temporal for time.

B) Same as A.

C) It does not remember the lines which are written only.

Suppose you read byte number 5, which also is cache line number 5, if only one byte is in one cache line. Spatial locality says nearby bytes of accessed data is likely to be accessed next. Now there is NO bytes in cache line number 5 which can be cached to get the benefit of locality. Had it been more than 1 byte, say 2 or 3, you would have copied that whole cache line and next accessed byte, say number 6 or 7 would have been in cache, getting the benefit of spatial locality.

more less
10 Jun 2016 - 3:48pm
more less
6 Jun 2016 - 12:04pm

Kishor, Techtud is community contribution platform. I am sure someone will surely contribute good lectures on COA. Until then, why don't you start with resources available at http://www.techtud.com/computer-science-and-information-technology/computer-organization-and-architecture . Ask any doubt which comes to your mind.

more less