Answer:
In Python:
N = int(input("Positive integer: "))
if N > 0:
flag = False
for i in range(1,N+1):
if i * i == N:
flag = True
break
print(str(flag))
else:
print("Positive integer only")
Explanation:
N = int(input("Positive integer: "))
If the number is positive
if N > 0:
This initializes a boolean variable to false
flag = False
This iterates from 1 to the input integer
for i in range(1,N+1):
This checks if th number is a square of some integer
if i * i == N:
If yes, flag is set to true
flag = True
The loop is exited
break
This prints either true or false, depending on the result of the loop
print(str(flag))
If otherwise, that the number is not positive
<em>else:</em>
<em> print("Positive integer only")</em>
Answers:
What is the index of the last element in the array? stArr1.length()-1
This prints the names in order. How would I print every other value? Change line 4 to: index = index +2
Change line 7 to: i < names.length
Answer:
IT security is a set of cyber security strategies that prevents unauthorized access to organizational assets such as computers, networks, and data.
Create an advanced search using the search criteria in the range K2:S3 and the inventory data where the results will be displayed in the search results (starting in cell K10).
Explanation:
- In cell B2, enter the value from A7.
- Insert a function in D2 that will return the arrival date of any vehicle based on which VIN is entered in B2 (Hint: Start with an INDEX function. Before you use a nested MATCH function, specify which column number you will be returning.)
- Insert a function in F2 that will return the Special Notes of any vehicle based on which VIN is entered in B2 (Use the same hint from the previous step.)
- Enter the following values for the advanced search criteria in the range K3S3:
- Year = 2018
- Type = Sedan
- GPS = Yes
- Create an advanced filter using the search criteria in the range K2:S3 and the inventory data where the results will be displayed in the search results (starting in K10).
- Verify results populate as expected.
Answer:
The requirement of the virtualization in the operating system:
• The virtualization of the resources from single systems input can be partitioned into a small virtual environment in multiple system data processes.
• Virtualization can collect the physical system's hardware and software data, they can transfer the virtualization process and also verify that the working system is running properly.
• Virtualization has to determine the specific components such as workload, file location, network traffic and console administration process. The requirement for moving into the virtual environment must be selected based on windows for the operating system(32-bit), windows host operating system(4-bit) and Linux operating system.