Computer Architecture1. Explain what is DMA? 2. What is pipelining? 3. What are superscalar machines and vliw machines? 4. What is cache? 5. What is cache coherency and how is it eliminated? 6. What is
Databases* 1. You, a designer want to measure disk traffic i.e. get a histogram showing the relative frequency of I/O/second for each disk block. The buffer pool has b buffers and uses LRU replacement
Java1. How do you find the size of a java object (not the primitive type) ? ANS. type cast it to string and find its s.length() 2. Why is multiple inheritance not provided in Java? 3. Thread t = new Thread();
Latest Answer : . Why is multiple inheritance not provided in Java? 3. Thread t = new Thread(); t.start(); t = null; now what will happen to the created thread? 4. How is garbage collection done in java? 5. How do you write a "ping" routine in java? 6. What are the security ...
1. How do you use RSA for both authentication and secrecy?2. What is ARP and how does it work?3. What's the difference between a switch and a router?4. Name some routing protocols? (RIP,OSPF etc..)5.
Latest Answer : What is ARP and how does it work?Defination:ARP (Address Resolution Protocol) is a protocol for mapping link layer addresses to a physical machine address that is recognized in the local networkWorking:When a host wants to send a packet with to a known ...
Algorithms and Programming1. Given a rectangular (cuboidal for the puritans) cake with a rectangular piece removed (any size or orientation), how would you cut the remainder of the cake into two equal
Latest Answer : 1) Slice the cake horizontally in mid height. ...
PersonalityIt is best to read some website or a book for questions like these. 1. Tell me the courses you liked and why did you like them. 2. Give an instance in your life in which you were faced with
Latest Answer : I think you should know all development and research centers across the globe. Like I dint know there is one research center in Beijing. During Lunch interview I was asked how much did I know about microsoft work and their centers. I told them about cambridge, ...
Puzzles, Riddles and Others0. Classic: If a bear walks one mile south, turns left and walks one mile to the east and then turns left again and walks one mile north and arrives at its original position,
Latest Answer : WRONG !probability n that case will be = 1/2(1) + 1/2( 49/99) ...
1) Currently computers use 2 bits as we know, 0 and 1. What do you think would have happened if we had a thrid bit?2) An AI based computer tic-tac-toe game situation is represented below. Given the following rules in order, who do you think will win. a) If I can win, I will b) If I have to block, I will o ----|---|---- o o x ----|---|---- x xP.S : The computer is playing against itself. Justify your answer with an explanation.
1)Given two sorted linked lists list1,list2. Combine the two list into a new sorted list with our creating new nodes.-All give the test case for testing the same2)You have to count the occurances of all words in a document. You are given a method chat * GetNextWord, that returns the next word from the document.- Which datastructure can be userd to achieve this- Write a algorithm for the same- What is the order of the above algorithm
Given two sorted single linked lists list1,list2 write a algorithm to merge the two lists again in sorted order. No new nodes should be created.- Also give all the test cases for testing this algorithm