- 1. A computer program, often referred to as software, is a collection of instructions that enable a computer to perform specific tasks or functions. These instructions are written in a programming language and are executed by the computer's processor to carry out computations, data manipulation, and interaction with hardware components. Computer programs can range from simple scripts that automate routine tasks to complex applications that power operating systems, games, and other software tools. Developing a computer program involves identifying requirements, designing algorithms, coding the program, testing for bugs and errors, and deploying the final product. The field of computer programming is vast and constantly evolving, with new technologies and programming languages emerging to meet the demands of an increasingly digital world.
Which programming language is commonly used for web development?
A) Java B) Python C) JavaScript D) C++
- 2. What does 'IDE' stand for in the context of programming?
A) Information Display Exchange B) Interactive Debugging Environment C) Internet Development Engine D) Integrated Development Environment
- 3. What is a variable in programming?
A) A hardware component of a computer. B) A named storage location for data. C) A type of loop statement. D) A type of computer virus.
- 4. What is the purpose of a 'loop' in programming?
A) To display an error message. B) To repeat a block of code multiple times. C) To declare a variable. D) To define a new function.
- 5. What does 'API' stand for in programming?
A) Automated Program Interaction B) Artificial Performance Indicator C) All Programming Instances D) Application Programming Interface
- 6. What is debugging in programming?
A) The process of finding and fixing errors in a program. B) Removing all comments from the code. C) Creating a new feature in a program. D) Optimizing code for performance.
- 7. Which symbol is commonly used to denote comments in many programming languages?
A) /* B) # C) -- D) //
- 8. What does 'GUI' stand for in programming context?
A) Global User Input B) Graphical Update Indicator C) Graphical User Interface D) General Use Instructions
- 9. Which of the following is an example of a high-level programming language?
A) Python B) Assembly C) Binary D) Machine code
- 10. What does 'HTTP' stand for in web-related programming?
A) Hypertext Transfer Protocol B) Web Communication Standard C) Data Transfer Syntax D) Hyperlink Text Protocol
- 11. What is an 'array' in programming?
A) A data structure that stores a collection of elements. B) A type of error in a program. C) A way to organize files on a computer. D) A function that receives input and produces output.
- 12. What does 'OOP' stand for in programming?
A) Organic Object Protocols B) Optimal Output Processing C) Order of Precedence D) Object-Oriented Programming
- 13. Which of the following is NOT a control structure in programming?
A) Iteration B) Sequence C) Selection D) Variable
- 14. What is the main function of a 'compiler' in programming?
A) Generates random numbers B) Translates high-level code into machine code. C) Interprets user input D) Analyzes data structures
- 15. What does 'SQL' stand for in database-related programming?
A) Structured Query Language B) Sequential Query Listing C) Structured Quiz Locator D) System Query Logic
- 16. Which data structure uses the principle of 'last in, first out'?
A) Queue B) Heap C) Linked List D) Stack
- 17. What does CSS stand for?
A) Creative Scripting Solutions B) Computer Software Security C) Code Style Syntax D) Cascading Style Sheets
- 18. Which of the following is a commonly used version control system in software development?
A) HTML B) Bugzilla C) Python D) Git
- 19. Which of the following is NOT a primitive data type in programming?
A) Boolean B) Integer C) Character D) Array
- 20. What is the process of finding and fixing errors in a program called?
A) Running B) Debugging C) Compiling D) Styling
|