Go Back   DN Lodge Webmaster Forums > Revenue & Traffic > Business & Financial Discussion


View Poll Results: How do you rate this tutorial?
Excellent 1 50.00%
Good 0 0%
Fair 1 50.00%
Poor 0 0%
Bad 0 0%
Voters: 2. You may not vote on this poll

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 06-04-05, 01:02 PM
DNL Member
 
Join Date: Apr 2005
Location: United States
Posts: 56
DNL Trust: (0)
Send a message via AIM to Rudy
Rudy is a pretty decent person
Default Basic Vocab - a Guide for beginner programmers

Here is a very basic tutorial for the beginner programmer. As you read through more advanced tutorials, you will need to know the terms that I define here. This is a combination of a couple of sources, and it meets the desire and needs that I could never find met, and eventually became very frustrated because I could never learn what anything meant. Hope this helps! For your convience, I have also attatched the word document for available download. Happy Programming!
********************

Introduction to Programming – A Guide to Basic Vocab

In the process of teaching myself how to program, the most annoying thing I came across (and still come across) is that in all the tutorials I could find, they all used words and vocab that I didn’t understand. This tutorial provides very basic definitions to words used in other tutorials. I hope this helps someone, as I have looked far and wide for something as basic as this.
In beginning your programming experience, these are some very basic things you need to know, which are terms used in about every programming language tutorial. Compiled from 3 different sources, and edited a good bit, I have tried to put together an easy way to learn programming vocabulary.

To begin with, you need to know how to tell the computer to process the code as a certain language, and how to end the code. Remember that every line of code has to end with a semi-colon.
To tell the computer to begin processing commands in PHP, and ending it, for example, you would do this:
<?PHP
This is the first command;
Notice how I told the computer to start and stop processing code as PHP;
Notice the semi-colon at the end of every command, or code;
?>

Now, on to the vocab! Happy Programming!

Arguments – information that gives further clarification to a command.
Example: go (argument);
Commands – instructions that tell what to do, or how to do something.
Example: Go
Example: Sit
Comments – notes you as a programmer can place within a certain script that helps explain a certain statement, or provides other general information about a script.
Example: /* This is the inside of a PHP comment that is typed on two or more lines
*/
Conditional statement – statements in programming that allow you to test for conditions and execute commands based on those conditions.
Example: if ($A=1);
{ More commands go inside brackets like this, only if “A” is equal to 1. Make sure to close the bracket that comes after a conditional statement, like this:
};
Constant – data that never changes in a script – it has a “constant” value.
Example: You put a constant at the beginning of your script to make a definition.
Example: $A=1;

Expression – segment of code that results in a value. Expressions exist within statements.
Example:
$A(1*1);
if ($A=1) { See the conditional statement example, and how I am implementing this. I expressed that $A = 1*1, before I set the “if” conditional statement. We all know that 1*1 is equal to 1. Therefore, the commands inside this set of brackets will be run, because I specified that $A is equal to 1.
};
Function – provides information on a particular state or condition. It is a block of code that carries out a specific task. Remember that parentheses occur at the end of a function.
Example: $A(1*1);
Loops – the process of continually repeating a section of code, while a certain condition is true, or for a specified number of times.
Example: for($A = 0 ; $A < 100; $A++)
{
echo "this message will echo 100 times, because $A starts at 0 and is less than 100";
};
1. The computer will first see the statement for. As a result, it will move to the first argument, which tells us that $A is equal to 0.
2. It then looks at the middle statement to check if the condition is true. In other words, it looks to see if $A < 100.
3. Finally, it will move to the 3rd argument, which tells the computer to raise the value of $A by 1.
4. Therefore, the above example will be echoed 100 times.
Object-Oriented Programming (OOP) – A programming approach that groups together data and procedures into a single unit. PHP can be an OOP language.
Statement – one executable line of code. Don’t forget, statements end with a semi-colon.
Symbol – user-defined constant. In PHP, it always begins with a dollar sign ($).
Example: $A
Variable – holds data that can change while the program is running. Opposite of constant.
- A Boolean Variable is a variable which can have only two possible values.
Attached Files
File Type: doc Introduction to Programming.doc (23.5 KB, 19 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Want to remove these ads? Register for your free account here.

  #2  
Old 06-05-05, 09:47 AM
Joseph's Avatar
WD Owner
 
Join Date: Apr 2005
Location: Seattle Area
Posts: 645
DNL Trust: (0)
Send a message via MSN to Joseph
Joseph is a pretty decent person
Default

Awesome! Thanks Rudy!
__________________

http://dncertification.com/images/admin
-Joseph C
WebmastersDatabase.com Owner -
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 06-05-05, 12:47 PM
DNL Enthusiast
 
Join Date: May 2005
Location: Where guns are allowed
Posts: 110
DNL Trust: (0)
frattay22 is a pretty decent person
Default

Very nicely done Rudy! Keep up the good work
__________________
Page Rank | Todays Drops
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Tags
basic, beginner, guide, programmers, vocab


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -5. The time now is 03:54 AM.



Copyright 2005-2009 DNLodge.com.
vBulletin, 2000-2009, Jelsoft Enterprises Limited.
SEO by vBSEO.
Advertising |  About Us |  Contact Us |  RSS |  Privacy Policy |  Back to Top