Computer Science: MCQs

1. Which of the following data structures uses a Last In, First Out (LIFO) strategy? A) Queue B) Stack C) Linked List D) Binary Tree Answer: B) Stack 2. What is the binary equivalent of the decimal number 10? A) 1010 B) 1001 C) 1111 D) 1100 Answer: A) 1010 3. Which of the following is NOT a type of database management system (DBMS)? A) MySQL B) Oracle C) Photoshop D) SQL Server Answer: C) Photoshop 4. What is the purpose of an index in a database? A) To store large binary data B) To perform complex calculations C) To speed up data retrieval operations D) To encrypt sensitive information Answer: C) To speed up data retrieval operations 5. Which of the following is a characteristic of a high-level programming language? A) It is machine-dependent B) It is difficult to read and write C) It is close to machine language D) It is easy to read and write Answer: D) It is easy to read and write 6. What is the main purpose of an operating system’s kernel? A) To manage user interfaces B) To execute application programs C) To manage hardware resources D) To create backups Answer: C) To manage hardware resources 7. Which of the following is a type of software testing that involves testing individual units or components of a software system? A) Integration testing B) System testing C) Unit testing D) Acceptance testing Answer: C) Unit testing 8. Which programming language is commonly used for data analysis and scientific computing? A) Java B) C++ C) Python D) Ruby Answer: C) Python 9. What is the purpose of an API (Application Programming Interface)? A) To analyze data B) To manage network traffic C) To define how software components should interact D) To design user interfaces Answer: C) To define how software components should interact 10. Which of the following is NOT a type of computer memory? A) RAM B) ROM C) CPU D) Cache Answer: C) CPU 11. What does DNS stand for? A) Domain Name System B) Data Network Service C) Digital Naming Service D) Distributed Network System Answer: A) Domain Name System 12. Which of the following is a characteristic of a good algorithm? A) Complexity B) Length C) Unpredictability D) Efficiency Answer: D) Efficiency 13. What is the role of a web server in the context of the World Wide Web? A) To design web pages B) To store databases C) To host and serve web pages to clients D) To manage network security Answer: C) To host and serve web pages to clients 14. What is the purpose of a programming loop? A) To execute a block of code repeatedly B) To define variables C) To perform mathematical operations D) To create user interfaces Answer: A) To execute a block of code repeatedly 15. Which of the following is NOT a type of computer virus? A) Trojan horse B) Worm C) Firewall D) Spyware Answer: C) Firewall 16. What does IDE stand for in software development? A) Integrated Development Environment B) Interactive Design Environment C) Internet Development Environment D) Intelligent Design Engine Answer: A) Integrated Development Environment 17. Which of the following is a function of an operating system’s file management system? A) To create hardware components B) To organize and store data on storage devices C) To design user interfaces D) To manage network traffic Answer: B) To organize and store data on storage devices 18. What is the purpose of a data backup in computer systems? A) To improve processing speed B) To secure data against loss or corruption C) To manage network resources D) To optimize memory usage Answer: B) To secure data against loss or corruption 19. Which of the following is NOT a type of computer network topology? A) Ring B) Star C) Mesh D) Linear Answer: D) Linear 20. What is the role of a DNS server in computer networking? A) To manage email communication B) To convert domain names to IP addresses C) To host websites D) To encrypt data packets Answer: B) To convert domain names to IP addresses 21. Which programming language is often used for creating dynamic web pages? A) C B) COBOL C) PHP D) Fortran Answer: C) PHP 22. What is the purpose of software documentation? A) To test software functionality B) To design user interfaces C) To explain how software works and how to use it D) To optimize algorithms Answer: C) To explain how software works and how to use it 23. What does GUI stand for? A) Graphical User Interface B) General User Interface C) Global User Integration D) Graphical Unit Instruction Answer: A) Graphical User Interface 24. Which of the following is a benefit of virtualization technology? A) Increased hardware costs B) Reduced energy consumption C) Slower software performance D) Limited scalability Answer: B) Reduced energy consumption 25. What is the purpose of a cookie in web browsing? A) To store website content B) To track user activity and preferences C) To manage network security D) To optimize search algorithms Answer: B) To track user activity and preferences 26. Which programming language is often used for game development? A) COBOL B) Pascal C) C# D) FORTRAN Answer: C) C# 27. What is the role of a compiler in programming languages like C or C++? A) To execute the code B) To debug the code C) To translate the code into machine-readable instructions D) To write the code Answer: C) To translate the code into machine-readable instructions 28. Which of the following is NOT a type of software license? A) Open-source license B) Freeware license C) Hardware license D) Commercial license Answer: C) Hardware license 29. Which of the following is NOT a programming language? A) Java B) HTML C) Python D) SQL Answer: B) HTML 30. What does CPU stand for? A) Central Processing Unit B) Computer Processing Unit C) Core Processing Unit D) Central Power Unit Answer: A) Central Processing Unit 31. What is the output of 5 + 3 * 2? A) 16 B) 11 C) 10 D) 13 Answer: D) 13 32. Which data structure uses First In, First Out (FIFO) strategy? A) Stack B) Queue C) Linked List D) Tree Answer: B) Queue 33. What is the binary equivalent of decimal number 25? A) 10100 B) 11001 C) 11111 D) 11000 Answer: B) 11001 34. What does HTTP stand for? A) HyperText Transfer Protocol B) HyperText Transmission Protocol C) HyperText Terminal Protocol D) HyperText Translation Protocol Answer: A) HyperText Transfer Protocol 35. Which of the following is a markup language used for creating web pages? A) CSS B) JavaScript C) XML D) PHP Answer: C) XML 36. Which programming paradigm emphasizes the use of functions and avoids changing state and mutable data? A) Imperative B) Declarative C) Object-Oriented D) Functional Answer: D) Functional 37. What is the purpose of a firewall in computer networks? A) To prevent unauthorized physical access to the network B) To block malicious software from entering the network C) To regulate the flow of network traffic based on security rules D) To increase the speed of data transmission in the network Answer: C) To regulate the flow of network traffic based on security rules 38. Which sorting algorithm has the best average-case time complexity? A) Bubble Sort B) Insertion Sort C) Quick Sort D) Selection Sort Answer: C) Quick Sort 39. What is the primary purpose of an operating system? A) To manage hardware resources B) To write programs C) To create databases D) To design user interfaces Answer: A) To manage hardware resources 40. Which of the following is NOT a type of computer network? A) Local Area Network (LAN) B) Wide Area Network (WAN) C) Personal Area Network (PAN) D) Global Area Network (GAN) Answer: D) Global Area Network (GAN) 41. What does SQL stand for? A) Structured Query Language B) System Query Language C) Sequential Query Language D) Standardized Query Language Answer: A) Structured Query Language 42. Which of the following is a key feature of object-oriented programming? A) Encapsulation B) Goto statements C) Global variables D) Spaghetti code Answer: A) Encapsulation 43. What does HTML stand for? A) HyperText Markup Language B) High-Level Text Markup Language C) HyperLink and Text Markup Language D) HyperText Model Language Answer: A) HyperText Markup Language 44. Which programming language is commonly used for developing Android apps? A) Swift B) Java C) C++ D) Python Answer: B) Java 45. What is the purpose of a compiler? A) To convert high-level language code to machine code B) To manage databases C) To create user interfaces D) To optimize network traffic Answer: A) To convert high-level language code to machine code 46. Which of the following is NOT a cloud computing service model? A) Infrastructure as a Service (IaaS) B) Platform as a Service (PaaS) C) Software as a Service (SaaS) D) Database as a Service (DBaaS) Answer: D) Database as a Service (DBaaS) 47. What does URL stand for? A) Universal Resource Locator B) Uniform Resource Link C) Uniform Resource Locator D) Universal Resource Link Answer: A) Universal Resource Locator 48. Which of the following is a type of cyber attack that involves tricking users into revealing sensitive information? A) DDoS attack B) Phishing attack C) SQL injection attack D) Cross-site scripting attack Answer: B) Phishing attack 49. What is the main purpose of an array in programming? A) To store multiple values of different data types B) To store a single value C) To store values in a random order D) To store values in a sequential order Answer: D) To store values in a sequential order 50. Which of the following is a feature of a relational database? A) Tables with fixed column names B) No support for transactions C) Limited data integrity D) Hierarchical data structure Answer: A) Tables with fixed column names 51. What is the role of an IP address in computer networks? A) To identify the type of device B) To encrypt data packets C) To uniquely identify a device on the network D) To manage network traffic Answer: C) To uniquely identify a device on the network 52. What is the purpose of version control systems like Git? A) To manage database transactions B) To track changes in code and collaborate on software development C) To encrypt network traffic D) To optimize search algorithms Answer: B) To track changes in code and collaborate on software development 53. Which of the following is NOT a fundamental programming control structure? A) Sequence B) Iteration C) Decision D) Concatenation Answer: D) Concatenation 54. What is the role of a compiler in the software development process? A) To execute the code B) To write the code C) To debug the code D) To translate the code into machine-readable instructions Answer: D) To translate the code into machine-readable instructions 55. Which of the following is a key feature of cloud computing? A) Limited scalability B) Local storage only C) On-demand access to resources D) High upfront costs Answer: C) On-demand access to resources

