Managerial Accounting Final Quiz

Student Quiz

body{background:#f8f9fa}
.quiz-box{background:#fff;padding:25px;border-radius:10px;box-shadow:0 0 15px rgba(0,0,0,.1)}
.hidden{display:none}
#timer{color:red;font-weight:bold}

Academic Quiz System

/* ===================== ELEMENTS ===================== */
const elName = document.getElementById(“name”);
const elEmail = document.getElementById(“email”);
const studentInfo = document.getElementById(“studentInfo”);
const quizSection = document.getElementById(“quizSection”);
const questionBox = document.getElementById(“questionBox”);
const resultSection = document.getElementById(“resultSection”);
const finalResult = document.getElementById(“finalResult”);

/* ===================== QUESTION BANK ===================== */
const allQuestions = [
// Original 45 questions here (keep only the first 45, not the duplicates)
{
text: “Why do organizations prepare budgets?”,
options: [
“To increase revenue”,
“To evaluate employees”,
“To plan and control resources”,
“To reduce tax liability”
],
answer: “To plan and control resources”
},
{
text: “Which of the following is included in the sales budget?”,
options: [
“Expected sales in units and revenue”,
“Direct material purchases”,
“Factory overhead costs”,
“Cash disbursements”
],
answer: “Expected sales in units and revenue”
},
// … continue with original 45 questions …
{
text: “Good capital budgeting decisions is consistent with management’s primary goal of maximizing shareholder value.”,
options: [“True”, “False”],
answer: “True”
},
{
text: “Sunk costs are costs that cannot be avoided, even if the project is not undertaken.”,
options: [“True”, “False”],
answer: “True”
},
{
text: “Externalities are the effects the acceptance of a project may have on other firm cash flows.”,
options: [“True”, “False”],
answer: “True”
}
];

// Add additional questions AFTER the array is defined
allQuestions.push(
// Flexible Budget Questions
{
text: “A company’s flexible budget formula for revenue is $120 per unit. If the actual activity level was 450 units and the actual revenue was $52,200, what is the total revenue variance?”,
options: [
“$1,800 Favorable”,
“$1,800 Unfavorable”,
“$2,200 Favorable”,
“$2,200 Unfavorable”
],
answer: “$1,800 Unfavorable”
},
{
text: “A cost has a fixed component of $2,000 and a variable component of $15 per unit. For an actual activity level of 300 units, what is the total flexible budget amount for this cost?”,
options: [
“$4,500”,
“$6,500”,
“$2,450”,
“$8,000”
],
answer: “$6,500”
},
{
text: “The flexible budget for supplies expense is $500 + ($4.25 per machine hour). If 1,200 machine hours were actually worked and the actual supplies cost was $5,600, what is the spending variance?”,
options: [
“$60 Favorable”,
“$60 Unfavorable”,
“$300 Favorable”,
“$300 Unfavorable”
],
answer: “$60 Unfavorable”
},
{
text: “The planning budget estimated 400 units of sales. The actual sales were 420 units. If the budgeted selling price was $85 per unit, what is the activity variance for revenue?”,
options: [
“$1,700 Favorable”,
“$1,700 Unfavorable”,
“$3,400 Favorable”,
“$0”
],
answer: “$1,700 Favorable”
},
{
text: “A company’s budgeted net operating income was $12,000 for 1,000 units. The flexible budget net operating income for the actual 1,050 units sold is $12,800. What is the activity variance for net operating income?”,
options: [
“$800 Favorable”,
“$800 Unfavorable”,
“$12,800 Favorable”,
“$12,000 Unfavorable”
],
answer: “$800 Favorable”
},
{
text: “Based on a flexible budget formula, the expected total cost for 800 labor hours is $9,400. The actual cost for 800 hours was $9,650. What is the total variance for this cost?”,
options: [
“$250 Favorable”,
“$250 Unfavorable”,
“$9,400 Favorable”,
“$9,650 Unfavorable”
],
answer: “$250 Unfavorable”
},
{
text: “If the planning budget for an expense is $10,000 and the flexible budget (based on actual activity) is $10,500, what can be concluded?”,
options: [
“Actual activity was lower than planned.”,
“Actual activity was higher than planned.”,
“Spending was higher than expected for the actual activity.”,
“The variance is solely due to price changes.”
],
answer: “Actual activity was higher than planned.”
},

// Cash Budget Questions
{
text: “A company’s beginning cash balance is $15,000. Budgeted cash receipts are $120,000 and budgeted cash disbursements are $110,000. The desired ending cash balance is $20,000. What is the net cash surplus (or deficit) before financing for the period?”,
options: [
“$5,000 surplus”,
“$5,000 deficit”,
“$10,000 surplus”,
“$10,000 deficit”
],
answer: “$5,000 surplus”
},
{
text: “In a cash budget, if total cash available before financing is $85,000 and the desired ending cash balance is $40,000, how much must the company borrow (if any)?”,
options: [
“$0 (No borrowing needed)”,
“$5,000”,
“$45,000”,
“$125,000”
],
answer: “$0 (No borrowing needed)”
},
{
text: “A company budgets quarterly sales of $50,000, $60,000, $70,000, and $80,000. All sales are on credit, with 60% collected in the quarter of sale and 40% collected the following quarter. What are the budgeted cash collections for the third quarter?”,
options: [
“$42,000”,
“$62,000”,
“$66,000”,
“$70,000”
],
answer: “$66,000”
},
{
text: “A company’s budgeted direct material purchases are $12,000. 70% is paid in the quarter of purchase, and 30% is paid in the following quarter. If the beginning accounts payable for materials is $2,500, what are the total budgeted cash disbursements for materials in the first quarter?”,
options: [
“$8,400”,
“$10,900”,
“$12,000”,
“$14,500”
],
answer: “$10,900”
},
{
text: “The beginning cash balance is $8,000. Budgeted cash receipts are $95,000. Budgeted cash disbursements are $102,000. If the company must maintain a minimum cash balance of $5,000, how much must it borrow?”,
options: [
“$4,000”,
“$5,000”,
“$9,000”,
“$14,000”
],
answer: “$4,000”
},
{
text: “A company repays a bank loan principal of $10,000 in a quarter. How is this transaction reflected in the cash budget’s financing section?”,
options: [
“As a cash receipt”,
“As a cash disbursement”,
“It does not affect the cash budget”,
“As a reduction in the required borrowing”
],
answer: “As a cash disbursement”
},
{
text: “A company’s budget shows total cash available before financing of $72,000 and desired ending cash of $30,000. If the beginning cash was $25,000, what were the total net cash flows from operations (receipts minus disbursements)?”,
options: [
“$47,000”,
“$72,000”,
“$42,000”,
“$17,000”
],
answer: “$47,000”
},

// Make-or-buy and Capital Budgeting Questions
{
text: “A product line has traceable fixed costs of $40,000. If dropping the line frees up factory space that can be rented for $15,000 annually, what is the net change in operating income from dropping it, assuming the line’s contribution margin is $50,000?”,
options: [
“$5,000 increase”,
“$5,000 decrease”,
“$25,000 increase”,
“$25,000 decrease”
],
answer: “$5,000 increase”
},
{
text: “A company can buy a component for $18 per unit. Making it internally costs $12 in variable costs and $5 in allocated fixed overhead that would NOT be avoided if bought. What is the financial advantage (per unit) of making the component?”,
options: [
“$1”,
“$6”,
“$11”,
“No advantage; buying is cheaper”
],
answer: “$1”
},
{
text: “A company has idle capacity. A special order for 1,000 units requires a price of $25 per unit. The normal price is $40. Variable costs are $18 per unit, and the order requires special packaging costing $2 per unit. No other fixed costs are affected. What is the net effect on operating income?”,
options: [
“$5,000 increase”,
“$5,000 decrease”,
“$7,000 increase”,
“$15,000 decrease”
],
answer: “$5,000 increase”
},
{
text: “A company produces two products using a constrained resource with only 1,000 hours available. Product A has a contribution margin of $40 per unit and requires 2 hours per unit. Product B has a contribution margin of $30 per unit and requires 1 hour per unit. To maximize profit, which product should be prioritized?”,
options: [
“Product A”,
“Product B”,
“Produce equal amounts of both”,
“Cannot be determined”
],
answer: “Product B”
},
{
text: “At the split-off point, Product X can be sold for $50,000 or processed further for $15,000 and then sold for $70,000. What is the financial advantage (disadvantage) of processing further?”,
options: [
“$5,000 advantage”,
“$5,000 disadvantage”,
“$20,000 advantage”,
“$20,000 disadvantage”
],
answer: “$5,000 advantage”
},
{
text: “In a make-or-buy decision, which of the following costs is typically NOT relevant?”,
options: [
“The purchase price from the supplier”,
“The variable manufacturing costs to make internally”,
“The direct fixed manufacturing costs that can be avoided if bought”,
“The allocated portion of the factory manager’s salary”
],
answer: “The allocated portion of the factory manager’s salary”
},
{
text: “A segment has sales of $100,000, variable expenses of $60,000, and traceable fixed expenses of $35,000. Common fixed expenses allocated to it are $10,000. If the segment is dropped, what is the impact on overall company operating income?”,
options: [
“$5,000 increase”,
“$5,000 decrease”,
“$15,000 decrease”,
“No change”
],
answer: “$5,000 decrease”
},

// Additional Capital Budgeting Questions
{
text: “Which of the following statements about the payback period method is least accurate?”,
options: [
“Provides a rough measure of a project’s liquidity”,
“Considers all cash flows throughout the entire life of a project”,
“Is the number of years it takes to recover the original cost of the investment”
],
answer: “Considers all cash flows throughout the entire life of a project”
},
{
text: “Which of the following statements about NPV and IRR is least accurate?”,
options: [
“The IRR is the discount rate that equates the present value of the cash inflows with the present value of outflows”,
“For mutually exclusive projects, if the NPV method and the IRR method give conflicting rankings, the analyst should use the IRRs to select the project”,
“The NPV method assumes that cash flows will be reinvested at the cost of capital, while IRR rankings implicitly assume that cash flows are reinvested at the IRR”
],
answer: “For mutually exclusive projects, if the NPV method and the IRR method give conflicting rankings, the analyst should use the IRRs to select the project”
},
{
text: “Which of the following statements is least accurate about the discounted payback period?”,
options: [
“Frequently ignores terminal values”,
“Is generally shorter than the regular payback”,
“Is the time it takes for the present value of the project’s cash inflows to equal the initial cost of the investment”
],
answer: “Is generally shorter than the regular payback”
},
{
text: “Which of the following statements about NPV and IRR is least accurate?”,
options: [
“The IRR can be positive even if the NPV is negative”,
“When the IRR is equal to the cost of capital, the NPV will be zero”,
“The NPV will be positive if the IRR is less than the cost of capital”
],
answer: “The NPV will be positive if the IRR is less than the cost of capital”
},
{
text: “What is the payback period for a copier costing $5,000 with cash flows of $3,000 in Year 1 and $2,000 in Year 2?”,
options: [“1.5 years”, “2.0 years”, “2.5 years”],
answer: “2.0 years”
},
{
text: “What is the discounted payback period for a copier costing $5,000 with a 10% discount rate and cash flows of $3,000, $2,000, and $2,000 over three years?”,
options: [“1.4 years”, “2.0 years”, “2.4 years”],
answer: “2.4 years”
},
{
text: “What is the NPV of a copier costing $5,000 with a 10% discount rate and cash flows of $3,000, $2,000, and $2,000 over three years?”,
options: [“-$309”, “$883”, “$1,523”],
answer: “$883”
},
{
text: “What is the IRR for a copier costing $5,000 with cash flows of $3,000, $2,000, and $2,000 over three years?”,
options: [“10%”, “15%”, “20%”],
answer: “20%”
},
{
text: “If the projects are mutually exclusive, the company should:”,
options: [
“Reject both projects”,
“Accept Project A (NPV is positive) and reject Project B (NPV is negative)”,
“Reject Project A (NPV is positive) and accept Project B (NPV is positive)”
],
answer: “Accept Project A (NPV is positive) and reject Project B (NPV is negative)”
},
{
text: “We have multiple IRRs when cash flows are _______.”,
options: [“Traditional”, “Negative”, “Unconventional”],
answer: “Unconventional”
},
{
text: “NPV becomes negative when cost of capital is greater than IRR.”,
options: [“True”, “False”],
answer: “True”
},
{
text: “Mutually exclusive projects means you can select all the available projects.”,
options: [“True”, “False”],
answer: “False”
},
{
text: “If cash flows become negative at any point in time other than the first year, these cash flow patterns are called traditional cash flows.”,
options: [“True”, “False”],
answer: “False”
},
{
text: “NPV method is less superior to payback period.”,
options: [“True”, “False”],
answer: “False”
},
{
text: “The IRR is the discount rate that equates the present values of the project’s expected cash inflows and outflows and, thus, is the discount rate for which the NPV of a project is greater than zero.”,
options: [“True”, “False”],
answer: “False”
}
);

/* ===================== SETTINGS ===================== */
const QUESTIONS_PER_QUIZ = allQuestions.length;
const PASS_PERCENT = 50;
const QUIZ_TIME = 600; // 10 minutes

/* ===================== VARIABLES ===================== */
let quiz = [], index = 0, answers = [], timer, timeLeft = QUIZ_TIME;

function shuffle(arr){ return arr.sort(()=>Math.random()-0.5); }

/* ===================== FUNCTIONS ===================== */
function startQuiz(){
let n = elName.value.trim();
let e = elEmail.value.trim();
if(!n || !e){ alert(“Fill all fields”); return; }

quiz = shuffle([…allQuestions]);

studentInfo.classList.add(“hidden”);
quizSection.classList.remove(“hidden”);

renderQuestion();
startTimer();
}

function renderQuestion(){
let q = quiz[index];
let html = `

Q${index+1}. ${q.text}

`;
q.options.forEach((opt,i)=>{
html += `

`;
});
html += ``;
questionBox.innerHTML = html;
}

function next(){
let sel = document.querySelector(‘input[name=”q”]:checked’);
if(!sel){ alert(“Select an answer”); return; }

answers[index] = sel.value;
index++;
index {
timeLeft–;
document.getElementById(“timer”).innerText = “Time left: ” + timeLeft + “s”;
if(timeLeft { if(q.answer === answers[i]) score++; });
let status = (score/quiz.length)*100 >= PASS_PERCENT ? “PASS” : “FAIL”;

finalResult.innerHTML = `
Name: ${elName.value}
Score: ${score}/${quiz.length}
Status: ${status}
`;

saveToGoogleSheet(elName.value, elEmail.value, score, status);
}

function downloadCertificate(){
html2pdf().from(document.getElementById(“certificate”)).save(“Certificate.pdf”);
}

/* ===================== GOOGLE SHEET SAVE ===================== */
function saveToGoogleSheet(name,email,score,status){
fetch(“https://script.google.com/macros/s/AKfycbz4KCc14Cw-ozwusB3cEa0bgAxbohLKUIOMMkX_T58/dev”,{
method:”POST”,
headers:{“Content-Type”:”application/json”},
body:JSON.stringify({name,email,score,status})
});
}

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *