Words And Symbols Associated With Programming

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!
"wink;
    return 0;
} 



 SWIFT
println("Hello, world!"wink 



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


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-http://www.abtech.com.ng/2017/09/programming-101-getting-started-with.html

Comments