Section 1

Preview this deck

How top-down design is used in programming

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

0

All-time users

0

Favorites

0

Last updated

4 years ago

Date created

Mar 1, 2020

Cards (32)

Section 1

(32 cards)

How top-down design is used in programming

Front

get input, process data, output results

Back

Debugging - getting rid of errors

Front

finding and correcting errors

Back

Compiling

Front

translating a higher level programming language to a lower level programming language (closer to binary) to be executed

Back

Logical Errors

Front

program runs but executes incorrectly

Back

Java Programmer - Basic I/O Device

Front

input something and it outputs it as code

Back

Compilation

Front

code must be converted from 0s and 1s compiler creates an executable program (or something close to executable) some languages use an interpreter

Back

Importance of Programming

Front

computer programs exist for many tasks, programming is necessary when no existing software can preform a task, basic knowledge of programming is important

Back

Programming Language

Front

a "code" for instructions that CPU can preform, languages use special words and strict rules

Back

Coding - speaking the language of the computer

Front

translating an algorithm into CPU instructions

Back

Testing Plan

Front

helps programmers know that program has solved the problem

Back

Programmers move from algorithm to code by:

Front

identifying key pieces of information, identifying flow of each step, converting algorithm into specific programming language, compiling a program so it can be executed by the computer

Back

Describing the problem - the problem statement

Front

necessary to solve problems, interact with users error handling problem statement includes testing plan; does not cover every possible input, but patterns of inputs

Back

Top-Down Design

Front

problem is broken into a series of high-level tasks, detailed subtasks created from high-level tasks (These subtasks are implemented with functions or methods in many programming languages) continue until the steps are close to programming language commands the overall process is called problem decomposition

Back

Making a plan - algorithm development

Front

developing a detailed algorithm, algorithms can be developed through detailed flow charts that provide visual representations of patterns

Back

Programmers handle complex algorithms

Front

list of choices, decision points: -binary decisions (implemented with if-else statements) -loops (implemented with while/for/repeat statements)

Back

Eclipse IDE

Front

A heavy-weight IDE for multiple programming languages, A popular IDE, and it is free and open source

Back

Programming Languages

Front

developed to balance conflicting goals;

Back

Mobile Applications

Front

Android software development kit (SDK) is required, Uses well-known IDEs with special plug-ins

Back

An information system includes:

Front

data, people, procedures, hardware, software

Back

Understanding Programming

Front

some tasks are complex: require creative thought and human touch some tasks are candidates for automation: repetitive, work with electronic info, follow a series of clear steps

Back

Careers in Programming

Front

Offer plentiful jobs, strong salaries, easy potential for telecommunication

Back

Life Cycle of an Information System

Front

1. problem/opportnity identification 2. analysis 3. design 4. development 5. testing and installation 6. maintenance & evaluation

Back

Algorithm

Front

a finite sequence of steps to solve some problem, written in pseudocode

Back

Compilation Errors

Front

improper syntax

Back

Programmers create algorithms using:

Front

top-down design, object-oriented analysis

Back

Error Handling

Front

also known as exception handling, how programmers handle bad inputs

Back

Testing and documentation - finishing the project

Front

internal and external testing, solving problems after beta testing, release to manufacturers (RTM), documentation, general availability (GA)

Back

TIOBE Index

Front

programming community index that compares programming languages

Back

Life Cycle of a Program

Front

step 1: describing the problem - the problem statement step 2: making a plan - algorithm development step 3: coding - speaking the language of the computer step 4: debugging - getting rid of errors step 5: testing and documentation - finishing the project

Back

System

Front

collection of pieces working to achieve a common goal

Back

Pseudocode

Front

how algorithms can be represented

Back

Program

Front

a finite sequence of steps to solve some problem that is written in a programming language (ex. Java, C, C++, etc.)

Back