Can You Answer The Basic Computer Programming Quiz Questions?

13 Questions | Total Attempts: 2425

SettingsSettingsSettings
Please wait...
Can You Answer The Basic Computer Programming Quiz Questions?

Can you answer the basic computer programming quiz questions? 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. 
    Why is progamming important today?
  • 2. 
    What command do you use to output data to the screen?
    • A. 

      Cin

    • B. 

      Cout>>

    • C. 

      Cout

    • D. 

      Output>>

  • 3. 
    Entering Comments is a useless task, it will  not help in anyway.
    • A. 

      True

    • B. 

      False

  • 4. 
    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

  • 5. 
    Which data structure uses LIFO?
    • A. 

      Array

    • B. 

      Int

    • C. 

      Stacks

    • D. 

      Queues

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

      First in Few Out

    • B. 

      Few In Few out

    • C. 

      First In First Out

    • D. 

      Few In First Out

  • 8. 
    A memory location that holds a single letter or number.  
    • A. 

      Double

    • B. 

      Int

    • C. 

      Char

    • D. 

      Word

  • 9. 
    A do while and a while loop are the same
    • A. 

      True

    • B. 

      False

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

      Buffer

    • B. 

      Array

    • C. 

      Function

  • 11. 
    Int hold decemals numbers
    • A. 

      True

    • B. 

      False

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

      Loop in loop

    • B. 

      Nested

    • C. 

      Double loops

  • 13. 
    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