
Design Planning a Procedural Program in Python
Quiz by Michel Sacramento
Feel free to use or edit a copy
includes Teacher and Student dashboards
Measure skillsfrom any curriculum
Measure skills
from any curriculum
Tag the questions with any skills you have. Your dashboard will track each student's mastery of each skill.
With a free account, teachers can
- edit the questions
- save a copy for later
- start a class game
- automatically assign follow-up activities based on students’ scores
- assign as homework
- share a link with colleagues
- print as a bubble sheet
6 questions
Show answers
- Q1In programming what is a data dictionary for?A list of values of different data types.A data dictionary is a collection of variable names and function names in a data model that describe their type and relationships for the benefit of programmers and others who need to refer to them.A list of values of the same data types.A collection of data of various types and ranges.30s
- Q2What is a flowchart?A step-by-step written description of a complete routine.A pseudo-code is an informal human-language like description of the operating principle of a computer program or other algorithm.A flowchart is a visual representation of a computer program in descriptive shapes showing the sequence of steps and decisions needed to perform a process.A descriptive report of the working of a computer program.30s
- Q3What is a pseudo-code?A fake computer program that mimics a real computer program.A pseudo-code is an informal human-language like description of the operating principle of a computer program or other algorithm.An obsolete version of a modern computer program, which serves as a legacy program.A piece of code that helps a programmer to periodically test the actual program.30s
- Q4How would you dry-run your code?By testing the computer program with empty (NULL) data values.By running the code in such a way that any undetected error in the code may be revealed.By recording in a table, the changes in values of the related variables and other input/output, following the steps of an algorithm.By running the code in a safe environment before deployment on a live computer system.30s
- Q5What are the benefits of modular programming?A computer program designed in modular files is much smaller in size, but more efficient to run.In modular programming, pre-defined modules are simply combined together, which helps in writing programs much faster than conventionally.Modular programming is best used for starter computer programmers, as it does not require too complex programming techniques.It allows for breaking down a program into smaller parts, which may be useful for team work. It helps better maintain or debug a program. It makes the code re-usable.30s
- Q6How specific are the modules being imported?The last three imports are more specific than the first two, as the first two must be invoked using the dot annotation. Ex.: time.sleep(3) #will persist the display for 3 secondsAll five ways of importing modules end up producing the same result, so the functions are used in just the same way.The first two imports are more specific because they are shorter, so they are easier to use.The * symbol means that the entire module is made available as this is traditionally the wild card, so the last way of importing is the most specific.60s