Welcome to Set 05 of the Fundamentals of Programming Quiz Series! This quiz dives into practical concepts across multiple programming languages and tools. From Git commands and Python data types to Java object creation, SQL fundamentals, and web development essentials like DOM, Bootstrap, and JSON, this set challenges your understanding of both coding basics and modern frameworks. Whether you’re preparing for interviews, brushing up on syntax, or exploring full‑stack development, these questions will sharpen your skills and expand your programming knowledge.
Multiple-Choice Questions (MCQs) Quiz on Basic Programming
1. What does the command git clone do in Git?
- Creates a new repository
- Copies an existing repository to your local system
- Deletes a repository
- Merges two repositories
Show answer
✅ Answer: B) Copies an existing repository to your local system
2. Which of the following is NOT a valid Python data type?
- List
- Tuple
- Boolean
- Element
Show answer
✅ Answer: D) Element
3. In Java, which keyword is used to create an object from a class?
newobjectcreateclass
Show answer
✅ Answer: A) new
4. What does the while loop do?
- Executes a block of code as long as a condition is true
- Stops the program execution
- Declares a function
- Defines a variable
Show answer
✅ Answer: A) Executes a block of code as long as a condition is true
5. What type of language is SQL?
- Scripting language
- Query language
- Object-oriented language
- Functional programming language
Show answer
✅ Answer: B) Query language
6. What does DOM stand for in web development?
- Document Object Model
- Data Output Manager
- Dynamic Online Mode
- Digital Object Memory
Show answer
✅ Answer: A) Document Object Model
7. Which of the following is used for responsive web design?
- Bootstrap
- Java
- C++
- Python
Show answer
✅ Answer: A) Bootstrap
8. What is the primary role of a software framework?
- Provides pre-written code to streamline development
- Stores database entries
- Designs hardware components
- Compiles programming languages
Show answer
✅ Answer: A) Provides pre-written code to streamline development
9. Which of the following is a popular JavaScript library?
- React
- MySQL
- Swift
- C#
show answer
✅ Answer: A) React
10. What does JSON stand for?
- JavaScript Object Notation
- Java System Output Name
- Java Secure Online Network
- Java Structured Object Naming
Show answer
✅ Answer: A) JavaScript Object Notation
More Quizzes in the Fundamentals Series
- Fundamentals of Programming Quiz: Test Your Coding Basics – Set 01
- Fundamentals of Programming Quiz: Test Your Coding Basics – Set 02
- Fundamentals of Programming Quiz: Test Your Coding Basics – Set 03
- Fundamentals of Programming Quiz: Test Your Coding Basics – Set 04
- Fundamentals of Programming Quiz: Test Your Coding Basics – Set 05
- Fundamentals of Programming Quiz: Test Your Coding Basics – Mock Test (Coming soon)





