Answer: Servlet
Explanation: JSP page compilation is the process of compiling of the file before it can be turned towards the live server .There is a request that is made towards the JSP page then is compiled into a JSP servlet. Before the execution of the JSP program, it is turned in to a JSP servlet .JSP is a program that work on the server side and reduce the work load of the developers.
Answer:
hybrid topology
Explanation:
The type of topology that is being described is known as a hybrid topology. Like mentioned in the question this is an integration of two or more different topologies to form a resultant topology which would share the many advantages and disadvantages of all the underlying basic topologies that it is made up of. This can be seen illustrated by the picture attached below.
Answer:
See explaination
Explanation:
void showSeatingChart(string seatingChart[20][40], const int ROWS, const int COLS){
for(int i = 0;i<ROWS;i++){
for(int j = 0;j<COLS;j++){
cout<<seatingChart[i][j]<<" ";
}
cout<<endl;
}
}
void f1(int array, int size);
void f1(int& array, int size);
void f1(int array[100], int size);
void f1(float array[], int size);
All of the above
C and D
A and B
Answer:
Only
Option: void f1(float array[], int size);
is valid.
Explanation:
To pass an array as argument in a function, the syntax should be as follows:
functionName (type arrayName[ ] )
We can't place the size of the array inside the array bracket (arrayName[100]) as this will give a syntax error. The empty bracket [] is required to tell the program that the value that passed as the argument is an array and differentiate it from other type of value.
Answer:
import java.util.Arrays;
public class sort{
public static void main(String []args){
int[] arr = {2,6,9,1,5,3};
int n = arr.length;
Arrays.sort(arr);
for(int i=0;i<n;i++){
System.out.println(arr[i]);
}
}
}
Explanation:
first import the library Arrays for using inbuilt functions.
create the main function and define the array with elements.
then, use the inbuilt sort function in java which sort the array in ascending order.
syntax:
Arrays.sort(array_name);
then, use for loop for printing the each sorting element on the screen.
Answer:
A. placing a found virus in a secure area on the hard drive
Explanation:
When a file is defected in a computer, quarantining is applied to prevent other parts of the computer. The infected file is isolated and if you let your antivirus software, it can delete the infected file.
Answer:
Physical / Data link layer
Explanation:
If two computers (A & B) are directly connected through Ethernet cable. A is sending data to B, the data would be transmitted if the network is clear but if the network is not clear, the transmission would wait until the network is clear.
The Open Systems Interconnection model (OSI model) has seven layers each with its own function.
The physical layer is the first layer responsible for data transmission over a physical link. The data packets are converted to signals over a transmission media like ethernet cable.
The data link layer is the second layer in the OSI layer responsible for transmission of data packets between nodes in a network. It also provides a way of detecting errors and correcting this errors produced as a result of data transmission.