×

### Let's log you in.

or

Don't have a StudySoup account? Create one here!

×

or

## INTRO PROB SOLV & PROGRAMMING

by: Edna Hammes Sr.

12

0

2

# INTRO PROB SOLV & PROGRAMMING MIS 304

Edna Hammes Sr.
UT
GPA 3.85

Kathryn Gray

These notes were just uploaded, and will be ready to view shortly.

Either way, we'll remind you when they're ready :)

Get a free preview of these Notes, just enter your email below.

×
Unlock Preview

COURSE
PROF.
Kathryn Gray
TYPE
Class Notes
PAGES
2
WORDS
KARMA
25 ?

## Popular in Management Information Systems

This 2 page Class Notes was uploaded by Edna Hammes Sr. on Sunday September 6, 2015. The Class Notes belongs to MIS 304 at University of Texas at Austin taught by Kathryn Gray in Fall. Since its upload, it has received 12 views. For similar materials see /class/181561/mis-304-university-of-texas-at-austin in Management Information Systems at University of Texas at Austin.

×

## Reviews for INTRO PROB SOLV & PROGRAMMING

×

×

### What is Karma?

#### You can buy or earn more Karma at anytime and redeem it for class notes, study guides, flashcards, and more!

Date Created: 09/06/15
M15 304 Exam Three Study Guide Ch 10 quotArrays and Structures Organizing Dataquot Not on the Exam Binary Search Pages 392395 Sorting an Array Pages 395406 Terms Array Structure Element Subscript Index Twodimensional array Member Zerobased Populate Concept An array is a series of related variables All variables in an array share a common name and data type Array variables are distinguished by their index The unique number for each element in an array is called a subscript Arrays are zerobased All arrays must be declared before they can be used Arrays are easily manipulated with loops Arrays can be populated from a file or through user input An array can be resized at any time using ReDim However unless you use the Preserve keyword the existing data will be lost when you resize the array A twodimensional array works well for sets of related data Structures are similar to records in a database they store multiple types of related data in a single container Unlike arrays the data types in a structure do not have to be the same A structure MUST be declared outside of other subs functions and event handlers Use s as the prefix for a structure to make recognition easier An array of type structure can be used to work with multiple records Programming Requirement Be able to declare an array with a specified number of elements Remember that array indexes start at zero so Dim intNumberTransactions 10 as Integer will actually give you 11 elements Be able to populate an array with values either from InputBoxes or from values given in the instructions Be able to use an array that has been populated with values Be able to use the GetLowerBoundGetUpperBound and Length methods to determine the size of an array Be able to use a loop and arrays to perform a linear search start at the first record to see if it matches Be able to notify the user if a match is not found Be able to create populate and read from 2 dimensional arrays You do NOT need to know how to use arrays with 3 dimensions Be able to declare populate and use a structure Be able to declare populate and use arrays of structures Ch 12 Objects and Classes Objects Are in a Class By Themselvesquot Terms Base parent class Instance property Business Logic Tier controller Instantiate Data Tier model Methods Derived child class Object instance of a class Encapsulation Presentation tier view Exposed Property Inheritance Shared property Concept There are three tiers in most business applications This architecture is sometimes referred to as a model viewcontroller pattern The presentation view tier contains all the logic for interacting with the user controls on the form etc The business logic controller tier contains all of the logic related to business rules calculations workflows etc The data model tier contains all of the logic related to reading writing updating and deleting data presumably in a database Objectoriented programming creates a quotfiling system for your code which allows you to separate code into the three tiers This is useful since most IT professionals are more skilled with some tiers than others When the code is separated in this way it is easy for subject matter experts to work on separate pieces of the code Classes can be exposed in several ways using Public Private andFriend Classes have properties that are used to store data Property values are stored written with a Set command and accessed read with a Get command When a property is ReadOnly there is a Get with no Set When a property is WriteOnly there is a Set with no Get An instance property is a property where each object created from the class has a separate occurrence of the property A shared property is a property that is used by all instances objects ofa class Only one copy of a shared property exists for all instances objects of the class Shared properties are generally used for counters and accumulators Class methods are similar to procedures subs and functions Instantiation creates a new instance of a class Classes must be instantiated before they can be used Put the pig on the farm All classes should be documented so a programmer can figure out how to use them Programming Requirement Be able to define a custom class and create all the required parts properties and methods Be able to use an existing userdefined class when given the class definition You should be able to instantiate the object call a method and use a property

×

×

### BOOM! Enjoy Your Free Notes!

×

Looks like you've already subscribed to StudySoup, you won't need to purchase another subscription to get this material. To access this material simply click 'View Full Document'

## Why people love StudySoup

Bentley McCaw University of Florida

#### "I was shooting for a perfect 4.0 GPA this semester. Having StudySoup as a study aid was critical to helping me achieve my goal...and I nailed it!"

Amaris Trozzo George Washington University

#### "I made \$350 in just two days after posting my first study guide."

Bentley McCaw University of Florida

#### "I was shooting for a perfect 4.0 GPA this semester. Having StudySoup as a study aid was critical to helping me achieve my goal...and I nailed it!"

Parker Thompson 500 Startups

#### "It's a great way for students to improve their educational experience and it seemed like a product that everybody wants, so all the people participating are winning."

Become an Elite Notetaker and start selling your notes online!
×

### Refund Policy

#### STUDYSOUP CANCELLATION POLICY

All subscriptions to StudySoup are paid in full at the time of subscribing. To change your credit card information or to cancel your subscription, go to "Edit Settings". All credit card information will be available there. If you should decide to cancel your subscription, it will continue to be valid until the next payment period, as all payments for the current period were made in advance. For special circumstances, please email support@studysoup.com

#### STUDYSOUP REFUND POLICY

StudySoup has more than 1 million course-specific study resources to help students study smarter. If you’re having trouble finding what you’re looking for, our customer support team can help you find what you need! Feel free to contact them here: support@studysoup.com

Recurring Subscriptions: If you have canceled your recurring subscription on the day of renewal and have not downloaded any documents, you may request a refund by submitting an email to support@studysoup.com