1. What is the purpose of a variable in programming?
2. What is the output of the following code snippet in Python?
x = 10
y = 5
print(x % y)
3. In object-oriented programming, what is encapsulation?
4. What is the time complexity of searching for an element in a balanced binary search tree?
5. Which keyword is used to declare a constant variable in many programming languages?
6. What does the acronym "HTML" stand for?
7. What is the purpose of the "else" statement in an "if-else" statement?
8. What does the term "DRY" stand for in programming?
9. In object-oriented programming, what is inheritance?
10. Which programming language is often used for developing mobile applications?
Results:
You scored a total of / 10 in the Programming Quiz!