Answer:
A. <Title> tag
Explanation:
Required
Tag that can be written in the <head> element
Of the given options, <title> is correct.
This is so because, it is compulsory to have the <title> tag and the only location where it can be placed is inside the <head> tag.
Its function is to display the title of a page
e.g.
<em><title> This is my first page </title></em>
Answer:
B
Explanation:
This question demonstrates the concept of method overloading
Method overloading means having different versions of the same method. In this case the method mystery() has three versions. The compiler is able to determine which method to call by their different parameters
The first implementation of mystery requires an array of integers as parameter
The second implementation requires an int variable
The third implementation requires a String
The Method call mystery(6 * 8) will output B because 6*8 evaluates to an integer which is the expected argument.
<span>Five questions that people are most likely to ask about the application are as follows:1. What is the use and function of this application?. 2. Who is this application for? 3. How much does this application cost?. 4. Where can the application been used? and 5. Why should I use this application? </span>
Answer:
import java.util.Scanner;
public class ss11{
public static void main (String[]args) {
Scanner keyboard = new Scanner (System.in)
String a1, a2, a3, a4, a5;
int i1, i2, i3, i4, i5;
System.out.println("Enter a four bit binary number:");
a1= keyboard.next();
a2= a1.substring(0,1);
a3= a1.substring(1,2);
a4= a1.substring(2,3);
a5= a1.substring(3,4);
i1 = Integer.parseInt(a2);
i2 = Integer.parseInt(a3);
i3 = Integer.parseInt(a4);
i4 = Integer.parseInt(a5);
i1= i1 * 8;
i2= i1 * 4;
i3= i1 * 2;
i4= i1 * 1;
i5= i1+i2+i3+i4;
System.out.println("The converted decimal number is: +i5);
}
}
Explanation: