Save
Computer science
Structured programming
Save
Share
Learn
Content
Leaderboard
Share
Learn
Created by
Burak
Visit profile
Cards (38)
What is the focus of Section Seven?
Design, Testing, and Ideas
View source
How can subprograms be used in programming?
To store a whole set of
instructions
View source
What is a typical use of a single program in structured programming?
To perform
specific
and simple tasks
View source
What do structured diagrams help with in programming?
They
make
creating
programs
easier
They show
smaller
tasks
of a
larger
program
View source
What do structured diagrams represent in programming?
Smaller
tasks
of a larger program
View source
How are structured diagrams created?
By decomposing the program into
modules
View source
What is the purpose of creating modules in programming?
To manage
manageable
modules
for
coding
View source
How do smaller modules contribute to programming?
They can be further decomposed into
tasks
View source
What can simple subprograms be written to do?
Carry out each individual
task
View source
How can you design a program simulating a game of noughts and crosses?
By using smaller
tasks
for each action
View source
What might smaller tasks in a game simulation include?
Taking
turns
and checking for
winners
View source
What can additional modules do in a program?
Be added if
parts
of the program
change
View source
How can you set up a new game in programming?
By resetting the program names of
rounds
View source
What should you do after playing a game in programming?
Work out the
winner
View source
What is the purpose of resetting the program names?
To prepare for a new
game
round
View source
Who goes first in the game?
The
player
chosen to start
View source
How can modules be broken down in programming?
Into individual
tasks
for easier management
View source
What can individual subprograms and modules be?
Fixed
and
updated
without
affecting
others
View source
How can you reuse subprograms in future programming?
By
integrating
them into
new
programs
View source
What is the benefit of reusing subprograms?
It saves time in future
programming
tasks
View source
What can be tested individually?
Subprograms
and
modules
View source
How can subprograms and modules be modified?
They can be
fixed
and updated without affecting others
View source
What can you do with subprograms and modules in future programs?
You can
reuse
them in programs you write
View source
What should your programs be easy to maintain?
Code
should be well-maintained
Allows for easier
updates
and fixes
View source
What is important when using structured programming?
Your code must be
well-maintained
View source
Why is a well-maintained program beneficial?
It makes it easier for others to
understand
View source
What should other programmers be able to do with your code?
Understand
what the code does
View source
What should programmers be able to change in the source code?
Parts
of the source code without risk
View source
What features can improve the maintainability of source code?
Comments
and clear
documentation
View source
Why are comments important in programming?
They explain
key features
of a program
View source
What should variables, subprograms, and parameters be named for?
To refer to what they
are
View source
How does naming conventions help programmers?
They help understand what the
code
does
View source
What is the benefit of using subprograms in programming?
They help
understand
different
parts
of a program
View source
How can subprograms help in understanding a program's flow?
They
clarify
the
flow
of the program
View source
What can comments help other programmers do?
Understand your
programs
better
View source
Why is it important to follow standard naming conventions?
It ensures
clarity
and
consistency
in code
View source
How does clear naming of variables and functions affect programming?
It makes
tracking
and understanding easier
View source
What is the overall benefit of maintaining clear and understandable code?
It helps keep track of the
program
View source