Answer:
a) "Quit"
c) "Q only
Explanation:
Given
<em>String s = "Go"; </em>
<em>while ((!s.equals("q"))&& (!s.equals(""))) {</em>
<em>System.out.println("In loop"); </em>
<em>s = scnr.next();</em>
<em>}</em>
<em />
Required
What input causes another execution
Analyzing the while condition
<em>while ((!s.equals("q"))&& (!s.equals(""))) </em>
<em />
This can be split into:
<em>!s.equals("q")) && (!s.equals(""))</em>
<em />
Meaning
When s is not equal to "q" and when s is not an empty string
<em />
In other words,
the loop will be executed when user input is not "q" and user input is not empty.
So, from the list of given options: The loop both will be executed when:
a) Input is "Quit"
c) Input is Q only
<em>Input of q will terminate the loop, hence b and d are incorrect</em>
<em />
Answer:
Neither game, does anyone remember Angry Birds Epic though
Explanation:
That game brings me nostalgia
<u>Answer:</u>
<em>GUI provides simple and easy way to operate computers. </em>
<u>Explanation:</u>
Before <em>GUI there were only CUI (Character User Interface) where the user needs to remember lots of commands to interact with computer </em>and it is also time consuming.
<em>Eg. DOS (Disk Based Operating System). </em>
This problem was overcome by GUI where it contains buttons where the user can use the <em>mouse to click, double click or right click </em>according to the options provided by the environment. <em>GUI is the successor of CUI.</em>
Answer:
Option D is correct.
Explanation:
Solutions to protecting toward potential the following authentication assaults on his website are that he may not fully stop the intruders attempt because he continuously turn proxy as the intervening behavior would slow down the attacker's efforts. Samuel intends to prevent the violent attack efforts of attackers on his site.
The other options are not correct due to the following reason that describe the option D is correct.