Coding Basics Quiz for Beginners: questions and answers
- What does HTML stand for?
Answer: HyperText Markup Language
- Which language is mainly used to style the look of web pages?
Answer: CSS
- In JavaScript, which keyword declares a variable that cannot be reassigned?
Answer: const
- What does SQL stand for?
Answer: Structured Query Language
- Which data structure follows the First In, First Out (FIFO) rule?
Answer: Queue
- In Python, what does len("hello") return?
Answer: 5
- Which symbol starts a single-line comment in Python?
Answer: #
- What is the decimal number 5 written in binary?
Answer: 101
- Which Git command makes a local copy of a remote repository?
Answer: git clone
- What is the time complexity of binary search on a sorted array?
Answer: O(log n)
- Which HTTP status code means the requested page was not found?
Answer: 404
- In JavaScript, what does typeof null return?
Answer: "object"