Benefits of Social Media

Image
Benefits of The Using of Social Media Social media has changed the way we communicate today. It is in our best interest to be aware of all of the new possibilities for managing our online reputation. In the scenario of using social media like Facebook, Twitter, Instagram, or whatever it is, using the social media , lines between professional and personal and their differences also started to become blurred and many times, we love to refer to the existence of our online presence as our “personal brand”. Your personal brand can be included with both “personal” and “you”.   Here are some useful benefits of using social media:-   1. Build relationships. Social media is not just for brands to connect with their customers. In fact, the core of it is about social media connecting people with people. From a professional perspective, you can greatly enhance your professional network online by connecting with colleagues, mentors, role models, and other professionals. If yo...

‌Elementary Features of BASIC and C Programming

 



Elementary Features of BASIC and C Programming

- Knowledge Canvas

 

BASIC language:

 

BASIC stands for Beginners' All-purpose Symbolic Instruction Code. BASIC is a family of general-purpose, high-level computer programming language that was designed by John G. Kemeny and Thomas E. Kurtz in 1964.

Syntax:- 

10 HOME

20 SWEET

30 GOTO 10

 

Laptop, Computer, Portable, Pc, Technology, Desktop


Features of BASIC language:

 

1.BASIC language is very easy for beginners to use. A user having less knowledge of Mathematics and Science can also program in BASIC language.

 

2.BASIC is a general-purpose, high-level, structured programming language.

 

3.BASIC allow the creation of Loops.

 

4.This language allows input from the keyboard.

 

5.BASIC access menu-driven application.

 

6.It allow Built-in and user-defined functions.

 

7.BASIC contains various system commands.

 

8.It provides a clear and friendly error message.


Computer, Computers, Computer Technology, Room

 

9.BASIC support in most of the operating system.

 

10.BASIC uses numbers at the beginning of each instruction.

 

11.BASIC was interpreted: a BASIC program was executed line by line

 

12.For small program BASIC respond quickly. The small size and simplicity of BASIC made it popular in the early personal computer.

 

13.For writing program in BASIC language users haven't required an understanding of computer hardware.

 

14.Subroutine features are available in BASIC.

 

15.BASIC allow advanced features to be added for advanced users.

 

Remote, Work, Office, Personal, Computer, Room, Space


C language:-

 

C is a general-purpose, procedure-oriented system programing language, developed by Denis Ritchie for creating system applications that directly interact with the hardware devices. C language is known as mother language because most of compiler written in C language and most of the modern programming language follow the C syntax.

 

Syntax:-  

#include <stdio.h>

int main()

{

     printf("Hello C Programming\n");

     return 0;

}


To learn more about C programming Syntax - Press This.

 

Feature of C:-

 

1. Procedural language:- Procedure means a series of steps for the program to solve the problem. C is a procedure Oriented Programming language (POP), so C has some characteristics-

i. Top-down approach.

ii. C uses the set of instructions to inform the computer what to do.

iii. It doesn't have a data hiding option.

iv. As a procedural language  C breaks the program into functions, data structures, etc.

V. In C, variables and function prototypes must be declared before being used. It is a global declaration which are freely accessed from function to function in the system.

 

2. Middle-level language:- C is called middle-level language because it is  a bridge between a machine-level language and high-level languages. A user can use C language for system programming as well as application programming.

 

3. Machine independent or portable:- When a C programming written in a particular computer can be compiled and executed on any other machine with a little change or no change. So, it is a Machine independent or portable language.

 

4. Simple:- C language is simple because it divides the program into functions. C provides rich library functions and data types.


5. Fast and Efficient:- C is a middle-level language. So it provides programmers access to direct manipulation with the hardware. This feature makes C language efficient.

As C is a statically typed language, it is faster than dynamically typed languages.


Work, Home, Laptop, Blogging, Author


6. Rich library:- C  has lot of built-in functions which help to write programs easily.


7. Memory management:- C support dynamic memory allocation. By using calloc(), malloc() function users become able to allocates a block of memory on the heap and we can free the memory by free() function.


8. Pointer:- The pointer is a variable that can store the address of another variable. Pointer directly interacts with the memory address. The pointer is a very important feature of C programming. We can't allocate dynamic memory without the pointer.


9. Recursion:- Recursion is a process in which a function directly or indirectly calls itself, this function is called the recursive function and the call is a recursive call. Recursion enables us to use the method of backtracking.


10. Extensible:- As C can easily adopt new features, it is extensive.


11. Case sensitive:- C is a case sensitive language because it treats uppercase and lowers case letter differently. As C is case sensitive all keywords, functions, instructions are written in lower case letters.


12. Rich set of built in operators:- It supports a rich set of built-in operators. The operator is a symbol that tells the compiler to perform a certain mathematical or logical operation. Arithmetic operator, logical operator, conditional operator, relational operator, bitwise operator, and many other operators are supported in the C program.


13. General purpose language:- C is a general-purpose language because it is used for writing many different kinds of applications. It is not specialized for a particular domain.


14. structured programming language:- Structure means to break a program into part or block. We break the C program by using functions so that it may be easy to understand and modify.


15. Compiler Based:- With-Without compilation no C program can be executed.


16. Statically type:- statically type language Means the type of variable is checked at the time of compilation but not at run time. C is a statically typed language.


17. Modularity:- The concept of storing code in the form of libraries for further future uses is known as modularity. C has its own function to solve a particular problem.

Example:-we can use a particular function by using a header file stored in its library.


To learn more about C Programming Language - Click Here.

 

 Programming, Program, Code, Source Code, Line Of Code


Difference between BASIC and C language:

 

1. The main difference between BASIC and C programming language lies in syntax.

 

2. BASIC is interpreted where C is compiled.

 

3. BASIC is slow and easy to handle and C is fast and difficult to learn.

 

4. BASIC does not support structured programming, C support structure programming.

 

5. The early version of BASIC does not support creating large program, C support to create a large program.

 

6. BASIC doesn't provide pointer, C provide pointer

 

7. C support dynamic memory management but BASIC doesn't support


Programming, Internet, Website, Html, Css

Comments

Popular posts from this blog

Benefits of Social Media

Top 10 Most Amazing Snakes

Why Peacock Dance in Rain