You will have to log in yo my PC via Teamviewer and help with these short questions. No coding required! A sample question:
Given the following recursive function definition:
public static void recursiveMethod (int argument)
if (a rgume nt < ~O) {
System. out . println(argument + ” ” ) ;
return;
}
else {
}
re cursiveMethod( (argument / 2) + 10 ) ;
System. out. princln(argument + ” ” ) ;
return;
If this function is called with an argument of 110, what is the output?
Example 2:
Given a 9-digit key and a hash table that will hold 1007 values,
using the fold shift method, what address would the key 834433699 maps to?