
Coding Basics Quiz for Beginners
HTML, CSS, JavaScript, Python, and Git. Twelve questions to check your programming fundamentals.
Start the quiz āAbout this quiz
How well do you know coding?
Whether you are learning to code or have shipped software for years, these fundamentals come up again and again.
This beginner-friendly coding quiz covers web languages, basic Python and JavaScript, data structures, binary numbers, Git, and HTTP status codes. A couple of questions catch out experienced developers too.
Coding Basics Quiz for Beginners at a glance
- Questions
- 12
- Difficulty
- Medium
- Time
- About 6 min
- Type
- Trivia, scored
How to play
There are 12 questions: pick the answer you think is right for each question. You get one point for every correct answer. It takes about 6 minutes. Your score appears at the end, so you can see how you compare and challenge a friend to beat it.
Part of our Coding quizzes.
Coding Basics Quiz for Beginners questions and answers
Finished playing, or stuck? Open the answer key to check every question.
Show all 12 answers (spoilers)
- 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"


