Answer:
-26
Explanation:
The given binary number is 1110 0101. Also given that the signed binary number is represented using one's compliment.
We begin by computing the 1s complement representation of 1110 0101 by inverting the bits: 00011010
Converting 00011010 to decimal, it corresponds to 26.
So the 1s complement of the original number is 26. This means that the original number was -26.
import java.util.*;
public class myClass {
public static void main(String args[]) {
Scanner scan = new Scanner(System.in);
System.out.print("Input a String: ");
String str = scan.nextLine();
System.out.print("Input an integer: ");
int num = scan.nextInt();
for(int i=str.length()-1; i>=0; i--) {
for(int j=0; j<num; j++) {
System.out.print(str.charAt(i));
}
}
}
}
Answer: C)definition of empirical measures
Explanation: CSIRT(Computer Security Incident Response Team) is the team that is related with the taking the measurement according to the related incident of the security. The tasks that are performed by the team are detection of security error, dealing with it ,introducing ideas to resolve it etc.
Empirical measure is the measure that technique which has randomness. Random measures are the based on the possible methods that can be used for solving the security issue.Thus feedback of CSIRT is effective or not can be seen by the empirical technique.Thus, the correct option is option(c).
Answer: Desk checking
Explanation:
The desk checking is one of the type of informal way manual testing in which the programmer use this method for evaluating or checking the coding or the different types of algorithm logic in the system.
- It helps in identifying the errors in the program so that it can be executed properly without any interruption in the system.
- It is one of the effective way for the error detection and also known as the modern debugging tool.
According to the given question, the desk checking is the term which is used to refers to the programmers for reading the given program step by step each statement. Therefore, Desk checking is the correct answer.
Therefore, Desk checking is the correct answer.
Answer:
A) The algorithm will work if they are divided into groups of 7
B ) If the groups of 3 are used they do not run in Linear time
Explanation:
ATTACHED TO THIS IS THE DETAILED PROVE OF why the algorithm will work if they are divided into groups of 7 and also the prove that if groups of 3 are used they do not run in Linear time