Computer science - Test
  • 1. Computer science is the study of computers and computational systems. It involves understanding and designing algorithms to solve problems efficiently, as well as analyzing the complexity of systems. Computer science also encompasses the design and development of software and hardware components, such as programming languages, operating systems, and computer networks. This field is essential for advancements in technology and plays a crucial role in various industries, including healthcare, finance, and entertainment. Computer scientists work on a diverse range of projects, from creating artificial intelligence systems to developing new cybersecurity measures. Overall, computer science is a dynamic and ever-evolving field that drives innovation and shapes the future of technology.

    What does CPU stand for?
A) Computer Performance Unit
B) Central Processing Unit
C) Central Processor Unit
D) Computer Processing Unit
  • 2. Which programming language relies on indentation for code structure?
A) JavaScript
B) Java
C) C++
D) Python
  • 3. What is the binary equivalent of the decimal number 10?
A) 0011
B) 1010
C) 1101
D) 1110
  • 4. Which data structure uses LIFO (Last In, First Out) principle?
A) Queue
B) Heap
C) Stack
D) Linked List
  • 5. Which company developed the Java programming language?
A) IBM
B) Microsoft
C) Apple
D) Sun Microsystems
  • 6. What does SQL stand for?
A) Simple Query Language
B) Sequential Query Language
C) Structured Query Language
D) Systematic Query Language
  • 7. Which sorting algorithm has a worst-case time complexity of O(n2)?
A) Quick Sort
B) Bubble Sort
C) Heap Sort
D) Merge Sort
  • 8. What does URL stand for?
A) User Rank Logic
B) Uniform Resource Locator
C) Universal Remote Link
D) Unified Resource Listing
  • 9. What is the primary purpose of an operating system?
A) Manage hardware and software resources
B) Connect to the internet
C) Produce graphics
D) Run applications
  • 10. Which data structure uses nodes and pointers?
A) Queue
B) Tree
C) Array
D) Linked List
  • 11. Which type of algorithm is used to find the shortest path in a graph?
A) Dijkstra's
B) Selection Sort
C) Quick Sort
D) Bubble Sort
  • 12. In object-oriented programming, what is a class?
A) User-defined function
B) Memory allocation unit
C) Method of data storage
D) Blueprint for creating objects
  • 13. What does LAN stand for?
A) Long Antenna Node
B) Local Area Network
C) Low-bandwidth Application Node
D) Large Access Network
  • 14. What does HTTP stand for?
A) Hardware Transfer Process
B) Hypertext Transfer Protocol
C) High Tech Protocol
D) Hyper Transfer Protocol
  • 15. What is a compiler in programming?
A) Graphic design software
B) Debugging tool
C) Translates source code into machine code
D) Database system
  • 16. What is the purpose of a firewall in computer security?
A) Defragment hard drives
B) Block access to websites
C) Monitor and control incoming/outgoing network traffic
D) Encrypt data
  • 17. Which database model organizes data into tables with rows and columns?
A) Graph
B) NoSQL
C) Relational
D) Hierarchical
  • 18. Which company developed the Python programming language?
A) Mark Zuckerberg
B) Larry Page
C) Bill Gates
D) Guido van Rossum
  • 19. What does IDE stand for in software development?
A) Integrated Development Environment
B) Interface Development Engine
C) Interactive Design Environment
D) Internet Development Enterprise
  • 20. What is the binary equivalent of the decimal number 25?
A) 11101
B) 11001
C) 10110
D) 10010
  • 21. What is the most popular version control system used in software development?
A) SVN
B) CVS
C) Git
D) Mercurial
  • 22. What is the process of finding errors and fixing them in a program called?
A) Programming
B) Compiling
C) Running
D) Debugging
  • 23. What does RAM stand for?
A) Resource Allocation Manager
B) Read-Only Memory
C) Remote Access Module
D) Random Access Memory
  • 24. What does DNS stand for?
A) Data Network Security
B) Domain Name System
C) Distributed Network Server
D) Digital Network Service
  • 25. Which programming language is often used for developing Android apps?
A) Ruby
B) Java
C) Python
D) C#
  • 26. What is a network protocol?
A) Coding standard
B) Software license agreement
C) User authentication method
D) Set of rules for communication between devices
  • 27. Which software development methodology emphasizes iterative and incremental development?
A) Lean
B) Agile
C) Waterfall
D) Scrum
  • 28. Which of the following is a type of network topology?
A) Star
B) Mesh
C) Bus
D) Ring
  • 29. Which data structure uses First In, First Out (FIFO) approach?
A) Array
B) Queue
C) Stack
D) Linked List
  • 30. Which programming language is often used for web development?
A) Python
B) Swift
C) JavaScript
D) C++
  • 31. What type of authentication involves using something you know and something you have?
A) Single sign-on
B) Two-factor authentication
C) Access control
D) Biometric authentication
  • 32. What does API stand for in programming?
A) Advanced Program Integration
B) Application Programming Interface
C) Abstract Programming Instrument
D) Automated Protocol Interface
  • 33. What is the primary purpose of version control systems like Git?
A) Monitor hardware performance
B) Optimize network connections
C) Manage changes to source code over time
D) Compile code for execution
  • 34. What is the function of a router in a network?
A) Store data permanently
B) Direct data packets between networks
C) Convert data into sound waves
D) Display web pages
  • 35. Which company developed the C programming language?
A) Microsoft
B) Apple
C) IBM
D) Bell Labs
  • 36. What is the fundamental unit of storage in a computer's memory system?
A) Byte
B) Nibble
C) Word
D) Bit
  • 37. Which component of a computer is responsible for storing data long-term?
A) RAM
B) Hard drive
C) Graphics Card
D) CPU
  • 38. Which of the following is a cloud computing service model?
A) Software as a Service (SaaS)
B) Desktop as a Service (DaaS)
C) Platform as a Service (PaaS)
D) Infrastructure as a Service (IaaS)
  • 39. What is recursion in programming?
A) Parallel processing technique
B) A function calling itself
C) Convert source code to machine code
D) Interpreting assembly language
  • 40. Which networking protocol is used to transfer web pages over the internet?
A) SSH
B) HTTP
C) FTP
D) SMTP
  • 41. What does CSS stand for?
A) Computer System Software
B) Code Syntax System
C) Content Structure System
D) Cascading Style Sheets
Created with That Quiz — the site for test creation and grading in math and other subjects.