Sorry I don’t know the answer I am really sorry
Answer:
1, 4, 7
Explanation:
The instruction in the question can be represented as:
for i in range(1,10,3):
print i
What the above code does is that:
It starts printing the value of i from 1
Increment by 3
Then stop printing at 9 (i.e.. 10 - 1)
So: The sequence is as follows
Print 1
Add 3, to give 4
Print 4
Add 3, to give 7
Print 7
Add 3, to give 10 (10 > 10 - 1).
So, it stops execution.
Answer:
while(userNum>=1){
System.out.print(userNum/2+" ");
userNum--;
}
Explanation:
This is implemented in Java programming language. Below is a complete code which prompts a user for the number, receives and stores this number in the variable userNum.
<em>import java.util.Scanner;</em>
<em>public class TestClock {</em>
<em> public static void main(String[] args) {</em>
<em> Scanner in = new Scanner (System.in);</em>
<em> System.out.println("Enter the number");</em>
<em> int userNum = in.nextInt();</em>
<em> while(userNum>=1){</em>
<em> System.out.print(userNum/2+" ");</em>
<em> userNum--;</em>
<em> }</em>
<em> }</em>
<em>}</em>
The condition for the while statement is userNum>=1 and after each iteration we subtract 1 from the value of userNum until reaching 1 (Hence userNum>=1)
the answer should be the letter a
Explanation:
Windows Firewall
Windows Firewall is a packet filter and stateful host-based firewall that allows or blocks network traffic according to the configuration. A packet filter protects the computer by using an access control list (ACL), which specifies which packets are allowed through the firewall based on IP address and protocol (specifically the port number). A stateful firewall monitors the state of active connections and uses the information gained to determine which network packets are allowed through the firewall. Typically, if the user starts communicating with an outside computer, it remembers the conversation and allows the appropriate packets back in. If an outside computer tries to start communicating with a computer protected by a stateful firewall, those packets are dropped automatically unless access was granted by the ACL.