CLASS 6 CHAPTER 1
Here are clear Class 6 level answers based on your questions:
1. Distinct Features of 5GL (Fifth Generation Language)
Uses Artificial Intelligence (AI) concepts
Focuses on problem-solving using logic, not coding step-by-step
Programs are written using natural language-like statements
Used in expert systems and robotics
Requires less coding effort
2. Difference Between Compiler and Interpreter
| Compiler | Interpreter |
|---|---|
| Translates whole program at once | Translates line by line |
| Faster execution | Slower execution |
| Shows errors after full compilation | Shows errors one by one |
| Example: C, C++ | Example: Python |
3. Meaning of Machine Language and Assembler
Machine Language:
The lowest-level language understood directly by the computer using 0s and 1s (binary code).Assembler:
A program that converts Assembly Language into Machine Language.
4. Characteristics of 5GL (Fifth Generation Language)
Based on Artificial Intelligence
Uses logical and mathematical problems
Easy to use (closer to human language)
Used in advanced applications like robotics
Less dependency on programmer instructions
5. Difference Between 2GL and 3GL
| 2GL (Second Generation Language) | 3GL (Third Generation Language) |
|---|---|
| Uses Assembly language | Uses high-level language |
| Needs assembler | Needs compiler/interpreter |
| Hard to understand | Easy to understand |
| Machine dependent | Machine independent |
| Example: Assembly | Example: Java, C |
6. Expand the Following Terms
SQL – Structured Query Language
AI – Artificial Intelligence
NASM – Netwide Assembler
GPU – Graphics Processing Unit
Comments
Post a Comment