Programming And Development Quiz! Test

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 Kay Stibbs
K
Kay Stibbs
Community Contributor
Quizzes Created: 4 | Total Attempts: 1,703
Questions: 8 | Attempts: 331

SettingsSettingsSettings
Programming And Development Quiz! Test - Quiz


How familiar are you with programming and development? Do you believe you can pass this quiz? With this quiz, you must discern between computer languages, what a sequence is, the correct sequence of the changes shown, how to read and study programs, why computer programming is an essential factor in science, and how to problem-solve. This quiz may be complex, but it is worth a try if you are up for it.


Questions and Answers
  • 1. 

    Computer programs are created to make computers and robots do things. Which of these are programming languages?

    • A.

      Roamer

    • B.

      Scratch

    • C.

      Python

    • D.

      Flowchart

    Correct Answer(s)
    A. Roamer
    B. Scratch
    C. Python
    Explanation
    Roamer, Scratch, and Python are programming languages. Programming languages are used to create computer programs and instruct computers and robots on what tasks to perform. Roamer is a programming language specifically designed for educational robots, while Scratch is a visual programming language used for creating interactive stories, games, and animations. Python is a general-purpose programming language widely used in various applications, including web development, data analysis, and artificial intelligence. Flowchart, on the other hand, is not a programming language but a graphical representation of a process or algorithm.

    Rate this question:

  • 2. 

    Look at the program in the attached illustration. Go through the steps and work out what it does. You should use paper and pencil . What does the program print out?

    • A.

      2

    • B.

      3

    • C.

      4

    • D.

      5

    Correct Answer
    B. 3
    Explanation
    The program prints out the number 3.

    Rate this question:

  • 3. 

    When we write a program we need to keep track of values as they change. The image shows some values that the program is changing and checking. Select the general name for the values of this type.

    • A.

      Sequence

    • B.

      Subprogram

    • C.

      Variable

    • D.

      Loop

    Correct Answer
    C. Variable
    Explanation
    When writing a program, we often need to keep track of values as they change. These values can be assigned different values and checked at different points in the program. The general name for these values is "variable." Variables are used to store and manipulate data in a program. They can hold different types of values such as numbers, strings, or boolean values, and their values can be modified throughout the program's execution.

    Rate this question:

  • 4. 

    Look at the program go through the steps and determine what it does. You should use paper and pencil. When you test this code the value in box A changes.  Which is the correct sequence of these changes?

    • A.

      10 then -3 then 7

    • B.

      10 then 7 then 4 then 1

    • C.

      10 then 7 then 7 then 7

    • D.

      10 then 3 then 0

    Correct Answer
    B. 10 then 7 then 4 then 1
  • 5. 

    Which of the following prints "1" ?

    • A.

      IF 4>3 THEN PRINT "0" ELSE PRINT "1"

    • B.

      IF 7>4 AND 5

    • C.

      IF 7>3 OR 3>5 THEN PRINT "1" ELSE PRINT "0"

    • D.

      IF 7>9 OR 2>5 THEN PRINT "1" ELSE PRINT "0"

    Correct Answer
    C. IF 7>3 OR 3>5 THEN PRINT "1" ELSE PRINT "0"
    Explanation
    The correct answer is "IF 7>3 OR 3>5 THEN PRINT '1' ELSE PRINT '0'". This statement will evaluate whether 7 is greater than 3 or if 3 is greater than 5. Since 7 is indeed greater than 3, the condition will be true and the program will print "1".

    Rate this question:

  • 6. 

    Study this computer program. It is correct and works. It is designed to control the traffic light at a crossroads with a pedestrian crossing. The traffic lights for the traffic go through their sequence. If the pedestrian button is pressed then the traffic lights go to red and the pedestrians can crossWhich of these are true?

    • A.

      There are 8 variables

    • B.

      There are 9 variables

    • C.

      There are 3 procedures

    • D.

      There are 2 procedures

    Correct Answer(s)
    B. There are 9 variables
    D. There are 2 procedures
  • 7. 

    Computer programming is an important aspect of computer science.Which of these are true?

    • A.

      Algorithm -> specification -> product -> programming

    • B.

      Algorithm -> specification -> programming -> product

    • C.

      Specification -> algorithm -> programming -> product

    • D.

      Specification -> programming -> algorithm -> product

    Correct Answer
    C. Specification -> algorithm -> programming -> product
    Explanation
    This answer is correct because it follows the logical order of steps in the process of computer programming. First, a specification is created to outline the desired outcome or requirements of the program. Then, an algorithm is developed to determine the step-by-step instructions for achieving the desired outcome. Next, the programming phase takes place where the algorithm is translated into a programming language and implemented. Finally, the end result is the product, which is the functioning program.

    Rate this question:

  • 8. 

    At the end of the Sugar Squash game a player had gained the following sweets choco=9; minto = 3; chews=5; sherbet=0The game applies this algorithm to award the score - read the program carefully.Use logic & paper & pencil to work out which of these are true

    • A.

      Choco < minto

    • B.

      (chews+minto) < ( choco - sherbet)

    • C.

      Sherbet > chews

    • D.

      Chews + sherbert = 7

    Correct Answer
    B. (chews+minto) < ( choco - sherbet)
    Explanation
    In order to determine if the statement is true, we need to substitute the given values into the equation and evaluate it.

    Given: choco = 9, minto = 3, chews = 5, sherbet = 0

    Substituting the values into the equation, we get:

    (5 + 3) < (9 - 0)
    8 < 9

    Since 8 is indeed less than 9, the statement is true.

    Rate this question:

Quiz Review Timeline +

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

  • Current Version
  • Mar 18, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Jun 22, 2017
    Quiz Created by
    Kay Stibbs
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.