Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword or section
Like this
4Activity

Table Of Contents

Because You Want to Contribute
Just for Fun
Fame
What to Learn?
Programming Avenues
❑Traditional programming
Traditional Programming
Web Programming
Programming Myths and Facts
Myth 1—Programming Tools Cost a Lot of Money
Myth 2—You Need a Degree in Computer Science to be a Programmer
Myth 3—Learning to Program Takes Years
Myth 4—Programming Is Just for Young People
Myth 5—I’ll Need a Top-of-the-Range Super-Duper Computer to Program On
Myth 6—Programming Is Addictive!
Myth 7—Programming Languages Change All the Time
Myth 8—Once You’ve Learned One Programming Language,Learning Others Is Easier
Summary
Reading Code
Top Down
Breaking Up Code
The Statement
Functions/Procedures
The Sentences and Paragraphs of Programming
Lines of Code
Paragraphs of Code
Data Storage
Data
Binary
Interpreting Binary
Large Numbers
Bit Grouping
Nybble
Byte
Halfword
Word
Doubleword
Binary Math
Using Windows Calculator
Why Binary?
Hexadecimal
Interpreting Hexadecimal
Hexadecimal and Windows Calculator
Representing Characters
Operators
Arithmetic Operators
Assignment Operators
Comparison Operators
Logical Operators
String Operators
Make Your Workspace Your Own
The Keyboard
Workspace
Desk
Monitor
Fonts
Choose Your Language
Learning to Program
School/College
Tips
Work-Based Training
Hobby Programmer
The Languages
How I Will Teach You to Program
Why Not Buy a Book Covering a Specific Language?
The Tools
❑General tools and utilities
General Tools and Utilities
Text Editor
Utilities
Programming Tools
Java
Scripting Languages
❑Commenting code
Commenting Code
VBScript Comments
Things to Watch For
JavaScript Comments
C++ Comments
Variables
Variables in Action
Variable Run Through
Naming Variables
Naming of Variables
Quick Exercise
Strings
What Are Strings?
String Manipulation
Processing Inputs
Variable Manipulation—Simple Math
The Purpose of Structure
Benefits
Examining Structure
Quick Introduction to C++
Examine Source Code
Compiling C++
Functions
More Functions
Conditionals
Programming Decisions
More on Conditionals
Loops
For Loops
Infinite Loops
While Loops
Do While loop
Arrays
Two-Dimensional Array
Multidimensional Array
The Basics of Problem Solving
Be Clear about the Requirements
Research
Moving on to the Coding Phase
Improving the Code
To Err Is Human
Different Kinds of Error
Compiler Error
Runtime Errors
Logic Errors
Spotting Errors
Read Each Line After You Press Enter
Check the Preceding Statements
Keep the Layout Clear
Comments,Comments,Comments!
Remove Ambiguity in Code
Semicolons
Test the Code
Keep Track of Variables
What Is an Interface?
The Importance of an Interface
Does All Software Have an Interface?
Examining the Interface
Text-Based Interface
Program Overview
Proper Prompting for Input
Annotating Output
Confirming Exit
Adding Simple Help
Confirmations
Moving Away from the Text-Based Interface
Buttons
Menus
Check Box
Radio Buttons
Single-Line Text Box
Multiline Text Box
Drop-Down Menu
Putting It All Together
Simple Applications
More Complicated Applications
Programming the Basics
Testing
The Route to Better Testing
But What About . .
Questions for Those Previewing Software
Additional Features
Tweak the Code
Final Testing
The Principles of Saving Data
The File Life Cycle
Working with Files
Getting Started
Creating a File with VBScript
Basics
Creating a Folder
Creating Multiple Files
Making Use of Conditionals
Making Use of Variables
Adding Flexibility—Prompt for File and Folder Names
Check for Duplicate Files
Editing an Existing File
In Action
Appending a File
Open File for Reading
ReadAll,ReadLine,and Read Methods
ReadAll
ReadLine
Read
Deleting Files and Folders
Delete Files
Delete Folders
The Windows Registry
What Is the Windows Registry?
Definition
The Layout of the Windows Registry
Regedit and Regedit32
Backing Up the Registry
Windows XP
Restoring the Registry
Working with the Registry
Finding a Subtree,Key,Subkey,or Value
Adding a New subkey
Adding a New Value
Changing an Existing Value
Renaming an Existing Subkey or a Value
Deleting an Existing Subkey or a Value
Manipulating the Windows Registry Using Programming
VBScript Registry Editing
JScript Registry Editing
Possible Uses for the Windows Registry
In Closing
Organize, Organize, Organize!
Organize Yourself
Stages of Planning
Plan Your Time
Organize Your Workspace
The Main Event—Organize Your PC
Create a Workspace
Group by Language
Group by Project
Folder Contents Note
Filename Control
More Version Control Tips
Add Version Information to the Tombstone Comment Block
Using Windows Search
Add Summary Information to the File
Version Control—Looking Beyond Release
Software Version Control
Compiling Code
Are All Compilers the Same?
Error Handling
What about Different Languages?
Benefits of Compiling
Protection of Intellectual Property
Speed
Increased Functionality
Security
Debugging
Alternatives to Compiled Code
Make Code Hard to Follow
Obscure Variable Names
Whitespace
Script Encoding
Types of Distribution
❑Physical distribution
Physical Distribution
Floppy Disk
Burning Discs
CD/DVD Burner
Burning Software
CD/DVDs
Labeling
Packaging
Virtual Distribution
Pros of Virtual Distribution
Cons of Virtual Distribution
Considerations for Virtual Distribution
Full-Time Job versus Hobby
Supported versus Unsupported
Java Tools
Java Sites
0 of .
Results for:
No results containing your search query
P. 1
Beginning Programming

Beginning Programming

Ratings: (0)|Views: 208|Likes:
Published by Marty Kim

More info:

Published by: Marty Kim on Nov 21, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

01/23/2015

pdf

text

original

You're Reading a Free Preview
Pages 10 to 180 are not shown in this preview.
You're Reading a Free Preview
Pages 190 to 215 are not shown in this preview.
You're Reading a Free Preview
Pages 225 to 303 are not shown in this preview.
You're Reading a Free Preview
Pages 318 to 481 are not shown in this preview.

Activity (4)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads
Lars Wirfelt liked this
rajesh patel liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->