COMPUTER SCIENCE AND ENGINEERING
ALGORITHMS
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
iteration
|
|
selection
|
|
sequencing
|
|
sorting
|
|
prioritizing
|
Detailed explanation-1: -Selection is a programming construct where a section of code is run only if a condition is met. In programming, there are occasions when a decision needs to be made. Selection is the process of making a decision. The result of the decision determines which path the program will take next.
Detailed explanation-2: -Iteration is when we use loops to repeat code in a program. Selection is when we use conditionals (if/else) to execute different blocks of code in a program.
Detailed explanation-3: -AP Computer Science Principles ⌨ A procedure is a group of programming instructions. They’re also known as methods or functions, depending on the programming language. You can use a procedure to use the same set of instructions, again and again, without having to rewrite it into your code.
Detailed explanation-4: -Update your Study resources: To get a 5 score in your AP Computer Science A exam, it is essential to always get in touch with the new study resources and material. Try to make notes of every important topic and make sure to often make a match about what you learned by exploring other study materials.