.  202 f 17  . 

TEST! 10/16 and 10/18
⇒ TUTOR / LOTTO due fri, 11/3, d2l, 10pm
⇒ FILEDRAW due tue, 11/21, d2l, 10pm
⇒ READ Gaddis Text!
Quizzes may be announced OR unannounced
Projects   .  
0.LAB       1.CODE       2.ARITHMETIC       3. TUTOR / LOTTO       4. FILEDRAW       5. DATAVIZ / SHAKES

readable code       c# windows code       c# console code       c# reference       steps to create a program       c# programmming guide
42 class calendar
 wk   1         2          3          4         5          6          7          8          9          10         11         12         13         14        15
 28 30 01 | -- 06 08 | 11 13 15 | 18 20 22 | 25 27 29 | 02 04 -- | 09 11 13 | 16 18 20 | 23 25 27 | 30 01 03 | 06 08 10 | 13 15 17 | 20 21 -- | 27 29 01 | 04 06 08            
 01 02 03   xx 04 05   06 07 08   09 10 11   12 13 14   15 16 xx   17 18 19   20 21 22   23 24 25   26 27 28   29 30 31   32 33 34   35 36 xx   37 38 39   40 41 42
 
about cis202
syllabus & addendum (pdf)   ·   faq (grades, lab hours,honesty, majors, etc...)   ·   2gb flash: see me   ·   TUTOR SIGNUP!



We want the ".Net desktop development" workload, but you can include more...


Part I Notes
A.   Introduction to Computing & Programming
B.   Introduction to Visual C#
C.   Processing Data into Information
D.   Listboxes, Random Numbers, Tab Controls and Timers
            5.1 Listboxes
            5.8 Random Numbers
            Appendix B: Tabcontrol 
            About: TabControls and Timers
              MSDN: TabControls
              MSDN: Timers
            
  ∴   Test1 - Mid Term Exam: M & W
            TEST 1  Review 
               first day - multiple choice 
               second day - read code and answer questions, write code
            Create a CAP
         
Part II Notes
E.   Making Decisions
4: MAKING DECISIONS 4.1 Decision Structures and the if Statement 4.2 The if-else Statement 4.3 Nested Decision Structures 4.4 Logical Operators 4.5 bool Variables and Flags 4.6 Comparing Strings 4.7 Preventing Data Conversion Exceptions with TryParse 4.8 Input Validation 4.9 Radio Buttons and CheckBoxes 4.10 The switch Statement 4.11 Introduction to List Boxes
GUI: RadioButton, CheckBox, ListBox
- Use relational operators and Boolean expressions to control the flow of a program with decision structures. - The if , if-else , and if-else-if statements are covered. - Use nested decision structures, logical operators, and switch statements. - Use TryParse to validate input and prevent exceptions. - Use radio buttons, check boxes, and list boxes.
Invoice Total (if) if ( condition is true ) { ... do these things } if ( condition is true ) { ... do these things } else { ... do these things } if ( condition is true ) { ... do these things } else if ( condition is true ) { ... do these things } else { ... do these things }
// if either is true if (condition || condition) { ... do these things } // if both are true if (condition || condition) { ... do these things }
F.   Graphics: Brushes, Rectangles, Ellipses & Panels
Make gr graphics reference variable class-level ToolBox => Panel is a control you can draw upon. We only set its "Name" property. (ex: panDraw) Create rectangles Create ellipses Random Numbers and Graphics
GUI: Panel
We can create graphics objects. We can create brush objects. We can create rectangles and ellipses. We can combine random numbers with graphics creating objects of varying sizes and colors.
G.   Loops, Files
5: LOOPS, FILES and RANDOM NUMBERS 5.1 More About ListBoxes 5.2 The while Loop 5.3 The ++ and -- Operators 5.4 The for Loop 5.5 The do-while Loop 5.6 Files for Storage 5.7 OpenFile Dialog & SaveFile Dialog 5.9 Load Event
GUI: ListBox
- How to use loops to create repetition structures. - Use the while loop, for loop, and the do-while loop. - Counters, accumulators, and running totals are discussed. - Introduce sequential file input & output and using text files. - Learn various programming techniques for writing data to text files and reading the contents of test files. - Generate and use pseudorandom numbers. About Looping (while, do-while, for) while( condition is true ) { .. keep doing these things } Loop Code Examples Ending Balance (loop)   Quiz: write code to read in 2 numbers, add them & output the numbers & answer in a label Show loop "template" loop index variable while( condition is true ) { ... adjust loop index } Fit listbox into this scheme - IN the loop Compute Squares (for, listbox) Show that "for" is like a "while" write code: loop and write numbers in listbox if, if else to determine if numbers divisible by 7, 11 output formatted numbers, random numbers, square roots of random numbers Speed Conversion (for, listbox, TryParse)   Ending Balance (loop, listBox)   About ListBoxes and Arrays
H.   Methods
6: MODULARIZING CODE with METHODS 6.1 Introduction to Methods 6.2 void Methods 6.3 Passing Arguments to Methods 6.4 Passing Arguments by Reference 6.5 Value-Returning Methods
- Learn how to write and call void methods. - Shows the benefits of using methods to modularize programs and discusses the top-down design approach. - Learn to pass arguments to methods by value. - Learn to pass arguments to methods by reference, and output. - Learn to write value-returning methods.
About Methods Simple user-defined Method Files and Methods Sum3 adds 3 numbers passed in IsEven finds if number is even IsPerfect finds if number is a perfect square Methods with Parameters Sum with parameters and return Sum Range finds sum of numbers within range
  ∴   Test 2 - Final Exam
TEST 2 2 hour test first part - multiple choice when first part is completed, hand in and receive second part second part - read code and answer questions, write code Create a CAP CUP Registrar: see "Final Exam Schedule"
You must earn an "A" or "B" to enroll in CIS 244.   A strong "A" is advised.
Student is responsible for notes, readings and classroom discussions.   Notes may be changed, emphasized, re-ordered or skipped over.
Software

    - Visual Studio Community 2017
    - Video Help Installing Video Studio
    - Help documentation on installing Visual Studio
  1. Check your operating system and apply latest Windows Updates
  2. Run the installer as an Administrator (right click - run as administrator)
  3. Check for disk space - needs 4gb minimum (right click in file explorer - properties)
    --- Using a MAC for Visual Studio?
   1. - Virtual Box   - Instructions   - Install Video    [credit Jody Strausser]
   2. - Bootcamp Info     - Bootcamp Video
   3. - Parallels
   4. - Tech Floor Info
Text

"Starting Out With Visual C#, 4th ed." by Tony Gaddis   [REQUIRED]
    =>   amazon: buy/rent
    =>   bookstore

NOTE: Older editions not identical, but should be OK. The CD is NOT required. If you have a used book without the CD, that is OK.

If you are a CS or IS major or minor it may be a good idea to BUY (vs rent) for future reference.