Business Finance Test of Knowledge

Student Quiz

body {
background-color: #f8f9fa;
}
.main-container {
display: flex;
justify-content: space-between;
}
.quiz-container {
max-width: 700px;
background: #fff;
padding: 30px;
border-radius: 10px;
box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
flex: 1;
margin-right: 20px;
}
.sidebar {
width: 300px;
}
.hidden {
display: none;
}
.form-check {
margin-bottom: 10px;
}
#timer {
font-size: 18px;
font-weight: bold;
color: red;
}

Student Quiz

let quizTaken = false;
let timer;
const questions = [
{
“text”: “Which of the following is an advantage of a sole proprietorship?”,
“options”: [“Limited liability”, “Easier access to capital”, “Full control over business decisions”, “Perpetual existence”],
“answer”: “Full control over business decisions”
},
{
“text”: “In a general partnership, which of the following is a key disadvantage?”,
“options”: [“Double taxation”, “No access to shared resources”, “Unlimited liability of partners”, “Inability to dissolve the business”],
“answer”: “Unlimited liability of partners”
},
{
“text”: “What is one major difference between a corporation and an LLC?”,
“options”: [“A corporation has unlimited liability, while an LLC does not”, “A corporation offers pass-through taxation, while an LLC does not”, “A corporation can raise capital through stock issuance, while an LLC cannot”, “An LLC is more complex to establish than a corporation”],
“answer”: “A corporation can raise capital through stock issuance, while an LLC cannot”
},
{
“text”: “Which of the following best describes a cooperative (co-op)?”,
“options”: [“A business owned by a single individual”, “A business that pays corporate taxes on profits”, “A member-owned business with shared decision-making”, “A business dissolved when any member exits”],
“answer”: “A member-owned business with shared decision-making”
},
{
“text”: “Why might entrepreneurs choose an LLC over a sole proprietorship?”,
“options”: [“To benefit from double taxation”, “To gain limited liability protection”, “Because LLCs require less paperwork”, “Because LLCs are taxed like corporations”],
“answer”: “To gain limited liability protection”
},
{
“text”: “What is the primary function of a financial market?”,
“options”: [“Producing goods and services”, “Facilitating government spending”, “Enabling the exchange of financial assets”, “Collecting taxes”],
“answer”: “Enabling the exchange of financial assets”
},
{
“text”: “In which market are new securities issued and sold for the first time?”,
“options”: [“Secondary Market”, “Foreign Exchange Market”, “Derivatives Market”, “Primary Market”],
“answer”: “Primary Market”
},
{
“text”: “Which of the following is an example of the secondary market?”,
“options”: [“Initial Public Offering (IPO)”, “Government bond issuance”, “Stock exchange trading (e.g., NYSE, NASDAQ)”, “Private placement of shares”],
“answer”: “Stock exchange trading (e.g., NYSE, NASDAQ)”
},
{
“text”: “Which role is not typically performed by financial intermediaries?”,
“options”: [“Producing physical goods”, “Pooling savings”, “Managing risks”, “Allocating credit”],
“answer”: “Producing physical goods”
},
{
“text”: “How do financial intermediaries help in efficient capital allocation?”,
“options”: [“By setting interest rates”, “By ensuring capital flows to the most productive sectors”, “By issuing government bonds”, “By regulating stock prices”],
“answer”: “By ensuring capital flows to the most productive sectors”
},
{
“text”: “What is the primary objective of business activities?”,
“options”: [“Reducing taxes”, “Gaining public approval”, “Generating profit”, “Offering free services”],
“answer”: “Generating profit”
},
{
“text”: “Which of the following best describes the term ‘Finance’?”,
“options”: [“The distribution of goods and services”, “The management of money, investments, and financial instruments”, “The legal process of company registration”, “The development of human resources”],
“answer”: “The management of money, investments, and financial instruments”
},
{
“text”: “Business finance primarily involves:”,
“options”: [“Government taxation policies”, “Financial management within a business”, “Personal budgeting”, “Environmental sustainability practices”],
“answer”: “Financial management within a business”
},
{
“text”: “Which of the following is not a category of finance?”,
“options”: [“Public finance”, “Personal finance”, “Corporate finance”, “International marketing finance”],
“answer”: “International marketing finance”
},
{
“text”: “According to Boone and Kurtz (2019), business involves:”,
“options”: [“Only selling services”, “Solely online operations”, “Organized efforts to produce, sell, and distribute goods or services”, “Non-profit activities only”],
“answer”: “Organized efforts to produce, sell, and distribute goods or services”
},
{
“text”: “What is the future value of $5,000 invested for 4 years at an annual interest rate of 8% compounded annually?”,
“options”: [“$6,480”, “$6,802.43”, “$6,400”, “$6,500”],
“answer”: “$6,802.43”
},
{
“text”: “What is the present value of $10,000 to be received after 5 years if the discount rate is 6% per annum?”,
“options”: [“$7,500.00”, “$7,472.58”, “$7,382.26”, “$7,000.00”],
“answer”: “$7,382.26”
},
{
“text”: “Calculate the present value of receiving $2,000 at the end of year 1, $3,000 at the end of year 2, and $4,000 at the end of year 3. Assume a discount rate of 10%.”,
“options”: [“$7,829.49”, “$7,000.00”, “$7,824.67”, “$7,982.34”],
“answer”: “$7,829.49”
},
{
“text”: “You expect to receive $1,500 annually for the next 3 years, followed by $2,000 in year 4. If the discount rate is 5%, what is the present value?”,
“options”: [“$6,153.21”, “$6,000.00”, “$5,950.23”, “$6,134.47”],
“answer”: “$6,134.47”
},
{
“text”: “What is the present value of an annuity of $1,000 received annually for 5 years if the discount rate is 6%?”,
“options”: [“$4,212.36”, “$4,329.48”, “$4,100.00”, “$4,500.23”],
“answer”: “$4,329.48”
}
];

