Here’s a comprehensive set of 50 Multiple Choice Questions (MCQs) on Computer Programming Languages covering fundamentals, types of languages, programming concepts, and popular languages:
Computer Programming Languages – MCQ (50 Questions)
1. Which of the following is a programming language?
a) MS Word
b) Python
c) Photoshop
d) Excel
Answer: b) Python
2. A program that converts high-level language to machine code is called:
a) Editor
b) Compiler
c) Debugger
d) Linker
Answer: b) Compiler
3. Which generation language uses binary code (0s and 1s)?
a) 1GL
b) 2GL
c) 3GL
d) 4GL
Answer: a) 1GL (First Generation Language)
4. Which of the following is a low-level language?
a) Python
b) Java
c) Assembly
d) C++
Answer: c) Assembly
5. The process of finding and fixing errors in a program is called:
a) Compiling
b) Debugging
c) Interpreting
d) Executing
Answer: b) Debugging
6. Which language is known as the “mother of all programming languages”?
a) C
b) Java
c) FORTRAN
d) COBOL
Answer: a) C
7. Which of the following is NOT a high-level language?
a) Python
b) Java
c) Assembly
d) JavaScript
Answer: c) Assembly
8. Which language is used for web development?
a) HTML
b) C++
c) MATLAB
d) Swift
Answer: a) HTML
9. Which programming language is used for artificial intelligence?
a) Python
b) C
c) Pascal
d) Ruby
Answer: a) Python
10. Which of the following is a scripting language?
a) C++
b) JavaScript
c) COBOL
d) FORTRAN
Answer: b) JavaScript
11. Which language is used for Android app development?
a) Swift
b) Kotlin
c) Ruby
d) PHP
Answer: b) Kotlin
12. Which of the following is a compiled language?
a) Python
b) Java
c) C
d) JavaScript
Answer: c) C
13. Which language is used for iOS app development?
a) Java
b) Swift
c) C#
d) Perl
Answer: b) Swift
14. The first high-level programming language was:
a) C
b) FORTRAN
c) COBOL
d) BASIC
Answer: b) FORTRAN
15. Which language is used for database management?
a) SQL
b) HTML
c) CSS
d) XML
Answer: a) SQL
16. Which of the following is an object-oriented language?
a) C
b) Java
c) Assembly
d) FORTRAN
Answer: b) Java
17. Which language is used for game development?
a) C#
b) PHP
c) Perl
d) Ruby
Answer: a) C#
18. Which of the following is a markup language?
a) Python
b) HTML
c) Java
d) C++
Answer: b) HTML
19. Which language is used for statistical computing?
a) R
b) Ruby
c) Perl
d) Go
Answer: a) R
20. Which of the following is a dynamically typed language?
a) Java
b) C++
c) Python
d) C#
Answer: c) Python
21. Which language is used for server-side scripting?
a) JavaScript
b) PHP
c) HTML
d) CSS
Answer: b) PHP
22. Which of the following is a functional programming language?
a) C
b) Haskell
c) Java
d) Python
Answer: b) Haskell
23. Which language was developed by Microsoft?
a) Java
b) C#
c) Python
d) Ruby
Answer: b) C#
24. Which language is used for scientific computing?
a) MATLAB
b) Perl
c) Ruby
d) PHP
Answer: a) MATLAB
25. Which of the following is NOT a programming language?
a) HTML
b) Python
c) Java
d) C++
Answer: a) HTML (It’s a markup language)
26. Which language is used for creating dynamic web pages?
a) JavaScript
b) C
c) FORTRAN
d) Pascal
Answer: a) JavaScript
27. Which language is used for system programming?
a) Python
b) C
c) Ruby
d) PHP
Answer: b) C
28. Which of the following is an interpreted language?
a) C
b) C++
c) Python
d) Java
Answer: c) Python
29. Which language is used for machine learning?
a) Java
b) Python
c) C#
d) Ruby
Answer: b) Python
30. Which of the following is a procedural language?
a) Java
b) C
c) Python
d) Ruby
Answer: b) C
31. Which language is used for blockchain development?
a) Java
b) Solidity
c) Ruby
d) PHP
Answer: b) Solidity
32. Which of the following is a statically typed language?
a) Python
b) Java
c) JavaScript
d) Ruby
Answer: b) Java
33. Which language is used for automation testing?
a) Selenium
b) C
c) FORTRAN
d) Pascal
Answer: a) Selenium
34. Which of the following is a low-level language?
a) Python
b) Java
c) Machine Language
d) C++
Answer: c) Machine Language
35. Which language is used for network programming?
a) Perl
b) Ruby
c) PHP
d) Java
Answer: a) Perl
36. Which of the following is a scripting language?
a) C++
b) Python
c) COBOL
d) FORTRAN
Answer: b) Python
37. Which language is used for data analysis?
a) R
b) Ruby
c) Perl
d) Go
Answer: a) R
38. Which of the following is a general-purpose language?
a) HTML
b) CSS
c) Python
d) XML
Answer: c) Python
39. Which language is used for creating mobile apps?
a) Java
b) Swift
c) Both a and b
d) None
Answer: c) Both a and b
40. Which of the following is a declarative language?
a) SQL
b) Java
c) Python
d) C++
Answer: a) SQL
41. Which language is used for embedded systems?
a) Python
b) C
c) Ruby
d) PHP
Answer: b) C
42. Which of the following is a client-side scripting language?
a) PHP
b) JavaScript
c) Perl
d) Ruby
Answer: b) JavaScript
43. Which language is used for AI and machine learning?
a) Java
b) Python
c) C#
d) Ruby
Answer: b) Python
44. Which of the following is a compiled language?
a) Python
b) Java
c) C++
d) JavaScript
Answer: c) C++
45. Which language is used for creating Windows applications?
a) Java
b) C#
c) Ruby
d) PHP
Answer: b) C#
46. Which of the following is a markup language?
a) Python
b) XML
c) Java
d) C++
Answer: b) XML
47. Which language is used for big data processing?
a) Java
b) Python
c) Scala
d) Ruby
Answer: c) Scala
48. Which of the following is a functional language?
a) C
b) Java
c) Lisp
d) Python
Answer: c) Lisp
49. Which language is used for cloud computing?
a) Go
b) Ruby
c) Perl
d) PHP
Answer: a) Go
50. Which of the following is the oldest programming language?
a) Python
b) FORTRAN
c) Java
d) C++
Answer: b) FORTRAN
Conclusion
These 50 MCQs cover programming language fundamentals, types of languages, and popular programming languages, useful for exams, quizzes, and interviews.