In this question, we are missing some of the information that is necessary in order to answer this question properly. However, we can look at what a relational database is in order to help you answer the question on your own.
A relational database is a set of tables from which data can be accessed. This can take place even without the need to reorganize the database tables. The programming interface of a relational database is the Structured Query Language (SQL). This approach was invented by E. F. Codd, who came up with it in 1970 while he was a programmer at IBM.
Answer:
for i in range(0,10):
if SimonPattern[i] == UserPattern[i]:
score = score + 1
i = i + 1
else:
break
if i == 9:
score = score + 1
print("Total Score: {}".format(score))
Explanation:
This for loop was made using Python. Full code attached.
- For loop requires a range of numbers to define the end points. For this Simon Says game, we are talking about 10 characters, so that must be the range for the for loop: from 0 to 10.
- Conditional if tests if Simon pattern matches User's one characheter by one and add point for each match.
- Break statement is ready to escape the for loop at first mismatch.
- As we are starting from index 0, if the users matched all the characters correctly, then we need to add 1, otherwise the maximun score would be 9 and it should be 10.
Answer:
1. High friction
2. High extrusion temperature
Explanation:
Surface cracking on extruded products are defects or breakage on the surface of the extruded parts. Such cracks are inter granular.
Surface cracking defects arises from very high work piece temperature that develops cracks on the surface of the work piece. Surface cracking appears when the extrusion speed is very high, that results in high strain rates and generates heat.
Other factors include very high friction that contributes to surface cracking an d chilling of the surface of high temperature billets.
The working principle of a DC machine is when electric current flows through a coil within a magnetic field, and then the magnetic force generates a torque that rotates the dc motor. The DC machines are classified into two types such as DC generator as well as DC motor.
Answer:
The elastic modulus of the steel is 139062.5 N/in^2
Explanation:
Elastic modulus = stress ÷ strain
Load = 89,000 N
Area of square cross section of the steel bar = (0.8 in)^2 = 0.64 in^2
Stress = load/area = 89,000/0.64 = 139.0625 N/in^2
Length of steel bar = 4 in
Extension = 4×10^-3 in
Strain = extension/length = 4×10^-3/4 = 1×10^-3
Elastic modulus = 139.0625 N/in^2 ÷ 1×10^-3 = 139062.5 N/in^2