
Can you implement splay tree in an efficient way?
YesNo 
What arethe values of the variables r1, r2,r3, r4, and r5 afterthe following code executes:
3, 7, 11, 3, 53, 7, 15, 5, 315, 7, 5, 2, 1215, 7, 4, 5, 3 
Which of these statements about MVC design pattern are true?
Themodel componentisresponsible for invokingcontroller methods whentheuserinteracts withtheapplicationThecontroller componentisusually asubclassof theview component.Theview component can bean observer of statechangeswithin the modelcomponent. 
A branch instruction changes which instruction comes next by changing which register?
RAPCSPT0 
Consider a byteaddressable memory and an architecture that manipulates 64bit words. What is the maximum number of adressable words if the architecture has N N bit addresses?
64(2**N)+8(2**N)/832 
Using 2â€™s complement arithmetic, negate the hex value 74520FF3 and enter its value in hex?
8BADF00D74520FF38BAD70037452F00D 
Which of these is a stable sort with NLogN worst Case
Heap SortMerge SortBubble SortBogo Sort 
Every graph that is a tree has no Euler path
TrueFalse 
The splay function in a splay tree always shortens the longest path by atleast 1
TrueFalseSplay tree is dumb and I cannot implement it without being at an efficiency of O(N^2) 
Which of these are statements about polymorphism is true?
Overloaded methods are an example of polymorphismUsing the JavaBeans conventions for getters and setters is an example of polymorphismUsing the same local variable name in difference methods is an example of polymorphismPolymorphism requires that at most one class will implement a particular interface 
Write the following code in MIPS: *(a+1)=i;
slt $t0,$a1,$a2 bne $t0,$zero,L1slt $t0,$a2,$a1 bne $t0,$zero,L1lw $a1,4($a0)sw $a1,4($a0) 
Which of these are NOT a value type?
Stringintbooleanlong
This post was created by a member of BuzzFeed Community, where anyone can post awesome lists and creations.
Learn more or
post your buzz!