Web Technologies Quiz | Computer Applications in Pharmacy

Welcome to the Web Technologies mock test, designed for B.Pharma students as part of the Computer Applications in Pharmacy syllabus. This quiz will test your foundational knowledge of the essential technologies that power the web. You will face 30 multiple-choice questions covering key areas including HTML for structure, CSS for styling, XML for data transport, and the roles of programming languages, web servers, and server-side products. This comprehensive assessment will help you gauge your understanding and prepare for your exams. After completing the quiz, you can review your score, see the correct answers highlighted, and download a PDF of all questions and answers for your future reference. Good luck!

"], answer: "" }, { question: "The CSS box model consists of which of the following components?", options: ["Margin, Border, Padding, Content", "Header, Footer, Content, Sidebar", "Flexbox, Grid, Position, Display", "Color, Font, Background, Text"], answer: "Margin, Border, Padding, Content" }, // Programming Languages (JS) { question: "Which programming language is primarily used for adding interactivity to web pages?", options: ["Python", "Java", "C++", "JavaScript"], answer: "JavaScript" }, { question: "How do you declare a variable in JavaScript?", options: ["var myVar;", "variable myVar;", "v myVar;", "string myVar;"], answer: "var myVar;" }, { question: "What is the DOM in the context of web development?", options: ["Data Object Model", "Document Object Model", "Dynamic Object Module", "Distributed Object Management"], answer: "Document Object Model" }, { question: "Which method is used to write to an HTML element using JavaScript?", options: ["window.alert()", "document.write()", "console.log()", "element.innerHTML"], answer: "element.innerHTML" }, { question: "An external JavaScript file must contain the