Introduction To Programming Quiz

Approved & Edited by ProProfs Editorial Team
The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
Learn about Our Editorial Process
| By Ssutherland
S
Ssutherland
Community Contributor
Quizzes Created: 3 | Total Attempts: 13,922
Questions: 10 | Attempts: 11,784

SettingsSettingsSettings
Introduction To Programming Quiz - Quiz

Test students knowledge on the generations of programming language and the stages of program development. Developed by Ms. Stacy Sutherland for my third form students.


Questions and Answers
  • 1. 

    A set of intructions that tells the computer how to behave, what to do and derive at a solution to a particular problem is:

    • A.

      Algorithm

    • B.

      Pseudocode

    • C.

      Programming

    • D.

      Program

    Correct Answer
    D. Program
    Explanation
    A program is a set of instructions that tells the computer how to behave and what actions to take in order to solve a specific problem. It is a sequence of coded commands that are executed by the computer to perform a desired task or achieve a specific outcome. Programs can be written in various programming languages and are used to control the behavior of computers and other electronic devices.

    Rate this question:

  • 2. 

    A set of logically sequenced instructions that allows to find the solution to a problem is:

    • A.

      Algorithm

    • B.

      Pseudocode

    • C.

      Programming

    • D.

      Program

    Correct Answer
    A. Algorithm
    Explanation
    An algorithm is a set of logically sequenced instructions that allows one to find the solution to a problem. It is a step-by-step procedure that outlines the necessary actions to be taken in order to solve a specific problem or complete a task. Algorithms can be implemented in various forms, such as pseudocode or programming languages, but the key aspect is the logical sequence of instructions that leads to the desired outcome.

    Rate this question:

  • 3. 

    The six stages of program development in logical order are:

    • A.

      Define, Analyze, Write, Test, Document, Debug

    • B.

      Define, Analyze, Develop, Write, Test and Debug, Document

    • C.

      Define, Write, Develop, Analyze, Test, Document

    • D.

      Define, Develop, Write, Test, Document, Debug

    Correct Answer
    B. Define, Analyze, Develop, Write, Test and Debug, Document
    Explanation
    The correct answer is "Define, Analyze, Develop, Write, Test and Debug, Document". This order follows a logical sequence for program development. First, the problem is defined and the requirements are outlined. Then, the program is analyzed to determine the best approach and design. Next, the development phase begins where the code is written. After that, testing and debugging are done to ensure the program functions correctly. Finally, documentation is created to provide instructions and information about the program.

    Rate this question:

  • 4. 

    The programming language that is used to show pupils the concept and structure of programming is called:

    • A.

      Basic

    • B.

      Cobol

    • C.

      Pascal

    • D.

      Java

    Correct Answer
    C. Pascal
    Explanation
    Pascal is a programming language that is commonly used to teach the concepts and structure of programming to beginners. It is known for its simplicity and readability, making it a suitable choice for educational purposes. Pascal's syntax and structure are designed to emphasize good programming practices and help students understand fundamental programming concepts such as variables, loops, and functions. It provides a solid foundation for learning other programming languages and is often used in introductory computer science courses.

    Rate this question:

  • 5. 

    Java is an example of which generation programming language

    • A.

      4GLs

    • B.

      3rd

    • C.

      2nd

    • D.

      1st

    Correct Answer
    A. 4GLs
    Explanation
    Java is not an example of a 4GL (Fourth Generation Language) programming language. It is actually a 3rd generation programming language. 4GLs are high-level programming languages that are designed to be more user-friendly and require less coding compared to lower generation languages. Java, on the other hand, is a general-purpose, object-oriented programming language that was developed as a 3rd generation language to be platform-independent and used for a wide range of applications.

    Rate this question:

  • 6. 

    Which of the following generations of programming language executed code faster:

    • A.

      4GLs

    • B.

      3rd

    • C.

      2nd

    • D.

      1st

    Correct Answer
    D. 1st
    Explanation
    The first generation of programming languages executed code faster compared to the subsequent generations. First-generation languages were low-level languages that directly interacted with the hardware, allowing for efficient execution of instructions. These languages were closer to the machine language of the computer, making them faster but also more difficult to program and less portable.

    Rate this question:

  • 7. 

    Algorithms must be all of the following except:

    • A.

      Logical

    • B.

      Ambiguous

    • C.

      Concise

    • D.

      Precise

    Correct Answer
    B. Ambiguous
    Explanation
    Algorithms must be logical, concise, and precise in order to effectively solve a problem or perform a task. However, they should not be ambiguous. Ambiguity in an algorithm can lead to confusion and incorrect results. An algorithm needs to have clear and unambiguous instructions that can be easily followed by both humans and machines. Ambiguity can arise from vague or unclear instructions, multiple interpretations, or lack of specificity. Therefore, ambiguity is not a desirable characteristic for an algorithm.

    Rate this question:

  • 8. 

    Which language had codes such as MOV, ADD, SUB

    • A.

      Java

    • B.

      Binary

    • C.

      Pascal

    • D.

      Assembly

    Correct Answer
    D. Assembly
    Explanation
    The codes such as MOV, ADD, SUB are commonly used in Assembly language. Assembly language is a low-level programming language that is specific to a particular computer architecture. It uses mnemonic codes like MOV (move), ADD (addition), SUB (subtraction), etc., to represent machine instructions. These codes are then translated into machine code that can be directly executed by the computer's processor. Java, Binary, and Pascal are high-level programming languages that do not use these specific mnemonic codes.

    Rate this question:

  • 9. 

    Which of the following had executes programming codes line by line, rather than the whole program:

    • A.

      Compiler

    • B.

      Interpreter

    • C.

      Executer

    • D.

      Translator

    Correct Answer
    B. Interpreter
    Explanation
    An interpreter executes programming codes line by line, rather than the whole program. It reads and translates the code line by line and immediately executes each line before moving on to the next one. This allows for immediate feedback and debugging during the execution process. Unlike a compiler, which translates the entire program before execution, an interpreter performs the translation and execution simultaneously.

    Rate this question:

  • 10. 

    All the following are examples of third programming language except:

    • A.

      Pascal

    • B.

      C#

    • C.

      Basic

    • D.

      Fortran

    Correct Answer
    B. C#
    Explanation
    C# is not an example of a third programming language because it is actually a third-generation programming language. Third-generation programming languages are high-level languages that are closer to human language and are more user-friendly compared to lower-level languages like assembly language. Pascal, Basic, and Fortran are all examples of third programming languages because they are high-level languages that were developed after the first and second generation languages.

    Rate this question:

Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.