Notes
Notes - notes.io |
*Unit 1 & 2*
The step by step series of instructions is called a *Program*
The process of writing the sets of instructions for the computer to follow is called *Programming*
*Programmers* also called software developers ,design and write programs
An *Application* is a collection of one or more programs that is designed to complete a specific task.
The process of using Programming language or programming environment to build software applications is called *Program Development*
A *Windows Application* is a program with a graphical user interface that runs in the Windows Environment.
A *Web Application* is a program that a user accesses through a web browser.
*Console Application* runs in a text environment such as the Windows MS DOS prompt or CMD
*Components* are programs that serve as helpers or prebuilt pieces of other programs.
A *Web Service* is a program that recieves a request for information from another program over the web and returns data to the requesting program.
A *Windows Service* performs forms maintenance or data gathering tasks without requiring user intervention.
Programming is also referred to as *Coding*
When a program starts to run, it's instructions are placed into the computer's memory and the program is called a *Stored Program*
*Machine Cycle*
Fetch→Decode→Execute→Store
The process of using a programming language or programming environment to build an application made up of one or more programs is called *Application Development*
There are *6 Application Types*
→Windows application
→Web application
→Console application
→Windows services
→Web Services
→Components
A *Standalone Application* is an application that does not require other applications or data sources to run in the operating system
*HTML* - HyperText Markup Language
A *Service* is a program that runs in an operating system and performs tasks such as maintenance information gathering security and notifications but requires no user interaction
Components provide the benefit of *ReUsability*
*OOD* - Object Oriented Design
*OOP* - Object Oriented Programming
*Aggregation* is the term used to describe the concept of an object being composed of other objects
*A Class* is the programmatic implementation or description of an object
*UML* - Unified Modeling Language
*RAD* - Rapid Application Development
Benefits of *OOD and OOP*
→ReUsability
→Stability
→Easier Design
→Faster Design
The background on which the controls are drawn is called a *Form*
The common environment in which applications created for .net run is known as the *.Net Framework*
The .Net Framework provides a programmer with a Rich set of classes,known as the *.Net Framework Class Library*
*CLR* - Common Language Runtime
*MSIL* - Microsoft Intermediate Language
*IDE* - Integrated Development Environment
The *StatusBar* is located above the Windows taskbar at the bottom of Visual basic .Net
A *Solution* is a grouping of projects and related files.
*Keywords* are words that have special meaning within VisualBasic.Net
A *Code Region* is a group of related lines of code.
A *Pixel* is a single point on a display Monitor.
The *Object Box* Displays the name of currently selected Object or control.
The *Description Pane* at the bottom of the Properties window Displays information about the property currently selected in the properties list.
The default value for the StartPosition property is *WindowsDefault*
A *Label Control* is used to display Text
A *TextBox Control* is used to display text or allows user to enter text on a form
A *NumericUpDown Control* is used to display or allow users to enter numbers on a form
A *Button Control* is used during runtime to initiate actions called *Events*
An *Intrinsic Control* is a control that is included on the Windows Forms sheet by default and can't be removed.
When a user selects a control, the control is said to have *Focus*
Using the Tab Key to set the focus on a control is called *Tabbing*
There are *8 Textbox Control Properties*
→BorderStyle
→Text
→TextAlign
→AutoSize
→MaxLength
→MultiLine
→ReadOnly
→WordWrap
There are *4 Label Control Properties*
→FlatStyle
→Image
→ImageAlign
→Text
There are *10 NumericUpDown Control Properties*
→BorderStyle
→TextAlign
→UpDownAlign
→Value
→InterceptArrowKeys
→DecimalPlaces
→Increment
→Maximum
→ThousandsSeparator
→Minimum
There are *4 Button Control Properties*
→FlatStyle
→Image
→ImageAlign
→TextAlign
*Events* are messages sent to an object such as control when the application Runs.
*Code Statements* are instructions to the computer written at design time for computer to execute at runtime.
A program that behaves as just described is called *Event Driven*
Comment can be given by *Rem* or by using *'(Apostrophe)* at beginning
A *Syntax Error* is an error caused by code statements that violate one of the structure or Syntax rules.
The line that starts with the private Sub is called the *Event Procedure Declaration*
A *GroupBox Control* is used as a container for other controls
A *Container Control* serves as a holding area for other controls
The *RadioButton Control* Presents a set of choices.
There are *3 GroupBox Control Properties*
→FlatStyle
→Text
→Height and Width
There are *7 RadioButton Control Properties*
→CheckAlign
→Checked
→FlatStyle
→Image
→ImageAlign
→Text
→AutoCheck
A *Default Button* on a form is specified by *AcceptButton Property*
There are *4 Basic Data Types*
→Character
A) Char
B) String
→Integral
A) Short
B) Integer
C) Long
D) Byte
→NonIntegral
A) Decimal
B) Single
C) Double
→Miscelleanous
A) Boolean
B) Date
C) Object
To declare a constant use the *Const Keyword*
*Arguments* are values that are passed to the function,method or event.
A *Numeric Expression* is any expression that can be evaluated as a Number.
There are *7 Arithmetic Operators*
+,-,*,^,/,,Mod
The *Pmt Function* is in the financial category of runtime Library Functions.
*Arguments of PMT*
rate,nper,pv,fv,due
*Unit 3 & 4*
A *ComboBox Contol* used to present list of choices.
A *DropDown List Box* used to present several discrete text choices.
If...then...else structure is a *Nested Structure*
Label Control has *6* Properties.
→ Size-Width
→ Size-Height
→ Location: X
→ Location: Y
→ TextAlign
→ Text
*ComboBox DropDown* Property Values
→ Simple
→ DropDown
→ DropDownList
*ComboBox Control Properties*
*Appearance*
→ DropDownStyle
→ Text
*Behavior*
→ DropDown Width
→ IntegralHeight
→ ItemHeight
→ MaxDropDownItems
→ MaxLength
→ Sorted
The *String Collection Editor* Window allows you to enter and set initial values in ComboBox List.
*TabIndex* property is used to maintain *Tabbing Order*
In ComboBox each item has an *Index* assigned.
*SelectedIndex* property shows which value is selected.
*DecisionMaking* is process of determining which of one or more paths to take.
The flowchart representation of a decision is *DiamondShaped* symbol.
*Focus()* method is used to set the focus to controls during runtime.
A condition is sometimes called a *Rational Expression*
There are *6 Relational Operators*
→=,>,<,<=,>=,<>
When variables are limited to a particular block it is known as *Block Level Scoping*
To ensure that no further processing occurs, the *Exit Sub Statement* is used.
The *Parameter InfoWindow* is displayed by *Intellisense™*
Each *If* Statement must have corresponding *End If*
There are *4 Logical Operators*
→ And
→ Or
→ Not
→ XOR
When two or more conditions are combined by logical operators , the expression is called a *Compound Condition*
The *Not Logical Operator* allows you to write a condition in which the true value is *Complemented* or reversed.
The *And Logical Operator* is used to combine two or more conditions in an expression.
The *Or Logical Operator* requires only one of the two or more conditions to be true.
The *XOR Logical Operator* requires one of the two conditions to be true.
Two Additional logical operators *AndAlso Logical Operator, OrElse Logical Operator*
The order of evaluation of a series of logical operators is a part of what are called the *Rules Of Precedence*
*Priority*
Arithmetic,Relational,Not,And/AndAlso,Or/OrElse or XOR
The *Concatenation (&) operator* joins two strings in one.
A *Startup Object* can be any form or class that you want to have control when application begins.
A *ListView Control* is used to arrange and display a list of items into single or Multiple Columns , with or without column headings.
*Terminating Condition* is used to let the program know when the data entry is complete.
*ICON Property* allows you to set the form icon.
The *View Property* is used to set display option for the ListView control.
Properties of *ListView Control*
*Appearance*
→ CheckBoxes
→ FullRowSelect
→ GridLines
→ View
*Behavior*
→ Activation
→ Alignment
→ AllowColumnReOrder
→ AutoArrange
→ Columns
→ HeaderStyle
→ Items
→ MultiSelect
→ Scrollable
A *Collection* is a group of one or more objects that can be accessed and operated as a single entity.
The *Anchor Property* specifies the sides of a form to which control is anchored.
*CheckBox* Control Properties*
*Appearance*
→ Appearance
→ CheckAlign
→ Checked
→ CheckState
→ FlatStyle
→ Image
→ ImageAlign
→ Text
*Behavior*
→ AutoCheck
→ ThreeState
*Form.show()* and *Form.showDialog()* are two different things.
The process of repeating a set of instructions is known as *Looping* or *Repetition*
*Do While*, *Do Until* and *While...End While*
The *SubItems* collection is a property of a *ListViewItem Object*
*For...Next* is a counter Controlled loop.
When the statements of one loop lie within the range of another loop, the loops are said to be *Nested* or *Embedded*
The *Count Property* of a collection is used to represent the total number of items in a collection.
The *For Each...Next* loops through a group of statements for each element in a collection , doesnt require a counter.
*Common String Class Methods*
→Chars()
→EndsWith()
→Insert()
→Length()
→PadLeft()
→PadRight()
→Remove()
→Replace()
→StartsWith()
→SubString()
→ToLower()
→ToUpper()
→Trim()
Concatenation Operators For Assignment Statements
→&=,*=,+=,/=,-=,=,^=
The *ReSize()* event occurs when a form or control first displays or when the size changes because the user resizes the form.
The *Me Keyword* allows you to reference the current instance of a form or any other class within the form or class.
A *ContextMenu* control is used to add the shortcut menu to form.
A *PictureBox* Control is used to display image on form.
A *StatusBar* control allows you to place several panels containing status information in window.
The *FontDialog* Control is used to provide interface for font dialog box.
An *AccessKey* is an assigned letter key that allows the user to display a menu at runtime by pressing the alt key and assigned letter key
A *Shortcut Key* is used to execute command when a user presses the key while menu is displayed during runtime.
*Separators* are especially useful on large menus
*StatusBar control* Properties
*Appearance*
→Panels
→SizingGrip
*Behavior*
→ShowPanels
*PictureBox control* Properties
*Appearance*
→Image
*Behavior*
→SizeMode
*CommonDialog* Controls
→OpenFileDialog
→SaveFileDialog
→FontDialog
→ColorDialog
→PrintDialog
→PrintPreview Dialog
→PageSetuoDialog
The elements in array are distinguished from one another by *Index* or *Subscript*
A *Line Continuation Character* allows you to write long lines of code over several lines in code window!
*Array Methods* (*8*)
→BinarySearch()
→Clear()
→Copy()
→CopyTo()
→GetLength()
→GetUpperBound()
→Reverse()
→Sort()
A *Sub Procedure* is a unit of code that executes when called from code in other procedures and event procedures.
There are two methods of passing arguments. By Value and By Reference
A *Control Collection* allows you to treat one or more controls as members of a collection.
You can also use the *Call keyword* to call the sub procedure or function procedure.
|
Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...
With notes.io;
- * You can take a note from anywhere and any device with internet connection.
- * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
- * You can quickly share your contents without website, blog and e-mail.
- * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
- * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.
Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.
Easy: Notes.io doesn’t require installation. Just write and share note!
Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )
Free: Notes.io works for 12 years and has been free since the day it was started.
You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;
Email: [email protected]
Twitter: http://twitter.com/notesio
Instagram: http://instagram.com/notes.io
Facebook: http://facebook.com/notesio
Regards;
Notes.io Team