Answer:
A. 243
B. True
C. 0
Explanation:
Macro instruction is a line of coding used in computer programming. The line coding results in one or more coding in computer program and sets variable for using other statements. Macros allows to reuse code. Macro has two parts beginning and end. After the execution of statement of quiz4 x, 4 the macro x will contain 243. When the macro is invoked the statement will result in an error. When the macro codes are executed the edx will contain 0. Edx serve as a macro assembler.
Answer:
Pseudocode is as follows:
// below is a function that takes two parameters:1. An array of items 2. An integer for weight W
// it returns an array of selected items which satisfy the given condition of sum <= max sum.
function findSubset( array items[], integer W)
{
initialize:
maxSum = 0;
ansArray = [];
// take each "item" from array to create all possible combinations of arrays by comparing with "W" and // "maxSum"
start the loop:
// include item in the ansArray[]
ansArray.push(item);
// remove the item from the items[]
items.pop(item);
ansArray.push(item1);
start the while loop(sum(ansArray[]) <= W):
// exclude the element already included and start including till
if (sum(ansArray[]) > maxSum)
// if true then include item in ansArray[]
ansArray.push(item);
// update the maxSum
maxSum = sum(ansArray[items]);
else
// move to next element
continue;
end the loop;
// again make the item[] same by pushing the popped element
items.push(item);
end the loop;
return the ansArray[]
}
Explanation:
You can find example to implement the algorithm.
The correct answer is:
<span>an article from the New York Times</span>a book by an educational researcher and professor<span>a report from the US Department of Education at www.ed.gov</span>
Answer:
Codes of conduct
Explanation:
Codes of conduct are a set of rules or norms established by an organization for all employees, students or users, to ensure individual responsibilities and proper practices. The code of conduct can cover overall behaviour of individuals in an organization, but a specific code of conduct can be developed for proper computer use in order to establish what is appropriate and available to use in the organization´s computers, and also to restrict or avoid non related content.
Answer:
CREATE TABLE TaxAccount (
Name int NOT NULL,
SSN int NOT NULL,
empID int FOREIGN KEY REFERENCES employee(empID),
federalDeductionAmt int NOT NULL,
stateDeductionAmt int NOT NULL,
ficaDeductionAmt int NOT NULL
);
Explanation:
TaxAccount table will use the primary key of employees table 'empID' which will serve as foreign key in TaxAccount table.
Therefore TaxAccount table will look like this:
CREATE TABLE TaxAccount (
Name int NOT NULL,
SSN int NOT NULL,
empID int FOREIGN KEY REFERENCES employee(empID),
federalDeductionAmt int NOT NULL,
stateDeductionAmt int NOT NULL,
ficaDeductionAmt int NOT NULL
);