Computer Science Quiz 1
Some ways investigation can be performed are as follows:
-collecting data through surveys -user testing -interviews -direct observations
Program
A collection of program statements that performs a specific task when run by a computer.
Code segment
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
Types of interpersonal skills
communication. consensus building, conflict resolution, negotiation
A computer innovation includes a ______ as an integral part of its function
program
What is a program referred as ?
software
Design phase includes
-planning and storyboarding -organizing the program into modules and functional components -creation of diagram that represent the layouts of the user interface -development of a testing strategy for for the program
two things about inputs
1. inputs usually affect the output produced by a program 2. input can come from a user or other programs
Logic error
A mistake in the algorithm or program that causes it to behave incorrectly or unexpectedly
Run-time
A mistake in the program that occurs during the execution of a program.
Syntax error
A mistake in the program where the sales of the programming language are not followed
Overflow
An error that occurs when a computer attempts to handle a number that is outside of the defined range of values
What should acknowledgement include
Origin and original author's name
What is important to acknowledge about any code segments
That they were developed collaboratively or by another source
What is the purpose of computing innovations?
To solve problems or pursue interest through creative expression
Program outputs
any data sent from a program to a device.
Event
associated with an action and supplies input data to a program.
Collaboration includes diverse perspectives that helps avoid what in in the development of computing innovations
avoid bias
Development process
can be ordered and intentional, or exploratory in nature.
Consultation and _______________ are important aspects of the development of computing innovaitons
communication with users
a nonphysical computing ______ (e.g. e-commerce)
concept
Program inputs
date sent to a computer for processing by a program
Program speficiation
defines the requirements for the program
Program requirements
describe how a program functions and may include a description of user interactions that a program must provide
Development process steps
investigating and reflecting, designing, protyping, testing
program documentation
is a written description of the function of a code segment, event, procedure, or program and how it was developed. Helps in developing and maintain correct programs when working individually or with others
What happens if the development process is incremental
is one that breaks the problem into smaller pieces and makes sure each piece works before adding it to the whole
Investigation
is useful for understanding and identifying the program constraints as well as the concerns and interests of the people who will use the program
Design phase
outlines how to accomplish a given program specification
An example of common models
pair programming: exist to facilitate collaboration
Effective collaboration produces a computing innovation that reflects the diversity of talents and _________ of those who designed it
perspectives
A computing innovation can be _____ (e.g self-driving car)
physical
Information gathered from _________ can be used to understand the purpose of a program from diverse perspectives and to develop a program that fully incorporates these perspectives
potential users
What happens in event-driven programming
program statements are executed when triggered rather than through sequential flow of control
What happens if the development process is itertive
requires refinement and revision based on feedback, testing, or reflection throughout the process. this may require revisiting earlier phases of the process
nonphysical computing _______(e.g. picture editing software)
software
Variety forms of an input
tactile, audio, visual, or text
Program output can come in a variety of forms, such as
tactile, audio, visual, or text.
Effective ways to find and correct errors
test cases, hand tracing, visualizations, debuggers, adding extra output statement(s)
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.
How do online tools support collaboration?
By allowing programmers to share and provide feedback on ideas and documents