Answer:
yes it is...................
Answer:
False is the correct answer for the above question.
Explanation:
- In java programming language or any other programming language, any loop can be infinite.
- It is because the infinite loop is called for that loop which is not run in a finite number of times.
- The loop is used to repeat some lines in a finite number of times. Any loop has three things- first is the initial value which tells the loop to start, The second is the condition check which states when the loop will stop and the third is an operation which directs some variable, so that the condition may be false after some finite amount of time.
- If the condition will not false in any iteration of the loop, then the loop can proceed for an infinite amount of time.
- The above-question states that the while loop and do while loop can be infinite which is a true statement.
- But it also states that the 'for' loop can not be infinite which is not a correct statement which is described above. Hence false is the correct answer to the above question.
Answer:
Information security policy are used for the prevention of intruders hacking a network when an organization start getting IT related attacks.
Explanation:
Information security policy are used for the prevention of intruders hacking a network when an organization start getting IT related attacks.
An information security policy are set of rules/policies designed to guide employees for the protection of the security of company information and IT systems. The reasons for these policies are:
- It defines what is required from organization’s employees for the security of the IT systems
- Information security policies provide a means to secure the organization against external and internal threats
- Information security policies are a mechanism to for ensuring an organization’s legal and ethical responsibilities
- Information security policies are created to hold each employee responsible with regard to information security
Answer:
B.
Explanation:
Based on the sampling methods provided in regards to the question it can be said that the method being used is called Simple Random. This refers to dividing the population into different group which are then chosen at random, giving each group an equal chance of getting chosen. Which is exactly what is going on in this scenario, as the day is divided into three parts and her mood is measured randomly during each part of the day.
Answer:
name = input("Enter customer name: ")
quantity = int(input("Enter quantity: "))
size = input("Enter size [large-medium-small]: ")
if size == "large":
sales = (quantity / 12) * 13
if size == "medium":
sales = (quantity / 12) * 11
if size == "small":
sales = (quantity / 12) * 8.6
print(name + " ordered " + str(quantity) + " " + size + " ballons")
print("Total sales is $" + str(sales))
Explanation:
*The code is in Python.
Ask the user to enter name, quantity, and size
Check the size using if structure. Depending on the size, calculate the sales using the given cost for for a dozen.
Print the order information and total sales