正解:A,F
Providing structure for file and data management and providing system resources are the primary functions of an operating system. An operating system is a type of software that manages the hardware and software resources of a computer or device. Providing structure for file and data management is a function of an operating system that allows users to organize, store, access, and modify files and data on a storage device. Providing system resources is a function of an operating system that allows users to run multiple applications or processes at the same time by allocating memory, CPU, disk space, network bandwidth, etc. Providing protection against malware and viruses, providing peer-to-peer networking capability, providing user data encryption, and providing virtual desktop capability are not primary functions of an operating system. These are functions that can be performed by other types of software or hardware devices. Reference: CompTIA IT Fundamentals+ Study Guide: Exam FC0-U61, Second Edition, Chapter 3: Computing Components, page 127.