Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

[-]
Tags
associated symbols programming words and

Words And Symbols Associated With Programming
#1
Welcome back, today is our third discussion on the series 'Programming 101' our topic of discussion today is "Words And Symbols Associated With Programming" . If you missed our two (2) previous discussion in this series you can read them here :


1.Programming 101 : Getting Started With Programming

2. Programmimg 101 : Some Programming Language And Their Applications

If you have been following this series from the beginning then dont bother going through those links above.

[Image: MyLogoArt20170904210105.png]


Every programming language has words and symbols that are unique and does particular functions , we are all use to this word and symbols on a normal basis but not from a programming point of view, Just like we discussed in our previous episode of this series , Different Programming language have different uses with different syntax[pattern or structure].

Here are the list of some words and symbols you are likely to come across as a programmer.


1. Variable - A variable is like a storage used in storing data . Data stored in a variable can be in form of Text(String) , Numbers (Integer, Float, Double) , Or NULL..

Some Variables Example

PHP
$variable_name = "This is a php string variable";

$number = 1000;

VB.NET
Module variablesNdataypes

Sub Main()
Dim a As Short
Dim b As Integer
Dim c As Double

a = 10

b = 20

c = a + b

Console.WriteLine("a = {0}, b = {1}, c = {2}", a, b, c)

Console.ReadLine()

End Sub

End Module



JAVA
public class Test{
public void pupAge(){
int age = 0;
age = age + 7;
System.out.println("Puppy age is : " + age);
}

public static void main(String args[]){
Test test = new Test();
test.pupAge();
}
}

There are rules to naming variables which we will discuss in our next class..

2. Comments - Comments is a word or group of words that are written inside a program (code) but are not visible to the user, they are not meant to be visible in the first place. Comments can also be used in HTML, CSS and JavaScript..


Comments Examples

Python
#This is a comment
#This is another comment.

Java

/*This is a comment in java*/

C++

/* This is a comment in C++ */

Yes most languages (Both programming and None Programming) Use this comment format

/* Your Comments */

3. Print - The word 'print' is use to display the output of a program .

Print is commonly used in php and python

PHP
print "Hello , PHP!";

Python

print "Hello, Python!";

PHP and python have lots of similarities and few difference

4. Echo - Echo does thesame function as print.

5. Hello World - Hello World, is a normal word that is preferred the most by programmer to other world when it comes to writing / running a test code. Hello world is commonly used to write a default language syntax.

Hello World Examples


OBJECTIVE-C
#import #import
int main(void)
{
    NSLog(@"Hello, world!
");
    return 0;
}


SWIFT
println("Hello, world!")


C#
using System;
class Program
{
    public static void Main(string[] args)
    {
        Console.WriteLine("Hello, world!");
    }
}

6. Syntax - A syntax is a pattern or structure of arranging codes.All programming languages have different syntax.

Syntax Examples

PHP
<?php ?>

7. Boolean - Boolean Is a data type that can either be 'TRUE' or 'FALSE'


8. File Extension - just like photos with default extension of .jpg , .png , .gif, each programming language also have a default extension attributed to it.

Examples Of File Extension

Vb.Net
Helloworld.vb

Python
Helloworld.py

9. Database - This is a storage (Server) I where users details are saved.


Symbols

All Programming languages have symbols in their syntax which perform certain functions , what we use in our daily arithmetic is what is in use in programming .


Some Signs And Their Functions.

Read Full Article Here
  


Possibly Related Threads...
ThreadAuthor Replies Views Last Post
  Some Programming Languages And Their Applications - Programming 101 abcheats 0 82 09-03-2017, 04:44 PM
Last Post: abcheats
  MUST READ: Getting Started With Programming abcheats 1 101 09-02-2017, 12:29 AM
Last Post: Pedro
  5 Reasons Why Java Is The Best Programming Language. viczimo 0 85 07-13-2017, 04:41 PM
Last Post: viczimo



Users browsing this thread:
1 Guest(s)

List of Users who browsed this thread: abcheats, clickloaded, codedrank, Fameloaded, phax
Words And Symbols Associated With Programming00