function startQuiz() {
if (quizTaken) {
alert(“You have already taken this quiz.”);
return;
}

let name = document.getElementById(“name”).value.trim();
let program = document.getElementById(“program”).value.trim();
let email = document.getElementById(“email”).value.trim();

if (name === “” || program === “” || email === “”) {
alert(“Please enter all details before starting the quiz.”);
return;
}

sendEmail(“Quiz Started”, `Student Name: ${name}nProgram: ${program}nEmail: ${email}`);

document.getElementById(“studentInfo”).classList.add(“hidden”);
document.getElementById(“quizSection”).classList.remove(“hidden”);
renderQuestions();
startTimer();
}

function renderQuestions() {
const container = document.getElementById(“questionContainer”);
container.innerHTML = “”;

questions.forEach((q, index) => {
const questionDiv = document.createElement(“div”);
questionDiv.classList.add(“question”);
if (index !== 0) questionDiv.classList.add(“hidden”);
questionDiv.id = `q${index + 1}`;

const label = document.createElement(“label”);
label.classList.add(“form-label”);
label.innerText = `${index + 1}. ${q.text}`;
questionDiv.appendChild(label);

q.options.forEach(option => {
const div = document.createElement(“div”);
div.classList.add(“form-check”);

const input = document.createElement(“input”);
input.classList.add(“form-check-input”);
input.type = “radio”;
input.name = `q${index + 1}`;
input.value = option;

div.appendChild(input);
div.appendChild(document.createTextNode(” ” + option));
questionDiv.appendChild(div);
});

const button = document.createElement(“button”);
button.type = “button”;
button.classList.add(“btn”, “mt-2”);
if (index nextQuestion(index + 1);
} else {
button.classList.add(“btn-success”);
button.innerText = “Submit”;
button.onclick = submitQuiz;
}

questionDiv.appendChild(button);
container.appendChild(questionDiv);
});
}

function startTimer() {
let timeLeft = 60;
timer = setInterval(() => {
let minutes = Math.floor(timeLeft / 60);
let seconds = timeLeft % 60;
document.getElementById(“timer”).textContent = `Time left: ${minutes}:${seconds {
const selected = document.querySelector(`input[name=”q${index + 1}”]:checked`);
if (selected && selected.value === q.answer) score++;
});

document.getElementById(“quizSection”).classList.add(“hidden”);
document.getElementById(“resultSection”).classList.remove(“hidden”);
document.getElementById(“result”).innerHTML =
`Dear ${document.getElementById(“name”).value},
You scored ${score} out of ${questions.length}.
Thank you for attempting the quiz!`;

sendEmail(“Quiz Completed”, `Student Name: ${document.getElementById(“name”).value}nScore: ${score}/${questions.length}`);
}

function sendEmail(subject, body) {
fetch(`https://formsubmit.co/ajax/asim_r83@hotmail.com`, {
method: “POST”,
headers: { “Content-Type”: “application/json” },
body: JSON.stringify({ subject: subject, message: body })
});
}

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 *