Answer:
This is correct. And to remove the confusion, I am adding the meaning of the Pseudocode. You need to begin with the algo that you are working upon, and then you need it to phrase the algo with the words which are easy to be transcribed in the form of the computer instructions. Now you need to indent the instructions properly inside the loop or within the conditional clauses. And while doing this, you need to not use the words which are used in certain forms of computer language. However, IF and THEN and ELSE and ENDIF are very frequently used as pseudo-code. Hence, your answer is correct.
Explanation:
Please check the answer section.
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:
Someone can install an operating system by disk or removable storage media.
Disk being floppy, tape or commonly a DVD.
Removable storage being a USBdrive.
Answer:
92
Explanation:
int index = 1 + 6 % 3;
Modulo is calculated before adding, so as first you need to calc 6 % 3, result is 0.
int index = 1 + 0 = 1;
Indexes in arrays starts from 0, ends in length - 1. So first element in the array has 0 as index, second element has 1 as idnex, etc. Your index = 1, so value of the second element in the grades will be your result. Finally, the answer is 92.
Answer:
Scott should <u>"hire a coach to teach them about new technologies".</u>
Explanation:
A coach is the person that will help Mr. Scott to know about different technologies that will help him to be a good parent. This will help him to enhance his skills that are related to technologies in terms of parenting skills. Option C is the best suitable answer that help him to learn more about technology and trends.