1/. A signal is transmitted from a ship and an echo is received from an object below the ship 4 s later. Calculate the distance of the object from the ship if the speed of sound in water is 1400 m/s.
What are the various types of constructors used in object oriented programming? Explain with an example.
Explain the difference between class to basic type conversion and basic to class type conversion
Use basic to class type conversion to covert a long integer value to class datatype
Enter a 4 digit number and display the value at thousands position,hundreds position, tens position and ones position.
Write a program to create a class students having name, id, age. Create a file student.txt and open in append mode. Write the detail of 3 students into a file and read the data from the file and display on screen. Also copy content of this file into another file
The goal of this coading exam is to quickly get you off the ground eith the array method every().there is a selection going on for the civil service sector candidates have to participate in x number of events and, the condidates who score more than 75 points in every event will be selectedgiven candidatesList as input,it contains objects with the name of the condidate and an array consisting of points achieved in each event by the condidate.filter the condidates who have scored more than 75 points in every event
log the array consisting of the names of the selected candidates in the console
i/p:the i/p will be a siongle line containing an array with names of the selected candidates
constraints:keys of objects should be given in quotes
input:
[{'name':'Blake Hodges','points':[76,98,88,84]},{'name':'James Anderson','points':[0,98,12,33]},{'name':'Matthew Norton','points':[89,67,83,93]}]
output:
['Blake Hodges']
1 an array containing 5 integer elements is already provided for you in the code editor below
2 print out the cube of the 1st, 3rd and 5th element of the given array
What I Know
Before you proceed and explore on computing probabilities under the normal
curve let us see how much you know before we tackle the lesson. Below is a 5-lem
true or false test Determine whether the statement is true or false Wanite Tithe
statement is true and Fit false on the blank provided before each number
7. Probability value is a number from 0 to 1
2. Probability value is a number from - 1 to 1
3. Finding the area of a region is the same as finding the probability
associated with that region.
4. The probability that the z-score falls at most = -1 is equal to the
probability of that the Z-score falis less than z = -1
6. It is possible to have a negative probability
You want to determine the opinion of students in New York University about the new platform used in learning this pandemic. You wanted to use stratified sampling in getting responses from a sample of 500 students. Given the following data, identify how many samples are there in each grade level.
Grade 7: 1,557
Grade 8: 1, 209
Grade 9: 1,054
Grade 10: 1, 988
Grade 11:1, 456
Grade 12: 1,764
A proton is placed in a uniform electric field of 2.75 × 103 N/C. Calculate the
magnitude of the electric force felt by the proton. (The charge of a proton is
+1.6 × 10−19 C).