What is the function of a compiler in computer science? By Rabia Anum 🌐 Source Science & Technology Archive ✅ Fact Checked 📊 Difficulty Medium 📅 Last Updated 13 Aug 2026 A. Manage hardware B. Convert binary to text C. Translate high-level code to machine code D. Execute line-by-line Check Answer 💡 Explanation: A compiler translates source code written in a high-level language into machine code executable by a processor. 📚 Topics: Computer Science Technology and Computing 🎯 Exams: CSS GEN NTS PMS