AP Computer Science Principles Chapter 3 Review

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

a command or instruction. Sometimes also referred to as a code statement.

Program Statement

A precise sequence of instructions for processes that can be executed by a computer and are implemented using programming languages.

What are algorithms?

the program is determined by events such as user actions, sensor outputs, or message passing from other programs

What is event driven programming?

A thread of coding that runs in the order it was written regardless of user interactions

What is sequential programming?

b. 1 and 3 only

Which of the above actions would usually be helpful in designing and developing an app? 1. Interviewing potential users of the app 2. Writing the entire program code before testing any parts of it. 3. observing users attempting to use the app. a. 1 and 2 only b. 1 and 3 only c. 2 and 3 only d. 1, 2, and 3

d. in sequential programming commands run in the order they are written, in event driven programming some commands run in response to user interactions or other events.

Which of the following best describes the differences between sequential and event driven programming? a. in sequential programming commands run one at a time. in event driven programming all commands run at the same time b. in sequential programming commands run faster than event driven programming c. in sequential programming each command is run many times in sequence. In event driven programming all commands are run in a single time as an event d. in sequential programming commands run in the order they are written, in event driven programming some commands run in response to user interactions or other events.

c. describing the requirements for how a program will work or users will interact with it

Which of the following best describes the purpose of a design specification? a. tracking errors through user testing b. documenting comments that will need to be added to a program c. describing the requirements for how a program will work or users will interact with it d. listing detailed questions that will be asked of users during interviews

a. comments help the computer decide weather certain components of a program are important.

Which of the following is NOT a reason to include comments in programs? a. comments help the computer decide weather certain components of a program are important. b. comments help programmers debug issues in their own code. c. comments help document how code was written for other programmers to use. d. comments enable programmers to track their work throughout the development process.

form of program documentation written into the program to be read by people and which do not affect how a program runs.

comment

a written description of how a command or piece of code works or was developed.

documentation

data that are sent to a computer for processing by a program. Can come in a variety of forms, such as tactile interaction, audio, visuals, or text. examples include selecting a button or tapping the screen.

inputs

any data that are sent from a program to a device. Can come in a variety of forms, such as tactile interaction, audio, visuals, or text. examples include an image popping up or a audio playing

outputs

a collection of program statements. Programs run (or "execute") one command at a time.

program

the inputs and outputs that allow a user to interact with a piece of software. User interfaces can include a variety of forms such as buttons, menus, images, text, and graphics.

user interface


संबंधित स्टडी सेट्स

Unit Summary Test V4 C708 Principles of accounting

View Set

Unit 2 - 2.The structure of relational models

View Set

Physics: edX Momentum/Collisions

View Set

Unit 17 Types of Electric Motors

View Set