DailyQuiz
About today's quiz

ProgrammingIntermediate

A new quiz is published every day for this topic and level. Answer the questions, read the explanations, and complete the quiz to keep your streak alive.

Tips before you start

  • Read every question carefully before answering. Some questions include subtle wording that changes the correct answer.
  • Take your time on the first question. There is no time limit, but your total time is tracked for your statistics.
  • After each answer, read the explanation. Even correct answers often include useful context you might not know.
  • Come back tomorrow for a brand new quiz on the same topic. Daily practice is the most effective way to retain what you learn.
IntermediateTechnology
Today's questions

Today's quiz questions

These are the questions that make up today's quiz. Test your knowledge, see how much you know, and learn from the explanation behind every answer.

  1. 1.Which programming language was created by Guido van Rossum?

    • Ruby
    • Python
    • JavaScript
    • Java
  2. 2.What is the time complexity of binary search?

    • O(log n)
    • O(n)
    • O(n²)
    • O(1)
  3. 3.What is the difference between abstract classes and interfaces?

    • Abstract classes can have implementation and state; interfaces only define method signatures (in traditional OOP)
    • Abstract classes are faster; interfaces are slower
    • There is no difference in modern languages
    • Interfaces can be instantiated; abstract classes cannot
  4. 4.What does HTTP stand for?

    • HyperText Transmission Protocol
    • HyperText Transfer Protocol
    • HyperText Transport Protocol
    • High Transfer Text Protocol
  5. 5.What is a promise in JavaScript?

    • A type of callback function
    • A guarantee that code will run without errors
    • An object representing the eventual completion or failure of an asynchronous operation
    • A declaration that a variable will be assigned later
  6. 6.What is the MVC (Model-View-Controller) pattern?

    • An architectural pattern separating data (Model), UI (View), and logic (Controller)
    • A database design approach for multi-table queries
    • A version control system similar to Git
    • A testing methodology: Manual, Virtual, and Cloud testing
  7. 7.Which data structure follows the FIFO (First In, First Out) principle?

    • Queue
    • Tree
    • Stack
    • Graph
  8. 8.What is caching and why is it used?

    • Encrypting sensitive data before storage
    • Storing frequently accessed data in fast storage to reduce load times and server requests
    • Backing up data for disaster recovery
    • Compressing files to save disk space
  9. 9.What is a linked list?

    • A database table with foreign key relationships
    • A list that can only store linked objects
    • A linear data structure where elements are stored in nodes, each pointing to the next
    • An array where elements are linked by their index
  10. 10.What is the Factory pattern?

    • A pattern for converting raw data into objects
    • A creational pattern that uses a method to create objects without specifying their exact class
    • A pattern for mass-producing identical objects
    • An assembly-line pattern for processing data sequentially