Program

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

A computer program is

A computer program is a collection of instructions that performs a specific task when executed by a computer. A computer requires programs to function and typically executes the program's instructions in a central processing unit.

Mathematical expression in computer science

An expression in a programming language is a combination of one or more explicit values, constants, variables, operators, and functions that the programming language interprets (according to its particular rules of precedence and of association) and computes to produce ("to return", in a stateful environment) another value.

Application program interfaces (APIs)

Application program interface (API) is a set of routines, protocols, and tools for building software applications. An API specifies how software components should interact. Additionally, APIs are used when programming graphical user interface (GUI) components.

Procedure or function

Basic Difference Function must return a value but in Stored Procedure it is optional( Procedure can return zero or n values). Functions can have only input parameters for it whereas Procedures can have input/output parameters . ... Functions can be called from Procedure whereas Procedures cannot be called from Function.

List or array in computer science

In computer science, an array data structure, or simply an array, is a data structure consisting of a collection of elements (values or variables), each identified by at least one array index or key. An array is stored so that the position of each element can be computed from its index tuple by a mathematical formula.

Iterative process

Iteration is the act of repeating a process, either to generate an unbounded sequence of outcomes, or with the aim of approaching a desired goal, target or result. Each repetition of the process is also called an "iteration", and the results of one iteration are used as the starting point for the next iteration.

Logical operators in computer science

Logic operations include any operations that manipulate Boolean values. Boolean values are either true or false. They are named after English mathematician George Boole, who invented Boolean algebra, and is widely considered the founder of computer science theory. They can also be represented as 1 and 0.

List 4 reasons a program might be developed.

Programs can be developed for creative expression, to satisfy personal curiosity, to create new knowledge, or to solve problems (to help people, organizations, or society).

Program documentation

Software documentation is written text or illustration that accompanies computer software. It either explains how it operates or how to use it, and may mean different things to people in different roles. Documentation is an important part of software engineering.

_________________ generalize a solution by allowing a function to be used instead of duplicated code

Write functions with parameters to

Interface

a device or program enabling a user to communicate with a computer.

Parameter

a numerical or other measurable factor forming one of a set that defines a system or sets the conditions of its operation.

Boolean

denoting a system of algebraic notation used to represent logical propositions, especially in computing and electronics.

Give four tasks. A programmer _______________, ____________________________,________________________, and __________________ when solving problems

designs, creates, tests, debugs

True or False Incrementally adding tested program segments to correct, working programs helps create large correct programs.

false

____________________ provide different values as input to procedures when they are called in a program.

parameters

Debugging

to identify and remove errors from (computer hardware or software).

True or False Collaboration is beneficial when developing a program.

true

True or False Consultation and communication with program users is an important aspect of program development to solve problems.

true

True or False Procedures reduce the complexity of writing and maintaining programs.

true

True or False Processes use memory, a central processing unit (CPU), and input and output.

true

True or False Program instructions are executed sequentially.

true


Ensembles d'études connexes

PBS 1 - Emotion - Does affect help or hinder with regard to cognitive processing?

View Set

The psychology that is being investigated in the studies

View Set

Types of insurance policies life

View Set

Prep U Chapter 7: The Nursing Role in Genetic Assessment and Counseling

View Set