Can You Answer The Basic Computer Programming Quiz Questions?

12 Questions | Total Attempts: 6635

SettingsSettingsSettings
Can You Answer The Basic Computer Programming Quiz Questions? - Quiz

Can you answer the basic computer programming quiz questions? If yes, then you must try playing this basic programming quiz that is given below. A computer program prepares to accomplish a specific task, and it is expected that one knows how to use different languages and algorithms to come up with the perfect program for a particular job. Test out your skills by seeing how many questions you get right. All the best!


Questions and Answers
  • 1. 
    Which data structure uses LIFO?
    • A. 

      Array

    • B. 

      Int

    • C. 

      Stacks

    • D. 

      Queues

  • 2. 
    Enter a one line comment that has the comment-- section is commented
  • 3. 
    What is FIFO?
    • A. 

      First in Few Out

    • B. 

      Few In Few out

    • C. 

      First In First Out

    • D. 

      Few In First Out

  • 4. 
    Int hold decemals numbers
    • A. 

      True

    • B. 

      False

  • 5. 
    One loop inside the body of another loop is called 
    • A. 

      Loop in loop

    • B. 

      Nested

    • C. 

      Double loops

  • 6. 
    What dose this equation mean ? a != t
    • A. 

      A is assinged t

    • B. 

      A and t are equal

    • C. 

      A is not equal to t

    • D. 

      T is add to a

  • 7. 
    What command do you use to output data to the screen?
    • A. 

      Cin<<

    • B. 

      Cout>>

    • C. 

      Cout<<

    • D. 

      Output>>

  • 8. 
    Entering Comments is a useless task, it will not help in any way. State true or false.
    • A. 

      True

    • B. 

      False

  • 9. 
    A Syntax Error is ? 
    • A. 

      An error you will never find

    • B. 

      An error you find at the end when the program gives out a wrong value due to logic error.

    • C. 

      An error caused by language rules being broken.

    • D. 

      An error due to user error

  • 10. 
    A memory location that holds a single letter or number is called _________.  
    • A. 

      Double

    • B. 

      Int

    • C. 

      Char

    • D. 

      Word

  • 11. 
    A do-while and a while loop are the same. State true or false. 
    • A. 

      True

    • B. 

      False

  • 12. 
    A short sections of code written to complete a task. 
    • A. 

      Buffer

    • B. 

      Array

    • C. 

      Function

    • D. 

      Loop

Back to Top Back to top