Answer:
Kindly check explanation
Explanation:
Shell scripts are used for writing codes which may involve writing together a complete set of task in a single script. These set if codes or instructions could be run at once without having to run this program one after the other on a command line. This way it avoid having to repeat a particular task each time such task is required. As it already combines a sequence of command which would or should have been typed one after the other into a compiled single script which could be run at once.
A shell script could be written for a control flow construct :
if [expression]
then (command 1)
else (command 2)
.....
Answer:
This question is answered using Java programming language:
public static void print10(String[]arr){
for(int i =0; i<10;i++){
System.out.println(arr[i]);
}
}
Explanation:
This line defines the method
public static void print10(String[]arr){
This iterates from 0 to 9 index of the array. In other words, 1st to 10th
for(int i =0; i<10;i++){
This prints the required output (one on a line)
System.out.println(arr[i]);
}
}
<em>Refer to attachment for the complete program that includes the main method.</em>
English mathematician and inventor Charles Babbage is credited with having conceived the first automatic digital computer. During the mid-1830s Babbage developed plans for the Analytical Engine. Although it was never completed, the Analytical Engine would have had most of the basic elements of the present-day computer.
Answer: An example of such a scenario would be when the user name and password meant to allow access to a customers bank account statement is cracked by unauthorized people this causing alteration (in the form of data diddling attacks) in the data contained in the statement. This is a compromise in integrity.
Explanation:
Confidentiality entails securing things people want to remain secret. An account statement of a bank customer is a confidential document which is to be kept secret. A password allows access to it.
Integrity implies receiving a sent data/information as accurately as it came from a sender. A data diddling attack alter integrity because the original information is altered by an unauthorized person.
In programming technology it used as common and some place it is varies.
If variable declared as string data type position represents the character of the string. If variable declare as integer data type position represent as cell reference.
Curly braces containing a number indicates the position of character in it data type is string
At the same it also indicates the position of a array .
Dim a as string = “HELLO”
A(2) – it is represents “L” where it started 0 optional bas
Dim a(10) as integer =(1,2,3,4,5,6,7,8,9,10)
A(2) – it represented array cell position answer is “3”.