Answer:
The contents in ax and bx registers are as following:-
ax=3432
bx=4670
Explanation:
mov command in 8086 is an important command in 8086 microprocessors.It moves the data from the source to destination.
mov destination,source
add it adds the data to the destination with the content of destination.
add a,b means add b to a.
in operation mov ax,3432 we are moving 3432 to ax register similarly moving 1238 to bx.
Now adding ax to bx so the content of bx =1238+3432 that is 4670.
Answer:
Cloud Architecture is basically consist of front end platform, back end platform, cloud and a network.
Explanation:
Front end platform consists of client and mobile device. while Back end platform consist of server and storage. The Cloud is the collection of data and Network is consist of Intranet and internet.
All the above mentioned components combined together to complete the architecture of cloud.
Answer:
import java.util.*;
public class Main
{
public static void main(String[] args) {
String[] names = {"Ted", "Marshall","Lily", "Barney","Robin", "Stella", "Ranjit", "Wendy"};
Scanner input= new Scanner(System.in);
int i;
try
{
System.out.print("Enter an integer(1 to 8) to display a name in that position: ");
i = input.nextInt();
i = i - 1;
System.out.println(names[i]);
input.close();
}
catch (ArrayIndexOutOfBoundsException e){
System.out.println("Number is out of range!");
}
}
}
Explanation:
Initialize an array containing 8 names
Inside the try block:
Ask the user for a number
Decrease the number by 1, so that it corresponds to the array index
Print the name in that position
Inside the catch block, define an ArrayIndexOutOfBoundsException that will print the error message, if the user enters a number that is not in the range
Answer:
D.inflows are greater than or equal to outflows.
Explanation:
A budget is a financial plan used for the estimation of revenue and expenditures of an individual, organization or government for a specified period of time, often one year. Budgets are usually compiled, analyzed and re-evaluated on periodic basis.
A balanced budget is a type of budget in which inflows are greater than or equal to outflows. Thus, when cash inflows (income) is greater than or equal to cash outflows (expenses), a budget is said to be balanced.
The first step of the budgeting process is to prepare a list of each type of income and expense that will be integrated or infused into the budget.
This ultimately implies that, before preparing a budget, it is of utmost importance to know total income (inflows) and expenses (outflows).
The final step to be made by the management of an organization in the financial decision-making process is to make necessary adjustments to the budget.
In conclusion, the benefits of having a budget is that it aids in setting goals, earmarking revenues and resources, measuring outcomes and planning against contingencies. It is typically used by individuals, government, organizations or companies due to the fact that, it's tied directly to the strategy and tactics of a company on an annual basis. Also, it is used to set a budget for marketing efforts while anticipating on informations about the company.
The pseudocode to calculate the average of the test scores until the user enters a negative input serves as a prototype of the actual program
<h3>The errors in the pseudocode</h3>
The errors in the pseudocode include:
- Inclusion of unusable segments
- Incorrect variables
- Incorrect loops
<h3>The correct pseudocode</h3>
The correct pseudocode where all errors are corrected and the unusable segments are removed is as follows:
start
Declarations
num test1
num test2
num test3
num average
output "Enter score for test 1 or a negative number to quit"
input test1
while test1 >= 0
output "Enter score for test 2"
input test2
output "Enter score for test 3"
input test3
average = (test1 + test2 + test3) / 3
output "Average is ", average
output "Enter score for test 1 or a negative number to quit"
input test1
endwhile
output "End of program"
stop
Read more about pseudocodes at:
brainly.com/question/11623795