Answer:
Explanation:
Crew members need to remember that blowout prevention equipment is heavy any very unforgiving. Working around BOPs (nippling up or down, ram replacement, etc.) puts workers in a high hazard area. All personnel involved in the operation must be fully alert and knowledgeable in their tasks. All crew members should participate in the Pre-Job Safety meeting. Communications are critical in this operation and all personnel should be aware of the signals to be used.
Answer:
online identity for the first one and none of the above for the second one:)
Answer:
The solution in Python is as follows:
class myClass:
def doubleUp(self,myList):
myList[:0] = myList[::2] = myList[1::2] = myList[:]
mylist = [1, 3, 2, 7]
list = myClass()
list.doubleUp(mylist)
print(mylist)
Explanation:
To create a method in Python, the first step is to create a Class.
This is done in the following line:
class myClass:
Then this line defines the method
def doubleUp(self,myList):
This line duplicates the elements of the list
myList[:0] = myList[::2] = myList[1::2] = myList[:]
This defines the list
mylist = [1, 3, 2, 7]
This creates an instance of the class
list = myClass()
This passes the list to the doubleUp method
list.doubleUp(mylist)
This prints the duplicated list
print(mylist)
Answer:
b. Prototype-based
Explanation:
In clustering, certain methods are used to identify groups. This identifies groups of similar objects in a multivariate sets of data which is collected from different fields.
Shared-property clusters shares some property.
Hierarchical cluster builds a hierarchy.
Density-based identifies clusters in a data. While the prototype based sents observation to nearest prototype.
Answer:
<em>import java.util.Scanner;</em>
<em>public class ANot {</em>
<em> public static void main(String[] args) {</em>
<em> Scanner in = new Scanner(System.in);</em>
<em> System.out.println("Please enter a string of words");</em>
<em> String n = in.nextLine();</em>
<em> int count = 0;</em>
<em> for (int i=0; i<n.length(); i++){</em>
<em> if((n.charAt(i) != '.') &&(n.charAt(i) != ',') && (n.charAt(i) != ' ')){</em>
<em> count++;</em>
<em> }</em>
<em> }</em>
<em> System.out.println(count);</em>
<em> }</em>
<em>}</em>
Explanation:
- Prompt User to input the string and assign to a variable
- SET count =0.
- Using a for loop iterate over the string
- if((n.charAt(i) != '.') &&(n.charAt(i) != ',') && (n.charAt(i) != ' ')) then count =count +1.
- PRINT count.