Quiz Test – TCP/IP Model
Challenge your understanding of the TCP/IP model with our comprehensive Quiz Test – TCP/IP Model! Dive into multiple-choice questions designed to enhance your networking knowledge.
Try Again
Your score: ${score}/${questions.length * 5} (${percentage.toFixed(1)}%)
Review: A Guide to the TCP/IP Model
`; } } function resetQuiz() { submitted = false; answers = {}; randomizedQuestions = [...questions]; shuffleArray(randomizedQuestions); createQuiz(); document.getElementById('result').innerHTML = ''; } document.addEventListener('DOMContentLoaded', () => { randomizedQuestions = [...questions]; shuffleArray(randomizedQuestions); createQuiz(); document.addEventListener('change', (e) => { if (!submitted && e.target.matches('input[type="radio"], input[type="checkbox"]')) { const questionIndex = parseInt(e.target.name.slice(1)); const answerIndex = parseInt(e.target.value); if (e.target.type === 'checkbox') { answers[questionIndex] = answers[questionIndex] || []; if (e.target.checked) { answers[questionIndex].push(answerIndex); } else { answers[questionIndex] = answers[questionIndex].filter(i => i !== answerIndex); } } else { answers[questionIndex] = [answerIndex]; } e.target.parentElement.parentElement.parentElement.classList.remove('unanswered'); } }); });