Answer:
SQL injection is a form of hacking that uses user input fields.
Explanation:
SQL injection is when a piece of code or entire algorithm is input where a program prompts for user input. They can be used to change or access data. To prevent this, a programmer should scrub inputs. Scrubbing data removes slashes and arrows, which or commonly used in code.
Answer:
29
Explanation:
for n=28:
--------------
Algorithm 1 performs f(n) = n2 + n/2 = 28*28 + 28/2 = 798
Algorithm 2 performs f(n) = 12*28 + 500 = 836
for n=29
--------------
Algorithm 1 performs f(n) = n2 + n/2 = 29*29 + 29/2 = 855.5
Algorithm 2 performs f(n) = 12*29 + 500 = 848
so, for n=29, algorithm 2 will be faster than algorithm 1
The output of the program is 10.
def mult(a, b = 1, c = 1):
print(a * b * c)
mult(2, 5)
<h3>Code explanation:</h3>
The code is written in python.
- A function is declared named "multi" and the function has parameter of a, b and c. The default value of b and c are 1.
- Locally, we print the product of a, b and c.
- Finally, we call the function with its inputted parameters. Notice we only had 2 argument while calling the function. This simply implies that the default value for c is used. Therefore, we will have 2 × 5 × 1 = 10
learn more on python here: brainly.com/question/22796383
Bacon, go to the bacon! WORSHIP THE BACON!!!!!!!