Answer:
The probability that among three randomly selected Internet users, at least one is more careful about personal information when using a public Wi-Fi hotspot is 0.964
If the survey subjects <em>volunteered</em> to respond , then those with the strongest opinions are most likely respond. The survey sample is then not randomly selected, the survey may have a <em>response bias.</em>
Explanation:
Let P(at least one is more careful about personal information when using a public Wi-Fi hotspot) denote the probability that among three randomly selected Internet users, at least one is more careful about personal information when using a public Wi-Fi hotspot, then we have the equation
P(at least one is more careful about personal information when using a public Wi-Fi hotspot) = 1 - P(none of the selected users is more careful about personal information when using a public Wi-Fi hotspot)
- If 67% of Internet users are more careful about personal information when using a public Wi-Fi, then 33% of them are not.
P(none of the selected users is more careful about personal information when using a public Wi-Fi hotspot) =
≈ 0.036
P(at least one is more careful about personal information when using a public Wi-Fi hotspot) = 1 - 0.036 = 0.964
Answer:
import sys
import turtle
import random
def n_pointed_star(total_points):
if total_points <= 4:
raise ValueError('Not enough total_points')
area = 150
for coprime in range(total_points//2, 1, -1):
if greatest_common_divisor(total_points, coprime) == 1:
start = turtle.position()
for _ in range(total_points):
turtle.forward(area)
turtle.left(360.0 / total_points * coprime)
turtle.setposition(start)
return
def greatest_common_divisor(a, b):
while b != 0:
a, b = b, a % b
return a
turtle.reset()
n_pointed_star(5)
Explanation:
- Inside the n_pointed_star function, check whether the total no. of points are less than or equal to 4 and then throw an exception.
- Loop through the total_points variable and check whether the result from greatest_common_divisor is equal to 1 or not and then set the starting position of turtle and move it.
- Create the greatest_common_divisor which takes two parameters a and b to find the GCD.
- Finally reset the turtle and call the n_pointed_star function.
Answer:
An operating system has three main functions: (1) manage the computer's resources, such as the central processing unit, memory, disk drives, and printers, (2) establish a user interface, and (3) execute and provide services for applications software.
Answer:
option (C) Text editor is the correct answer in this question.
Explanation:Used to code a web page, an editor is required that is a basic requirement.The other options are secondary ,text editors are provided with operating system and software development .Text editor specialized html editors can offer convenience and added functionality.Test editors require of html and any other web technology like Java script,and server-side scripting languages.