Being on the side of Novice programmers

Difficulties no novice in learning programming.

 

1. Programming environment (IDE)

 

Gadget, menu, option,

  1. type the program edit.

  2. Compile program (Syntax error)

  3. Run Program (output)

2. Programming language variety languages with several flavors: like, Java, C/C++, Basic etc..

 

3. Fundamental of Program ( programming itself). Is good and bad?

 

4. Program solving and algorithm.  

5.  Transfer of algorithm into  programming and  the language.

 

 

 

6.  Programming Instructor's curriculum

7. Instructional tools, textbook and Lab.

 

Help: Input→ process→ output.

 

Version I.

  1. several inputbox request a input values and assignment to a appropriate variable (name).

  2. process the problem

  3. output (msgBox)  output: the input, and process variable via msgBox.

 

Ass-I: pg 51 2a(grosspay), 2b(netpay).

 

For every problem we will do three version:

 

Version II.

 

Adding textbox with inputBox (no msgBox). Assigning variable value of inputBox to textbox.

 

 

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

     

 

 

       Dim employeeid, hoursworked As Integer

        Dim hourlyrate, grosspay As Double

 

        employeeid = InputBox("ENTER ITEM ID")

        hoursworked = InputBox("ENTER HOURS WORKED")

        hourlyrate = InputBox("ENTER HOURLY RATE")

 

        grosspay = hoursworked * hourlyrate

 

 

        TextBox1.Text = employeeid

        TextBox2.Text = hoursworked

        TextBox3.Text = hourlyrate

        TextBox4.Text = grosspay