Answer:
In Java
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
int mnth, yr;
Scanner input = new Scanner(System.in);
System.out.print("Month: "); mnth = input.nextInt();
System.out.print("Year: "); yr = input.nextInt();
boolean lpYear = (yr % 4 == 0 && yr % 100 != 0) || (yr % 400 == 0);
if(mnth == 1 || mnth == 3 || mnth == 5 || mnth== 7 || mnth == 8 || mnth == 10 || mnth == 12){
System.out.print("31 days"); }
else if(mnth == 2){
System.out.print(((lpYear) ? "29 days" : "28 days")); }
else if(mnth == 9 || mnth == 6 || mnth == 4 || mnth== 11){
System.out.print("30 days"); }
else{ System.out.print("Invalid"); }
}
}
Explanation:
See attachment for complete program where comments were used as explanation.
Answer: the answer is A.
Explanation: hope this helps!
Answer:
Option (A) is the correct answer.
Explanation:
A Computer system can be the target for the crime on which a criminal can acquire the information from the computer system which is stored on it. A Criminal is targeting the system with the help of some software that is entered on the computer system through a network.
In the above question, paragraphs are describing the content related to the crime which targets the computer system. This is a concept of a "computer as target". Hence option "A" is the correct answer while the other is not valid because--
- Option b suggests the concept behind the storage device of a computer but in the question, it is about the crime of a computer.
- Option c suggests the concept behind the computer is a criminal but in the question, it is about the crime of a computer.
- Option d suggests the concept behind the communication of a computer but in the question, it is about the crime of a computer.
Answer:
short- term memory
Explanation:
Computer stores memory in two major ways: long-term and short-term. Short-term memory usually takes seconds to delete except rehearsals or other strategies are used to retain it for longer periods. Thus, short-term memory are simply limited-capacity memory system for retaining information for a short period.