APCSP- Big Idea 1

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

Program outputs

- any data sent from a program to a device -usually based on a program's input -visual, audio, tactile (touch/feel), text -any data sent from a program to a device. Program output can come in a variety of forms, such as tactile, audio, visual, or text.

Topic 1.1- Collaboration

-Collaboration that includes diverse perspectives helps avoid bias in the development of computing innovations - Interpersonal skills learned through collabs: communication, consensus building, conflict resolution, negotiation -Information from users -> diverse perspectives-> helps develop programs - Consultation/Communication -Online tools-> support collabs by allowing programmers to share and provide feedback on ideas and docs -Common models such as pair programming exist to facilitate collabs

Topic 1.3- Program Design and Development

-Specific purpose for program-> explore the problem/purpose-> developers determine requirements and limitations/ user concerns -Surveys/User testing imp -Program design-> brainstorming, storyboard, user experience, user interface/interaction, testing strat -Developers describe how a prog. should behave, outline requirements, and then create a prototype (incremental process) -Programmers create program documentation to...describe the prog., list specification, describe functions/events/procedures/methods -Throughout the prog. development, documentation is kept to keep track of progress and be explain to explain/edit/give credit -Comments

Code Segment

-a collection of program statements that are apart of a program -executed according to the rules of the language -a collection of program statements that is part of a program.

Comments

-a form of program documentation written into the program to be read by people and do not affect how a program runs. -Ex: phython (#), java (//), C C++ etc

Logic error

-a mistake in the algorithm or program that causes it to behave incorrectly or unexpectedly.

run-time error

-a mistake in the program that occurs during the execution of a program. Programming languages define their own run-time errors. -"bug" -"the program runs/compiles initally, but fails and cannot complete its processes - cause: diving by zero, inappropriately entered data type

Syntax error

-a mistake in the program where the rules of the programming language are not followed.

Program/Software

-a set of instructions that a computer follows to perform a task -a collection of program statements that performs a specific task when run by a computer -statement=command -a collection of program statements that performs a specific task when run by a computer. A program is often referred to as software.

program documentation

-a written description of the function of a code segment, event, procedure, or program and how it was developed. -helps in developing and maintaining correct programs when working individually or in collaborative programming environments. -improves efficiency and the programmers ability to test and refine the program and their response to bugs

overflow error

-an error that occurs when a computer attempts to handle a number that is outside of the defined range of values. -value too big to display

Event

-associated with an action and supplies input data to a program -can be generated when a key is pressed, a mouse is clicked, a program is started, or any other defined action occurs that affects the flow of execution -associated with an action and supplies input data to a program. -Events can be generated when a key is pressed, a mouse is clicked, a program is started, or any other defined action occurs that affects the flow of execution.

Program inputs

-data sent to a computer for processing by a program...ex tactile, audio, visual, or text -usually affect the output produced -data sent to a computer for processing by a program. Input can come in a variety of forms, such as tactile, audio, visual, or text.

Behavior

-how a program functions during execution and is often described by how a user interacts with it -a program is how a program functions during execution and is often described by how a user interacts with it.

Topic 1.4- Identifying and Correcting Errors

-Identify errors -Ways to find and correct errors... -Test cases: first strat. used to find logic errors...as the name states use values and run a code -Hand tracing: most useful w. iterations or loops, it is simply writing out the values of the variables within the loop as it iterates to determine of the outcome is correct, useful for small code segements -Adding extra output statements: helps find and fix errors, allows the computer to do more work - Visualizations determine if a program is working correctly -Debuggers use software designed to run a program, allowing it to be paused and tested in the midst of running to determine if it is working properly

Topic 1.4 part 2

-In the development process, testing uses defined inputs to ensure that an algorithm or program is producing the expected outcomes. Programmers use the results from testing to revise their algorithms or programs. -Defined inputs used to test a program should demonstrate the different expected outcomes that are at or just beyond the extremes (minimum and maximum) of input data. -Program requirements are needed to identify appropriate defined inputs for testing. -Once the inputs and corresponding output are determined, programmers test, test, and test. -After testing, programmer use the results the revise, refine, and improve their programs. And then again and again. After the programmers test, then users test, and then the programmers refine even more. And finally, the program is released.

Topic 1.2- Program Function and Purpose

-Innovations: apps, physical devices, and systems -Purpose for innovations-> why? problem? solve past problems? -Inputs come in varieties -programs are event driven with triggers -Input affects output -Action may be initiated by the user or another program/device-. program moves to the code segment according to the event_. code seg is executed as they are called-> output caused by code seg triggered -Description of code segs say what it does and include how it performs (explains how the code seg functions) -Code segments have to work for a variety of diff scenarios like lists etc -Can be inserted into a larger program -Functionality and practicality


Kaugnay na mga set ng pag-aaral

Exam 4 Connect Practice Questions

View Set

Generation of Energy from Dietary Lipids

View Set

Prep U for test 2; Urinary and rectal

View Set

Give Me Liberty!: Chapter 16 (Multiple Choice)

View Set

Principles of Marketing: Chapter 11 Assignment

View Set

Sosiologi (XIV) Perubahan Sosial dan Pembangunan

View Set

reasons for British withdrawal from Palestine 1948

View Set