How To Find Out What Language A Program Is Written In

Table of contents:

How To Find Out What Language A Program Is Written In
How To Find Out What Language A Program Is Written In

Video: How To Find Out What Language A Program Is Written In

Video: How To Find Out What Language A Program Is Written In
Video: how to assemble and debug a program written in assembly language (Urdu/Hindi) 2024, December
Anonim

A programming language is a code that contains commands for a computer - what to do in case of certain actions. There are a huge number of such languages. But how do you know which language a program is written in?

How to find out what language a program is written in
How to find out what language a program is written in

Instructions

Step 1

Look at the code for writing the program. To do this, simultaneously press the combination of the two keys Ctrl and U on the keyboard. Symbols structured in a certain way will appear in a separate window.

Step 2

Analyze the code. Pay attention to the top line of the code first. Often, the first characters determine the name of the program language, for example, HTML. The definition can also be the keywords used to write code that are specific to each programming language.

Step 3

Change the case of writing any commands, alternating uppercase and lowercase letters. Case-sensitive languages, for example, C ++, C #, Java, JavaScript, Perl, PHP, will change the meaning of the word, and non-sensitive languages - Delphi, VFP, Basic, VBA, VBScript - will ignore it without changing the command function …

Step 4

Take a close look at the operator separating characters and the operator parentheses. In C ++, C #, Java, Perl, PHP, Delphi, and Transact - SQL, statements will be separated by; the operator brackets of the languages will differ, for example, in C ++, C #, Java, Perl, PHP the brackets will look like {}, and in Delphi and Transact - SQL it will be begin and end. In some programming languages, such brackets are absent altogether, for example, in Visual FoxPro, VBScript, Visual Basic'e and PL-SQL, their operators are separated by a line break from a new paragraph. Note that the use of symbols; and _ (underscore) at the end of lines of Visual FoxPro and VBScript languages, Visual Basic'e, respectively, is typical only for them when writing one statement on several lines of code.

Step 5

Compare the code for writing your program with the code for programs written in different languages. Also use coding standards. This method is quite laborious, but the most effective.

Recommended: