Podcast
Questions and Answers
Which of the following is NOT a characteristic of a high-level programming language?
Which of the following is NOT a characteristic of a high-level programming language?
Which of the following is an example of a natural programming language?
Which of the following is an example of a natural programming language?
What is the primary purpose of a machine-independent programming language?
What is the primary purpose of a machine-independent programming language?
Which of the following is NOT a characteristic of a high-level programming language?
Which of the following is NOT a characteristic of a high-level programming language?
Signup and view all the answers
Which of the following is an example of an artificial intelligent system?
Which of the following is an example of an artificial intelligent system?
Signup and view all the answers
What is the primary advantage of a natural programming language?
What is the primary advantage of a natural programming language?
Signup and view all the answers
Which of the following is the primary function of a compiler?
Which of the following is the primary function of a compiler?
Signup and view all the answers
What is the relationship between high-level programming languages and machine-oriented instructions?
What is the relationship between high-level programming languages and machine-oriented instructions?
Signup and view all the answers
Which of the following is a key characteristic of a machine-independent programming language?
Which of the following is a key characteristic of a machine-independent programming language?
Signup and view all the answers
What is the primary purpose of the listing produced by a compiler?
What is the primary purpose of the listing produced by a compiler?
Signup and view all the answers
Which of the following is a key characteristic of a machine-oriented programming language?
Which of the following is a key characteristic of a machine-oriented programming language?
Signup and view all the answers
What is the primary function of the linkages and macros included in a compiler?
What is the primary function of the linkages and macros included in a compiler?
Signup and view all the answers
What is the primary function of an assembler?
What is the primary function of an assembler?
Signup and view all the answers
Which of the following is a key difference between a compiler and an assembler?
Which of the following is a key difference between a compiler and an assembler?
Signup and view all the answers
Which of the following is a key function of a compiler?
Which of the following is a key function of a compiler?
Signup and view all the answers
What is the relationship between a high-level programming language and a machine-oriented language?
What is the relationship between a high-level programming language and a machine-oriented language?
Signup and view all the answers
Which of the following is a key function of an assembler that is not performed by a compiler?
Which of the following is a key function of an assembler that is not performed by a compiler?
Signup and view all the answers
What is the primary purpose of a machine-independent programming language?
What is the primary purpose of a machine-independent programming language?
Signup and view all the answers
Study Notes
Assembler
- Translates mnemonic operation codes into machine code and symbolic addresses into machine addresses.
- Includes necessary linkages for closed subroutines and inserts appropriate machine code for macros.
- Allocates areas of storage and includes error codes if appropriate.
- Detects and indicates invalid source-language instructions.
- Produces the object program on tape or disk as required.
- Produces a printed listing of the source and object program with comments.
Compiler
- Translates high-level language into machine-oriented instructions.
- Generates the object program and produces a printed listing of the source and object programs when required.
- Translates the source-program statements into machine code.
Features of High-Level Language
- Similar to English with vocabularies of words and symbols.
- Easy to learn and use.
Machine Independent Programming Language
- Used to write business application programs.
- Designed to be easily learned and used by end-users.
- Allows users to create programs without the need for a programmer.
- Examples include report generators, application generators, and query languages.
Natural Programming Language
- Represents a natural language.
- Eliminates the need for users to learn a specific vocabulary, grammar, or syntax.
- Text of a natural language statement resembles human speech.
- Examples include Clones for Microcomputers and Intellect for Mainframes.
Expert Systems and Artificial Intelligence
- Use of artificial intelligence touches on expert systems.
- Expert systems use a computerized collection of the knowledge of many human experts.
- Artificial intelligence is an independently smart computer system.
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.
Description
Explore examples and advantages of popular programming languages such as BASIC, FORTRAN, COBOL, PASCAL, and C++. Learn about their similarities to English, easy-to-learn symbols, and their use in writing machine-independent business application programs.