Answer:
//The class definition
public class Questions1_4 {
// main method is defined which signify beginning of program execution
public static void main(String[ ] args) {
// The word "here" is displayed
System.out.print("Here");
// The word "there" is concatenated with "everywhere"
System.out.println("There " + "Everywhere");
// The word "But not" is concatenated with "in Texas"
System.out.println("But not" + "in Texas");
}
}
Explanation:
The program try to show the use of string concatenation. In the code snippet, the last two output statement display string by concatenating them.
The first print statement display "Here" without ending with a new line. The next print statement display "There Everywhere" by concatenating "There" with "Everywhere". The last print statement display "But not in Texas" by concatenating "But not" and "in Texas".
String concatenation means joining pair of string together to form a single string. The "+" operator represent string concatenation in the print statement.
Answer:
Anti-Forensic Techniques.
Explanation:
Anti-Forensic Techniques are thsoe techniques used to deviate the Forensic tools by injecting fake informations, hiding information, planting bugs, editing or erasing information, rendering it impossible to recover the data. It is a criminal way of hacking approach that restrains Forensics to find the hackers.
Anti-Forensic tools and techniques works in oppose to the Forensic tools and techniques that tries to recover the data, locate the hacker.
Thus the correct answer is anti-forensic techniques.
Answer:
#include <iostream>
using namespace std;
void matrix(){
int row = 5, col = 6;
int myarr[row][col];
for (int i = 0; i < 5; i++){
for (int x = 0; x < 6; x++){
if (i == 0){
myarr[i][x] = (x+1)*(x+1);
}else if ( x == 0){
myarr[i][x] = (i+1)*(i+1)*(i+1);
} else if ( i == x){
myarr[i][x] = (i+1);
} else{
myarr[i][x] = myarr[i-1][x] + myarr[i][x-1];
}
}
}
for (int i = 0; i < 5; i++){
for (int x = 0; x < 6; x++){
cout<< myarr[i][x] << " ";
}
cout<< "\n";
}
}
int main(){
matrix();
}
Explanation:
The C++ source code defines a two-dimensional array that has a fixed row and column length. The array is a local variable of the function "matrix" and the void function is called in the main program to output the items of the array.