Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,150,395 members, 7,808,408 topics. Date: Thursday, 25 April 2024 at 11:35 AM

Words And Symbols Associated With Programming - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Words And Symbols Associated With Programming (1092 Views)

Help, In Love With Programming But In Need Of A Laptop / What Can I Do With Programming? / Getting Started With Programming - Tips For Beginners (2) (3) (4)

(1) (Reply)

Words And Symbols Associated With Programming by Nobody: 2:30pm On Sep 05, 2017
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.

[img]https://1.bp..com/-Yyyfrh-EPAM/Wa6GcC0wsfI/AAAAAAAAAjI/FffxrLit6KIO7ViKeT2KDeNFEcjMLAiPQCLcBGAs/s320/MyLogoArt20170904210105.png[/img]


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!
"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
Re: Words And Symbols Associated With Programming by Nobody: 8:07am On Sep 06, 2017
Re: Words And Symbols Associated With Programming by Nobody: 7:28am On Sep 08, 2017
good morning nl

(1) (Reply)

Javascript Expert Needed / Wordpress Auto Registration Code / Help Me Rate My Newly Built Website

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 26
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.