Answer:
The answer is "Option B"
Explanation:
Virtualization in technology reflects the fact, that everything is generated in an imaginary model, like hardware systems, storage areas, and computer system resources, and other options were wrong, which can be described as follows:
- In option a, It is used in the network administration.
- In option c, It is used as the process of transmission, that is used in communication.
- In option d, It offers the instruction, that executes our process at fast speed.
Answer:
The program written in Java is given in the explanation section
Explanation:
public class num9 {
//Defining the method CountCharacters()
public static int CountCharacters(char userChar, String userString){
int c = userString.length();
int count=0;
for(int i=0; i<c; i++){
if(userString.charAt(i)==userChar){
count++;
}
}
return count;
}
//Main method begins here
public static void main(String[] args) {
char n ='n';
String word = "Monday";
//Calling the method CountCharacters()
System.out.println(CountCharacters(n,word));
}
}
Answer:
1) SQL Server
SELECT Top 5 concate(first name,' ',last name) AS Full name, Current age AS Age, state AS Address, Phone number AS Contact number from actor ORDERBY Current age DSC ;
2) MySQL
SELECT concate(first name,' ',last name) AS Full name, Current age AS Age, state AS Address, Phone number AS Contact number from actor ORDERBY Current age DSC limit 5;
Explanation:
There two queries first having syntax works fine in SQL server and later with MySQL. All bold faced words are sql keywords. I assumed the tablename is actor as table name is not given if table name is any other replace actor with that name.
Answer:
EXAMPLE -
Create a variable and assign your age
var myage = 32;
type your age:
console.log(my age) ;
Notice that we did not type the actual numeric age. We used the variable instead. There wouldn’t be any purpose of declaring a variable if we were going to type 32 directly.
This makes the scrip more portable which means that the result on the screen is independent of the code console.log(myAge); . If we need to change our age all we have to do is to assign another number to the variable myAge and the output will change automatically. That’s the purpose of a variable.