Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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


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

$number = 1000;



Code:
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





Code:
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


Code:
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


Code:
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



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




Code:
SWIFT
println("Hello, world!")




Code:
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


Code:
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


Code:
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

@Dealwap @Aphatheology @Egbune
I am a proud member of NIgerian Coders Team
[-] The following 2 users Like abcheats's post:
  • Dealwap, Dynamo
#2
Smile Your writings are easy to understand. Only if there were a print feature on NCT
[-] The following 1 user Likes Egbune's post:
  • abcheats
Reply
#3
Nice one bro. Big Grin
Posting From http://ncgblog.ga
[-] The following 1 user Likes Dynamo's post:
  • abcheats
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Some Programming Languages And Their Applications - Programming 101 abcheats 5 147 09-07-2017, 07:56 PM
Last Post: abcheats
  Getting Started With Programming abcheats 5 147 09-02-2017, 11:11 AM
Last Post: abcheats
  HELP: Is It Possible To Learn Programming Without PC? Samuel04 12 196 08-27-2017, 11:06 AM
Last Post: Dealwap
  SHARED: Top 7 Important Programming Concepts Horlahcoded 3 125 08-03-2017, 11:33 AM
Last Post: Nkakad
  Importance Of Big O Notation In Programming Dealwap 0 28 07-10-2017, 07:26 PM
Last Post: Dealwap
  Some Good Projects For Students To Improve Programming Skills Dealwap 11 185 07-07-2017, 03:47 PM
Last Post: Evinsian
  FUN: How To Say "hello World" In Different Programming Languages Trillionclues 3 113 06-20-2017, 07:27 PM
Last Post: Umez_Ike
  Which Programming Language Can I Use To Create Iphone Mobile App iamdannyfc 3 95 06-20-2017, 12:07 PM
Last Post: iamdannyfc
  What Programming Language Did You Learn First? Dealwap 15 385 05-09-2017, 06:27 AM
Last Post: Sunsy
  Programming: Real World Areas Where A Loop Works. Laive 3 131 04-22-2017, 12:34 PM
Last Post: Sharafa



Users browsing this thread: 1 Guest(s)

About Nigeria's Creative Talents

Nigeria's Creative Talents is an online community where every creative Nigerians can share ideas with themselves.

For any more information, please use our contact form.

              User Links

              Advertise