Programming Quizzes & Trivia

Computer programming is the science and application of computer languages to create computer programs. A computer program could be a video game, complex math program, or a 3D model. Depending on who you ask, programming is an art, a craft, and/or a science. Did you know that Bill Gates taught himself computer programming at age 13?
Can you name three computer programming languages? C and C++ are arguably the most influential computer programming languages, and they have been used to create millions of applications. Despite the computer not becoming into prominence until the late 1970’s, Ada Lovelace is credited with writing the first computer program using a punch card for an early “computer” in 1830’s. Lovers of computer programming will love our programming quizzes, great for beginners and experts alike. Take one now!

C is a programming language which was developed by Dennis Ritchie. C language incorporates low-level access to memory, clean style and simple set of keywords which makes 'C' language a perfect system...

Questions: 10  |  Attempts: 10240   |  Last updated: Jun 29, 2019
  • Sample Question
    void main() { int const * p=5; printf("%d",++(*p)); }

Below is the Hardest Trivia Questions Quiz on Arduino Programming and C++. Are you an aspiring programmer and are looking for a way to test out how well you understand these two programming languages? The quiz below is one that...

Questions: 100  |  Attempts: 1766   |  Last updated: Oct 31, 2019
  • Sample Question
    Which of the following is not a version of the Arduino?

There’s been a buzz around featured snippets for at least the last three years, but in 2017 the hype has reached fever pitch. And for good reason.   Featured snippets make it easier to rank, putting that coveted...

Questions: 20  |  Attempts: 1067   |  Last updated: Oct 9, 2018
  • Sample Question
    True or False: Featured snippets are part of the Knowledge Graph.

How well do you think you know your coding languages? Find out in this quiz about programming, coding, and scripting languages!  

Questions: 8  |  Attempts: 1015   |  Last updated: Oct 9, 2018
  • Sample Question
    I’m not really a coding language but actually a query language used to access and manipulate databases.

Based on the standard C programming language, ROBOTC is a text-based programming language in which commands to the robot is written as text and processed by the compiler into a machine language. Then loaded onto the robot where...

Questions: 12  |  Attempts: 997   |  Last updated: Apr 30, 2019
  • Sample Question
    According to the Robot-C video, what is the role of the programmer?

You May Also Like: Programming Flashcards

Programming Questions & Answers

Which kind of relationship would a developer use to relate the Account to the Warehouse? A company has a custom object named Warehouse. EachWarehouse record has a distinct record owner and is...
When we define relationship in salesforce through custom fields there is no One-to-Many or Parent-Child relationship. It can be either Lookup or Master-Detail relationship. Also, in salesforce Child record of a Master-Detail relationship can't have o
Which statements is unnecessary inside the unit test for thecustom controller? A developer has a single custom controller class that works with a Visualforce to support creating and editing...
The correct answer to this question is B. The statement String nextPage =; is unnecessary inside the unit test for the custom controller. Like all Apex scripts, controller extensions and custom controllers should be covered
Which type of trigger would the developer create? A developer needs to automatically populate the ReportsTo fieldin a Contact record based on the values of the related Accountand Department fields...
The correct answer to this question is C, before insert. This question is in reference to Salesforce, which is a customer relationship management product, more commonly referred to as a CRM. Salesforce is an American cloud-based software company base
How many times does 'str' is added to the list? List<String> strLst = new List<String>(); for(Integer i=0;i<99;i++) { strLst.add('str'+i);}...
I ran it and gotUSER_DEBUG [2]|DEBUG|(str0, str1, str2, str3, str4, str5, str6, str7, str8, str9, ...) So, assuming that it's 99 (0 - 98), then another 1 the total should be 100.