• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/35

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

35 Cards in this Set

  • Front
  • Back

ADDIE Model - Analysis

Input: Client Meetings and/or market research


Output: Req Doc

ADDIE Model - Design

Output: Design Doc

1st Law - Pseudocode


Var and Proc Names

camelCase or c_style_convention



1st Law - Pseudocode


ALL_CAPS

Named Constants

1st Law - Pseudocode


PascalCase

Violates convention


used for


class and struct names



2nd Law - Pseudocode


no syntax rules but conventions for


this class

Be consistent


Use Var name conventions


Use prompt to ask for input


Use display for every other output

Algorithms

A well-defined sequence of steps for solving a problem

Heuristic

Based on probability and rule of thumb; generally heuristic problems involve uncertainty and trial-and-error

Variable

Storage location for data that has been given a name


Name


Value


Data Type


Memory Location


Size


Scope

Variable Data Types

Indicates "variety" and amount of storage required


Integer


Real/Floating-point


Char


Boolean/Logical


String


In statically-typed lang var must be declared with its name

Data Structures - Aggregate data types composed of primitive data types


Homogeneous

Arrays, vectors (dynamically-allocated arrays


Elements of the same data type

Data Structures - Aggregate data types composed of primitive data types


Heterogneous

Structs, classes


May contain elements of different types


Classes may contain procs, called methods


Structs usually dont, but the line is not absolute in many languages

Identifier names

Variables


Named Constant


Function


Class


Struct Tag

Must haves for Var, Constants, Func

Data Type


Optionally supplied value


All Constants must be initialized (given a value)

This would be needed to store up to 256 chars

Byte

What's the name of the standard used to store character data in C/C++

ASCII (subset of unicode)

What is the standard to store data in a web-based app

Unicode (often UTF-8 on the web)

How are negative nums represented internally in binary

converting it to 2's complement notation

After writing a program, you launch it and it crashes this is what is wrong

logic error - during runtime


(fyi syntax error - only at execution compiler)

Assignment statement

sets a variable to a specified value


= is assignment


== is the equality comparison operator

Order of precedence in math expression

parenthesis


left to right


multiply


divide


add


subtract



All computer data stored as

binary numbers (machine language)

Software Requirement

A single, specific function that a program must be able to perform in order to satisfy the customer

Basic Flowchart symbols

Rectangle - process/assignment


Parallelogram - input/output


Oval - start/end


Diamond - decision statement


Rectangle with lines - proc/subprogram/func call

Variable Scope Global

Declared outside any function or block


It is accessible anywhere in the program


Usually a bad idea unless Named Constant

Variable Scope Local

Declared inside a func or block

syntax error

errors in following rules of lang

logic error

error in content - program may run but not sucessfully

procedural lang

programmer creates list of steps to complete desired task (creating procs) and assembling Fortran Cobol Basic C

object oriented lang

programmer can create objects (nouns) that have attributes and functionality. they can be assembled into working program


Java C++ C# VB VB.Net

scripting lang

needs a host program to "do" anything are not used to create stand alone exec programs but can be opened in web browser


HTML Javascript VBScript

event driven program

no prescribed list of steps that will occur each time the program runs from start to completion. flow is based on system or user events

6 steps of problem solving

Identify prob


Understand prob


Identify alternatives solutions


Select best solution


Develop algorithm


Evaluate solution

Truth tables meanings and order of precedence

NOT = opposite

AND = false unless true true


OR = if 1 true then true else false

complete precedence list for the operators

( )


^


*, /, \, mod


+, -


<, >, <=, >=, ==, <>


NOT


AND


OR


=