CIS 200 Test 02 Review.

Slides:



Advertisements
Similar presentations
Mobile Development Introduction to Visual Studio Development Rob Miles Department of Computer Science.
Advertisements

What is a Dialog box? A Dialog box is a window or “form” that contains other child windows or “controls” that have a specific appearances and pre-defined.
Guide to Oracle10G1 Introduction To Forms Builder Chapter 5.
C# Programming: From Problem Analysis to Program Design1 9 Programming Based on Events.
IS 1181 IS 118 Introduction to Development Tools VB Chapter 03.
Programming Based on Events
Graphical User Interface (GUI) A GUI allows user to interact with a program visually. GUIs are built from GUI components. A GUI component is an object.
Group Boxes and Panels Arrange components on a GUI Buttons and etc. can be placed inside a group box or panel. All these buttons move together when the.
Programming Based on Events
CA 121 Intro to Programming Tariq Aziz and Kevin Jones GUI Programming in Visual Studio.NET Chapter 3 Tariq Aziz and Kevin Jones.
Compunet Corporation Programming with Visual Basic.NET GUI Chapter 3 Week 13 Tariq Aziz and Kevin Jones.
MIS316 – BUSINESS APPLICATION DEVELOPMENT – Chapter 14 – Files and Streams 1Microsoft Visual C# 2012, Fifth Edition.
Microsoft Visual Basic 2008 CHAPTER ELEVEN Multiple Classes and Inheritance.
CIS 200 Final Review. New Material Data Structures.
Segmentation & O/S Input/Output Chapter 4 & 5 Tuesday, April 3, 2007.
Chapter 12: Using Controls. Examining the IDE’s Automatically Generated Code A new Windows Forms project has been started and given the name FormWithALabelAndAButton.
CIS 200 Test 02 Review. Windows Forms, GUI Programming  Elements  Textboxes  Tab Groups  Checkboxes  Fields  Event Handlers  Visual Studio Designer.
CIS 338: VB.NET Components Dr. Ralph D. Westfall April, 2011.
ListBox, ComboBox, Menu Chapter 5.4, ComboBox Control: Properties & Methods u Combines TextBox features with a short drop- down list  cboOne.AddItem(string)
Graphical User Interface Concepts - Part 2 Session 09 Mata kuliah: M0874 – Programming II Tahun: 2010.
© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. Chapter 12 - Graphical User Interface Concepts: Part.
Lecture Set 2 Part A: Creating an Application with Visual Studio – Solutions, Projects, Files.
Graphical User Interfaces 2 Tonga Institute of Higher Education.
Visual C# 2012 How to Program © by Pearson Education, Inc. All Rights Reserved.
Visual C# 2012 How to Program © by Pearson Education, Inc. All Rights Reserved.
Microsoft Visual Basic 2012 CHAPTER ELEVEN Multiple Classes and Inheritance.
Object-Oriented Application Development Using VB.NET 1 Chapter 10 VB.NET GUI Components Overview.
CIS 200 Final Review. New Material Sorting Selection Sort  Repeated scan of list for smallest/largest value  Each swap with item in correct spot 
CSCI 3328 Object Oriented Programming in C# Chapter 11: Files and Streams -- Exercises 1 Xiang Lian The University of Texas Rio Grande Valley Edinburg,
Controls Part 2. DateTimePicker Control Used for representing Date/Time information and take it as input from user. Date information is automatically.
Copyright (c) 2003 by Prentice Hall Provided By: Qasim Al- ajmi Chapter 3 Some Visual Basic Controls and Events Visual Basic. NET.
1 Chapter 4 – Decisions 4.1 Relational and Logical Operators (see other set of slides) 4.2 If Blocks (see other set of slides) 4.3 Select Case Blocks (see.
Iterations (aka Loops). 2 Loops Loops (iterations) are segments of code that may be executed several times. Fixed-count (definite) loops repeat a fixed.
Lecture Set 2 Part A: Creating an Application with Visual Studio – Solutions, Projects, Files 8/10/ :35 PM.
Unit 6 Repetition Processing Instructor: Brent Presley.
COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved Address Book Application Introducing Database Programming.
Iterations (aka Loops). 2 Loops Loops (iterations) are segments of code (loop body) that may be executed several times. Fixed-count (definite) loops repeat.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 6 Looping and Multiple Forms.
Visual Basic/ Visual Studio Brandon Large. Connecting to prior knowledge In your notes write down what the two main parts of the computer are. The “software”
Graphical User Interface Concepts - Part 1 Session 08 Mata kuliah: M0874 – Programming II Tahun: 2010.
DB Implementation: MS Access Forms. MS Access Forms: Purpose Data entry, editing, & viewing data in Tables Forms are user-friendlier to end-users than.
Chapter 1: Introduction to Computers and Programming
Visual Basic Fundamental Concepts
Graphical User Interface
Chapter 9 Programming Based on Events
CIS 199 Test 01 Review.
Computing with C# and the .NET Framework
Topics Graphical User Interfaces Using the tkinter Module
CIS 200 Test 01 Review.
Multiple Classes and Inheritance
3.01 Apply Controls Associated With Visual Studio Form
Graphical User Interface Concepts: Part I
3.01 Apply Controls Associated With Visual Studio Form
Chap 7. Building Java Graphical User Interfaces
CIS 199 Test 01 Review.
CHAPTER FIVE Decision Structures.
Variables and Arithmetic Operations
Visual Basic..
Programming Based on Events
CIS 199 Test 02 Review.
The University of Texas – Pan American
CSCI 3328 Object Oriented Programming in C# Chapter 11: Files and Streams -- Exercises UTPA – Fall 2012 This set of slides is revised from lecture slides.
Web Development Using ASP .NET
Visual C# - GUI and controls - 1
Microsoft Office Illustrated Fundamentals
F T T T F.
Overview of the IDE Visual Studio .NET is Microsoft’s Integrated Development Environment (IDE) for creating, running and debugging programs (also.
IS 135 Business Programming
Presentation transcript:

CIS 200 Test 02 Review

Windows Forms, GUI Programming Elements Textboxes Tab Groups Checkboxes Fields Event Handlers Visual Studio Designer

Event Handlers “Events” triggered by end user Button Press Key Press Field Entry …other GUI modifications or events

Anchoring vs Docking Anchoring: Position of control is relative to the edges of the form Docking: Describes how much space you want the control to take up on the form Anchoring Docking

Visual Inheritance Content pages inherit elements form base/master pages Using is-a relationship MyNewButton is-a Button Using has-a relationship MyNewForm has-a ClickMethod()

Buffering This is an IO performance enhancement technique in which each output operation is directed to a region in memory called a BUFFER that is large enough to hold the data for many operations It can be used to speed up input operations by initially reading more data than is required into a buffer so subsequent reads get data from high-speed memory rather than a slow external device

Files and Streams Files Streams FileStream : Used for writing to files Objects on Disks Streams Data structure that exposes Read Write Synchronous Asynchronous FileStream : Used for writing to files StreamReader: Used for reading from files

Write to File

Read from File

Example

Recursion …a solution strategy that involves a simpler version of the same problem. The problem becomes simplified with each call until we reach a stopping point. Resolution level by level. Useful for Complex equations (Fibonacci number) Towers of Hanoi Binary Searching Entry point Stopping point

Define a Recursion Method What is my base case? What is the solution to my base case? What is my intermediate case? What is the solution to the intermediate case?

Recursion Example

Recursion Example

Big O What’s better? T(N) = 2 * N * N T(N) = 1 * N * N + 1 * N

Sample Questions from Blackboard Wiki

What is the differences between Panel and GroupBox? Scrollable Does not have a caption Groupbox Not scrollable Has a caption

What is the differences between CheckBox and RadioButton? Offer a “binary” choice Turn options on / off True / False Multiple together RadioButton Two or more mutually EXCLUSIVE items … XOR Multiple Choice Question

RadioButton controls become a set of mutually exclusive choices. Why? A group of RadioButtons offer only a single choice to a user Selecting one will deselect another Logical XOR

ListBox has four modes of operation, what are they and describe them. None No items can be selected One Only one item can be selected MultiSimple Multiple items can be selected MultiExtended Multiple items can be selected AND the user can use SHIFT, CTRL, and ARROw keys to make selections

ComboBox has three modes of operation, name and describe each. Simple List is always visible, text portion editable User can enter a new value DropDown List is displayed by clicking down arrow and text portion is editable DropDownList List is displayed by clicking down arrow and text is not editable Only values in the list can be selected

How does the use of object serialization compare to simply writing our data to a text file? Raw Write to Text File List of “strings” Will require manual “re-entry” later Some method, or handler to convert text file to .NET object Object Serialization Takes state of object, serializes for storage Reading serialization produces native .NET object

The hierarchy of data includes what, and in what order? (Smallest) Bits Bytes Fields Records Files (Largest)

Describe the hierarchy of data elements Bits 0 or 1 Bytes 8 bits together Fields Name, Phone number, Data Diemension Records Group of fields Files Group of fields or other data

How can REACH further help you today? Ask Questions Now! Need to see an Example? Need to see a concept again? Need additional help? Visit us at: iTech Zone CRC (Ekstrom Library) M-Thur 8:00am – 8:00pm Friday 8:00am – 4:00pm Sunday 12:00pm – 2:00pm (CRC Only)