Answer:
This question required option (See Explanation)
Explanation:
Required
How to declare 2D array
Using Java as a programming language of reference, the syntax to declare a 2D array is:
Data-Type [][] Array-Name = new Data-Type[Rows][Column]
From the question, the data type is String. So, the syntax becomes
String [][] Array-Name = new String[Rows][Column]
Assume the array name is: myArray; The above becomes
String [][] myArray= new String[Rows][Column]
<em>I will not assume values for Rows and Column, but it is worth saying that Rows and Columns are positive integers greater than 1 to make the array a 2 D array</em>
Answer:
1. do not give out your age
2. don't use your real name unless you are supervised
3.dont put all your information out there
Answer:
The algorithm is as follows
1. Start
2. Declare Integer N
3. Input N
4. While N > 0:
4.1 Print(N%10)
4.2 N = N/10
5. Stop
Explanation:
This line starts the algorithm
1. Start
This declares an integer variable
2. Declare Integer N
Here, the program gets user input N
3. Input N
The while iteration begins here and it is repeated as long as N is greater than 0
4. While N > 0:
This calculates and prints N modulus 10; Modulus of 10 gets the individual digit of the input number
4.1 Print(N%10)
This remove the printed digit
4.2 N = N/10
The algorithm ends here
5. Stop
<u>Bonus:</u>
The algorithm in Python is as follows:
<em>n = 102</em>
<em>while n>0:</em>
<em> print(int(n%10))</em>
<em> n= int(n/10)</em>
<em> </em>
Answer:
True
Explanation:
There are four paths in this network. A is an immediate predecessor of C and of D. B is also an immediate predecessor of C and of D. C and D are both immediate predecessors of E. Given the above scenario
A. by combining similar instructions into groups, which will then execute in parallel