List the MIPS registers and their purpose.
Write a program to create a menu-driven calculator that performs basic arithmetic operations (+, -, *, /, and %).Input
The input will be a single line containing two integers and operator(+, -, *, /, and %) similar to 3 + 5.Output
If the given operator is "+", print the sum of two numbers.
If the given operator is "-", print the result of the subtraction of the two numbers.
If the given operator is "*", print the multiplication of the two numbers.
If the given operator is "/", print the result of the division of the two numbers.
If the given operator is "%", print the result of the modulus operation of the two numbers.Explanation
For example, if the given operator is "+" and the two numbers are 3 and 5. As it is an addition operator, your code should print the sum of the given two numbers (3 + 5), which is 8.
Similarly, if the given operator is "*" and the two numbers are 2 and 5.
As it is a multiplication operator, your code should print the result of the multiplication of the given two numbers (2 * 5), which is 10.
Similarly, if the given operator is "-" and the two numbers are 10 and 9.
As it is a subtraction operator, your code should print the result of the subtraction of the given two numbers (10 - 9), which is 1.
Similarly, if the given operator is "%" and the two numbers are 20 and 10.
As it is a Modulus operator, your code should print the result of the remainder of the given two numbers (20 % 10), which is 0.
Write a program to print the absolute difference between the two given numbers. (Absolute difference is the difference without the negative sign)
Given a positive integer, write a program to print the digit in its one's place
For example, if the given temperature Value is 25C then Celsius value is 25.0C, Fahrenheit value is 77.0F, and Kelvin value is 298.0K
Given a dictionary that tells you a person's major, write a Python function that, given a person's name and a major, returns `True` if that person is majoring that subject, and `False` otherwise. Also return false if the student is not in the list of students.
Write a Qbasic program to triple the salary of workers
1 explain the term computer virus
2 give 5 examples of antivirus applications
3 mention instances of how computer viruses are spread
4 symptoms of computer virus
Provide a sentence or two explaining the different between data and information provide a geographical examples to aid you explanation
I have a boolean function that is checking a string for non alphanumeric characters. I managed to get it to work but I can not use the string outside of the function with the the non alphanumeric characters removed and I cannot figure out why. When i try to output the string to a file from within the function it only inputs the last character.