More MCQS on Management Sciences

  1. Green supply chain management MCQs 
  2. Sustainable Operations and Supply Chains MCQs in Supply Chain
  3. Decision support systems MCQs in Supply Chain
  4. Predictive analytics in supply chains MCQs in Supply Chain
  5. Data analysis and visualization MCQs in Supply Chain
  6. Supply Chain Analytics MCQs in Supply Chain
  7. Demand management MCQs in Supply Chain
  8. Sales and operations planning (S&OP) MCQs in Supply Chain
  9. Forecasting techniques MCQs in Supply Chain
  10. Demand Forecasting and Planning MCQs in Supply Chain
  11. Contract management MCQs in Supply Chain
  12. Strategic sourcing MCQs in Supply Chain
  13. Supplier selection and evaluation MCQs in Supply Chain
  14. Procurement and Sourcing MCQs in Supply Chain
  15. Just-in-time (JIT) inventory MCQs in Supply Chain
  16. Economic order quantity (EOQ )MCQs in Supply Chain
  17. Inventory control systems MCQs in Supply Chain
  18. Inventory Management MCQs in Supply Chain
  19. Total quality management (TQM) MCQs in Supply Chain
  20. Quality Management MCQs in Supply Chain
  21. Material requirements planning (MRP) MCQs in Supply Chain
  22. Capacity planning MCQs in Supply Chain
  23. Production scheduling MCQs in Supply Chain
  24. Production Planning and Control MCQs
  25. Distribution networks MCQs in Supply Chain
  26. Warehousing and inventory management MCQs in Supply Chain
  27. Transportation management MCQs in Supply Chain
  28. Logistics Management MCQs in Supply Chain
  29. Global supply chain management MCQs in Supply Chain
  30. Supply chain strategy and design MCQs in Supply Chain
  31. Basics of supply chain management MCQ in Supply Chains
  32. Supply Chain Management MCQs
  33. Introduction to Operations Management MCQs in Supply Chain
  34. Fundamentals of operations management MCQs 
  35. Operations & Supply Chain Management MCQs
  36. Business Intelligence MCQs
  37. distributed computing frameworks MCQs
  38. Handling large datasets MCQs
  39. Big Data Analytics MCQs
  40. neural networks, ensemble methods MCQs
  41. Introduction to algorithms like clustering MCQs
  42. Machine Learning MCQs
  43. time series forecasting MCQs
  44. decision trees MCQs
  45. Modeling techniques such as linear and logistic regression MCQs
  46. Predictive Analytics MCQs
  47. Power BI MCQs
  48. using tools like Tableau MCQs
  49. Techniques for presenting data visually MCQs
  50. Data Visualization MCQs
  51. Data manipulation, MCQs
  52. SQL queries, MCQs
  53. Database fundamentals, MCQs
  54. Data Management and SQL, MCQs
  55. regression analysis, Mcqs
  56. inferential statistics, Mcqs
  57. descriptive statistics, Mcqs
  58. Probability theory, Mcqs
  59. Statistics for Business Analytics
  60. regression analysis, Mcqs
  61. inferential statistics
  62. descriptive statistics, Mcqs
  63. Probability theory, Mcqs
  64. Statistics for Business Analytics
  65. Management Sciences MCQs

Leave a Comment

All copyrights Reserved by MCQsAnswers.com - Powered By T4Tutorials