Answer: You could use the path (2)
Explanation:
It is not necessary for the file to be in the same folder
You can use the relative path to a sub-folder
Backward Slashes are not necessary for windows. (you could also use forward slashes)
The full path is not necessary if the file is in the same folder.
Answer:
Following are the program in the C++ Programming Language.
//set header file or namespace
#include <iostream>
using namespace std;
//define main function
int main() {
//set integer type array with indexing 10
int a[10];
//set integer type variable to 1
int i=1;
//set element in 1st index
a[0]=17;
//set element in last index
a[9]=29;
//set while loop for the remaining elements
while(i<9)
{
//set -1 in the remaining elements
a[i]=-1;
i++;
}
//set for loop to print array
for ( int j = 0; j < 10; j++ ) {
cout << a[j]<<endl;
}
}
<u>Output:</u>
17
-1
-1
-1
-1
-1
-1
-1
-1
29
Explanation:
In the following program, we define the main function "main()" and inside it.
- Set an integer type array element "a[]" with index value 10.
- Set integer data type variable "i" initialize to 1.
- Set elements in the first and last place in the array.
- Set the while loop to initialize elements for the remaining place.
- Set the for loop to print the array elements.
Answer:
A computer can use a source code
Explanation:
The code that was copied
gets compiled by the terminal and
gets its traced erased
therefore there is no need to give
credit and code still used in proccess
Example:
You can get a source code from stackoverflow
github, you can use that code to build your website
giving no credit to the owners of that code
the code will get its traced erased by the compiler
Answer:
Hello the loop required for your question is missing below is the loop
Loop: lw x1,0(x2)
addi x1,x1, 1
sw x1,0(x2)
addi x2,x2,4
sub x4,x3,x2
bnz x4,Loop
answer : attached below
Explanation:
<u>Show the phases of each instruction per clock cycle for one iteration of the loop </u>
loop length
loop
lw x1,0(x2)
addi x1,x1, 1 values attached below
sw x1,0(x2)
addi x2,x2,4
sub x4,x3,x2
bnz x4,Loop
Attached below are the phases of each instruction per clock cycle for one iteration of the loop
Answer:
D. Distracts the users from core message.
Explanation:
During web development using bright and glaring font colors is often associated with highlighting the key content of the website.
For instance, one can often observe that organisation's logo are presented using bright and glaring font colors or in some other case main key buttons in websites are made attractive using bright colors.
Best example for illustration purpose here is font and colors used by Google for creating Doodle. Google Doodle are always created by using combination of bright and glaring font colors whereas other information on page is presented using light and simple fonts.
Hence the correct option is D.