Register Login
Internet / AI Technology University (ITU/AITU)
Created by info@itofthefuture.com
Welcome Anonimous.User to this quiz related to Wml.

Read the question and choose correct answers. Time is limited to 40 seconds!

Important! Do not forget to rank the quality of the question (from bad to excellent).
An initiator of the quiz will get royalty score for QnAs created by her/him and can win the Top Creativity Prize.
Question:
To simplify the creation of WML code a so called presentation factory can be used, which defines methods that create the code. A presentation factory defines the following method. A client calls this method, providing "true" for the boolean newcontext. What does he achive by that? public static String openNewCard(String id, String title, boolean newcontext) { StringBuffer ret = new StringBuffer(); ret.append("<card id=\""); ret.append(id); ret.append("\" title=\""); ret.append(title); ret.append("\" newcontext=\""); ret.append(newcontext); ret.append("\">"); return ret.toString(); }

Prior to opening the card the following WMLScript has been run:
WMLBrowser.setVar("greeting", "hello");
After opening the card this value can still be retrieved using
var greeting = WMLBrowser.getVar("greeting");



It is a common way to avoid fragments of the previous site to be visible
in the site.



He avoids a potential security risk: Other sites could read the values
of variables if newcontext were set to "false".



The browser will clean its cache.



The browser will clean its WMLScript variables.



The browser will clean its old link values.



Rank the Quality of the Question from "-10" (bad) or "0" (not clear) to 10 (correct) or even 20 (very good!)
-10 (bad/wrong) 0 (not clear) 10 (correct) 20 (very good!)
Your summary report will be available to you and your instructor. Thank you for your work!!!