Programming Trivia Questions

25 Questions | Attempts: 118
Share

SettingsSettingsSettings
Programming Quizzes & Trivia

This exam is designed to measure information retention and understanding of skills learned.


Questions and Answers
  • 1. 

    _____________ means to carry out the instructions in a program.

    Correct Answer
    Execute
  • 2. 

    ___________________________ is the part of the central processing unit that governs performs arithmatic and logical operations

    Correct Answer
    Arithematic/logic unit
    ALU
  • 3. 

    A subprogram performing a specific task is called a _______________.

    Correct Answer
    module
  • 4. 

    Series of statements that the computer executes in order in which they occur in the program is known as ____________________________.

    Correct Answer
    sequence
  • 5. 

    Three basic largic structures in programming are:

    • A.

      Language, module, sequesnce

    • B.

      Decision structure, sequence, loop structure

    • C.

      Decision structure, loop structure, module

    • D.

      Loop structure, programming, sequence

    Correct Answer
    B. Decision structure, sequence, loop structure
  • 6. 

    Written statements or instructions explaining programs to humans.

    • A.

      Problem

    • B.

      Structure chart

    • C.

      Documentation

    • D.

      Algorithm

    Correct Answer
    C. Documentation
  • 7. 

    Sequence of steps needed to solve a problem.

    • A.

      Algorithm

    • B.

      Problem

    • C.

      Sturctured chart

    • D.

      Data

    Correct Answer
    A. Algorithm
  • 8. 

    What is the purpose of a terminal symbol?

    • A.

      Represents calcualtions or other processing steps

    • B.

      Represents comparison

    • C.

      Indicates entry from or to another part of the flow chart

    • D.

      Indicates the beginning or the end of a program

    Correct Answer
    D. Indicates the beginning or the end of a program
  • 9. 

    A violation of the grammatical rules of programming language generally results in a(n) _____________________.

    • A.

      Language error

    • B.

      Programming error

    • C.

      Syntax error

    • D.

      Logic error

    Correct Answer
    C. Syntax error
  • 10. 

    A mistake in the algorithm developed to solve the problem.

    • A.

      Language error

    • B.

      Programming error

    • C.

      Syntax error

    • D.

      Logic error

    Correct Answer
    D. Logic error
  • 11. 

    ___________________ is a group of alphanumaric data consisting of any type of symbols.

    • A.

      Character string

    • B.

      Numeric constant

    • C.

      Alphanumeric data

    • D.

      Constant

    Correct Answer
    A. Character string
  • 12. 

    A value that does not change during program execution is called a(n) constant.

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
  • 13. 

    Steps to solving problems is known as documetntation.

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
  • 14. 

    A method of solving a problem that proceeds from the genral to the specic is know as a top-down design.

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
  • 15. 

    The central processing unit (CPU) is the brain of the computer.

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
  • 16. 

    In algebra, what do we call symbols such as "p" and "m" such as in 2p2 + m - 3?

    • A.

      Variables

    • B.

      Symbols

    • C.

      Alphabets

    • D.

      Variables and alphabets

    Correct Answer
    A. Variables
  • 17. 

    Use QuickBASIC to determine the number of days you have lived.LET AGE= 18PRINT "You have lived more than", AGE* 365, "days."END

    • A.

      5560 days

    • B.

      6570 days

    • C.

      6500 days

    • D.

      5500 days

    Correct Answer
    B. 6570 days
  • 18. 

    Determine the proper way to write the PRINT statement in the following program.LET VALUE = 14/2_____________________________________________END

    • A.

      Print The result is 7.

    • B.

      PRINT The result is 7.

    • C.

      PRINT "The rsult is", VALUE.

    • D.

      PRINT "The result is", VALUE, "7".

    Correct Answer
    C. PRINT "The rsult is", VALUE.
  • 19. 

               Write a program that solves this problem: You are hosting a party. You want to buy enough candy so that each guest can have at least 15 pieces of candy. You expect 25 guests. How many pieces of candy you should buy? [HINT: You must include a LET and PRINT statement in the program. The program must be terminated.]

  • 20. 

          Write a program that calculates the number of quarts in 45 gallons. There are four quarts per gallon. The program should label the output (ie. the program should print some words that explain the answer.) Remember that arithmetic inside parenthesis is done first. [HINT: You must include a LET and PRINT statement in the program. The program must be terminated.]

  • 21. 

    _____________ means to carry out the instructions in a program.

    Correct Answer
    Execute
  • 22. 

    ___________________________ is the part of the central processing unit that governs performs arithmatic and logical operations

    Correct Answer
    Arithematic/logic unit
    ALU
  • 23. 

    ___________________________ is the part of the central processing unit that governs performs arithmatic and logical operations

    Correct Answer
    Arithematic/logic unit
    ALU
  • 24. 

    ___________________________ is the part of the central processing unit that governs performs arithmatic and logical operations

    Correct Answer
    Arithematic/logic unit
    ALU
  • 25. 

    ___________________________ is the part of the central processing unit that governs performs arithmatic and logical operations

    Correct Answer
    Arithematic/logic unit
    ALU

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Jun 28, 2018
    Quiz Edited by
    ProProfs Editorial Team
  • Mar 01, 2011
    Quiz Created by
    Marla_crawford
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.