Programming And Development Quiz! Test

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Kay Stibbs
K
Kay Stibbs
Community Contributor
Quizzes Created: 4 | Total Attempts: 1,861
| Attempts: 349
SettingsSettings
Please wait...
  • 1/8 Questions

    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.

    • Sequence
    • Subprogram
    • Variable
    • Loop
Please wait...
About This 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.

Programming And Development Quiz! Test - Quiz

Quiz Preview

  • 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?

    • 2

    • 3

    • 4

    • 5

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

    Rate this question:

  • 3. 

    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

    • Choco < minto

    • (chews+minto) < ( choco - sherbet)

    • Sherbet > chews

    • Chews + sherbert = 7

    Correct Answer
    A. (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:

  • 4. 

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

    • Algorithm -> specification -> product -> programming

    • Algorithm -> specification -> programming -> product

    • Specification -> algorithm -> programming -> product

    • Specification -> programming -> algorithm -> product

    Correct Answer
    A. 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:

  • 5. 

    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?

    • 10 then -3 then 7

    • 10 then 7 then 4 then 1

    • 10 then 7 then 7 then 7

    • 10 then 3 then 0

    Correct Answer
    A. 10 then 7 then 4 then 1
  • 6. 

    Which of the following prints "1" ?

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

    • IF 7>4 AND 5

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

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

    Correct Answer
    A. 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:

  • 7. 

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

    • Roamer

    • Scratch

    • Python

    • Flowchart

    Correct Answer(s)
    A. Roamer
    A. Scratch
    A. 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:

  • 8. 

    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?

    • There are 8 variables

    • There are 9 variables

    • There are 3 procedures

    • There are 2 procedures

    Correct Answer(s)
    A. There are 9 variables
    A. There are 2 procedures

Quiz Review Timeline (Updated): Mar 18, 2023 +

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.