Semantics describe the meaning of the syntax. Using the examples above:
The graphical representation of the speaker in the call center world serves as instruction for the program to play an announcement to the caller. The paragraph mark in Word used in a text syntax tells the program to perform a carriage return so the end user can continue the entry of letters and formatting.
3. What does it mean to say that a programming language is machine independent?
A program language that is machine independent does not rely on a specific machine language to run. A caveat to this is the third generation programming languages. While it is machine independent to a point, it requires a complier to actually run the program effectively. 4. Compare and contrast 1st, 2nd, 3rd, and 4th generation computer languages and give one or more examples of each.
First Generation computer languages were written using 1s and 0s. While simplistic in nature for the actual machine, it was very difficult for humans to read and understand. These languages were hard to edit in the event of errors.
Second Generation computer languages were written using code that was easier to understand by humans. However, it required a complier to covert the information into binary code which is recognized by the computer.
Third Generation computer languages introduced variables that are easily read and understood by programmers. These programs include C++, Cobol, Basic and Fortran.
Fourth Generation computer languages took the third generation languages to the next level and enabled communication and interaction with items such as databases. The foundation for the Fourth generation languages came from the Third generation languages. 5. Tell what programming languages have you studied and discuss any previous programming experience, if any? If you had the opportunity, choose a language from the list you created in question #4 and explain why you would like to learn this language over any of the others.
If I had an opportunity to learn a language, I would like to learn C++. I have very little exposure to C++ but found the language easier to understand and easy to remember. The language is logical and therefore making the connection between the commands easier.
Reference
Javvin Technologies,Inc., . (n.d.). Retrieved from http://www.javvin.com/softwareglossary/1GL.html
Javvin Technologies,Inc., . (n.d.). Retrieved from http://www.javvin.com/softwareglossary/2GL.html
Javvin Technologies,Inc., . (n.d.). Retrieved from http://www.javvin.com/softwareglossary/3GL.html
Javvin Technologies,Inc., . (n.d.). Retrieved from http://www.javvin.com/softwareglossary/4GL.html
You May Also Find These Documents Helpful
-
d. The words that make up a high-level programming language are known as KEY WORDS or RESERVED WORDS. (pg. 17)…
- 388 Words
- 2 Pages
Satisfactory Essays -
1. What is machine code? Why is it preferable to write programs in a high level language such as C++?…
- 743 Words
- 3 Pages
Satisfactory Essays -
What is used to translate high level language programs to machine language (or machine code)? Compiler…
- 738 Words
- 3 Pages
Good Essays -
1. What is machine code? Why is it preferable to write programs in a high level language such as C++?…
- 1077 Words
- 5 Pages
Satisfactory Essays -
rules for deriving meaning in a given language. Syntax, also a part of grammar, is a set of…
- 1319 Words
- 6 Pages
Powerful Essays -
Unit 6 Assignment 2 Choosing the right programming language. (P2) There are several factors to consider when choosing the right programming language, these include Organisational policy, suitability in terms of available features and tools, availability of trained staff and development and maintenance costs. Organisational policy Organisations which make and develop loads of computer software’s and programs tend to have a policy of using a certain language, a reason for this might be because that language allows them to make all their software consistent and easier to maintain.…
- 1542 Words
- 7 Pages
Good Essays -
When I looked at text before, I could pick up on the literary devices and understand them. Now, I can see these devices, understand them and build upon what they are trying to convey to the reader and how they help develop plot and characterization. One of the lit devices that I started to look at more was syntax. Before this I had never heard of syntax and never seen it as a way to convey something to the reader. When I started to have to analyze syntax, I could see that the author used this mostly to show the reader how the speaker feels in relation to his dialogue. Now when I am reading my own books, I have started to look at lit devices without trying, can see what they are talking about and see into the books…
- 465 Words
- 2 Pages
Good Essays -
Thought there are numerous computer programming languages in the world today, we will focus on the three basic fundamental types of computer programming languages.…
- 1318 Words
- 6 Pages
Powerful Essays -
15. Syntax- – The way an author chooses to join words into phrases, clauses, and sentences. Syntax is similar to diction, but you can differentiate them by thinking of syntax as groups of words, while diction refers to the individual words(Ex: Structure of the sonnet…
- 658 Words
- 3 Pages
Good Essays -
14. Syntax - The way in which words are put together to form sentences or phrases.…
- 624 Words
- 3 Pages
Satisfactory Essays -
7)List, explain, and give an example of each of the essential elements to a language.…
- 398 Words
- 2 Pages
Good Essays -
Write a Java program to perform basic arithmetic operations which are multiplication and division of two numbers. Numbers are assumed to be integers and will be entered by the user…
- 329 Words
- 2 Pages
Satisfactory Essays -
As computers do not understand our language these statements instruct the computer as to what commands to process. They can only understand 'machine language' or 'machine code' i.e. instructions consisting of a series of 0s and 1s. Software tools convert source code into object code. It is actually the object code that the computer executes and understands and it is very difficult for humans to read or modify this code.…
- 1880 Words
- 8 Pages
Powerful Essays -
So switches too small and too many for person standing front of computer to flip switches. Now computers told what to do or "programmed" by holes in paper tapes or cards. Then by magnetic bits on magnetic tapes, and then on magnetic disks. Also, too many "on/off" for person to understand, so people write programming languages like "Assembly" to make easier to create computer instructions or programs. Then write program called "Assembler" to take "Assembly" instructions and turn it back into the "on/off" instructions that computer…
- 1781 Words
- 8 Pages
Good Essays -
The first programming languages predate the modern computer. From the first, the languages were codes. Herman Hollerith realized that he could encode information on punch cards when he observed that railroad train conductors would encode the appearance of the ticket holders on the train tickets using the position of punched holes on the tickets. Hollerith then proceeded to encode the 1890 census data on punch cards which he made the same size as the boxes for holding US currency. (The dollar bill was later downsized.)The first computer codes were specialized for the applications. In the first decades of the twentieth century, numerical calculations were based on decimal numbers. Eventually it was realized that logic could be represented with numbers, as well as with words. For example, Alonzo Church was able to express the lambda calculus in a formulaic way. The Turing machine was an abstraction of the operation of a tape-marking machine, for example, in use at the telephone companies. However, unlike the lambda calculus, Turing's code does not serve well as a basis for higher-level languages - its principal use is in rigorous analyses of algorithmic complexity.Like many "firsts" in history, the first modern programming language is hard to identify. From the start, the restrictions of the hardware defined the language. Punch cards allowed 80 columns, but some of the columns had to be used for a sorting number on each card. Fortran included some keywords which were the same as English words, such as "IF", "GOTO" (go to) and "CONTINUE". The use of a magnetic drum for memory meant that computer programs also had to be interleaved with the rotations of the drum. Thus the programs were more hardware dependent than today.To some people the answer depends on how much power and human-readability is required before the status of "programming language" is granted. Jacquard looms and Charles Babbage's Difference Engine both had…
- 20168 Words
- 81 Pages
Better Essays