Mid-term Review - PowerPoint PPT Presentation

1 / 15
About This Presentation
Title:

Mid-term Review

Description:

Mid-term Review. Question types. True/false. Short questions. Multiple choice ... Attribute of a tag: name-value pairs. Static Web Pages. The client-server ... – PowerPoint PPT presentation

Number of Views:76
Avg rating:3.0/5.0
Slides: 16
Provided by: muX
Category:

less

Transcript and Presenter's Notes

Title: Mid-term Review


1
Mid-term Review
  • Question types
  • True/false
  • Short questions
  • Multiple choice
  • Fix the errors (program)
  • Give output to a particular program

2
Content
  • HTML
  • Static web pages and dynamic pages
  • Static vs. dynamic pages
  • Client-side vs. server-side pages
  • Forms
  • VB.NET
  • Branching and looping structures
  • Functions and subroutines
  • Object-oriented Programming

3
HTML
  • HTML
  • Tag based pure text file
  • Only for display purposes
  • Some common HTML tags
  • ltTABLEgt
  • ltOLgt, ltULgt
  • ltFORMgt
  • Attribute of a tag name-value pairs

4
Static Web Pages
  • The client-server structure of the Web
  • What is a static web page?
  • The process of authoring, uploading and viewing a
    static web page
  • What is in a URL?
  • Directory structure, relative path, absolute path
  • Protocols http, ftp, etc.
  • Special characters in URL e.g. 20

5
Dynamic Web Pages
  • What does dynamic mean?
  • Client-side dynamic pages vs. server-side dynamic
    pages
  • Execution time
  • Server load
  • Browser dependency

6
Forms
  • HTML forms and ASP.NET web forms
  • The difference between HTML forms and web forms
  • Requirements of web forms
  • Advantages of using web forms
  • Programming some frequently used HTML form
    controls and web form controls
  • Dropdownlist
  • Text field
  • Radiobutton
  • Checkboxes

7
More on Forms
  • The target attribute
  • The same page can be processing input
    Page.IsPostBack

8
ASP.NET and Microsoft .NET
  • The .NET structure
  • Multiple language capable
  • The Common Language Runtime (CLR)
  • Microsoft Intermediate Language (MSIL)
  • Concept of web services
  • Service vs. program
  • ASP.NET server-side technology

9
VB.NET Language
  • Relationship between VB.NET and ASP.NET
  • Languages of ASP.NET C, VB.NET, Java, etc.
  • Variables
  • Naming conventions
  • Operators
  • Arithmetic, comparison, assignment

10
VB.NET Arrays
  • Declaration
  • Initialization
  • Indexing of an array 0 to n
  • Array and form controls checkboxes

11
VB.NET Control Structures
  • Jumping structures
  • If/then/else if/end if
  • Select/case
  • Looping structures
  • Do/While
  • Do/Until
  • For/Next
  • For Each/Next
  • Converting between two types

12
Subroutines and Functions
  • Subroutines
  • No return value
  • Functions
  • With return value
  • What does return value mean?
  • Pass by value and pass by reference
  • By default its pass by value ByVal
  • Only a copy of the variable is passed
  • ByRef indicates passing by reference
  • A reference is passedthe function or subroutine
    has access of the variable itself

13
Variable Scopes
  • Local variables
  • Sub level
  • Block level
  • Global variables
  • The principle of choosing the type limit the
    scope as small as possible

14
Object-oriented Programming
  • Object concept
  • Bundling of attributes (properties) and behavior
    (methods)
  • Abstraction
  • Encapsulation
  • Class and objects template and instances

15
Defining Objects
  • Variables and properties
  • ReadOnly and WriteOnly properties
  • Methods subs/functions
  • Constructors
  • Overloading
  • Using objects
Write a Comment
User Comments (0)
About PowerShow.com