AP COMPUTER SCIENCE AND PRINCIPLES EXAM WITH COMPLETE SOLUTION 2023/2024
AP COMPUTER SCIENCE AND PRINCIPLES EXAM WITH COMPLETE SOLUTION 2023/2024 BIG IDEA 1 Unit 1 Intro to Programming event is associated with an action, such as clicking on the sprite, pressing a key, or clicking the green flag button loop in computer programming -- the code inside a loop repeats over and over! algorithm a step-by-step procedure defines a set of instructions that must be carried out in order to produce the desired result. parameters (or formal parameter) is the input name, such as number of branches. The input name is set in the block definition. It never changes. Iteration it's called "iteration" because the code repeats (iterates) over and over again. Note that iteration statements have a stopping condition: either some condition becoming true (as seen in the repeat-until), or code repeating for a designated number of times (as seen in the repeat). forever statement it isn't technically considered an iteration statement because there is no stopping condition SELECTION if and if-else blocks boolean true/false or yes/no Abstraction a simplified representation of something more complex. Abstractions allow you to hide details to help you manage complexity, focus on relevant concepts, and reason about problems at a higher level. procedural abstraction a process and allows a procedure to be used only knowing what it does, not how it does it. Procedural abstraction allows a solution to a large problem to be based on the solution of smaller subproblems. This is accomplished by creating procedures to solve each of the subproblems. reporters to report a value, they are called reporters. list is an ordered set of items. string is a sequence of characters (letters, digits, punctuation, etc.). substring
Written for
- Institution
- AP COMPUTER SCIENCE AND PRINCIPLES
- Course
- AP COMPUTER SCIENCE AND PRINCIPLES
Document information
- Uploaded on
- December 6, 2023
- Number of pages
- 11
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
ap computer science and principles exam with compl