INTRODUCTION TO 4GL
4GL:
Here 4GL is stands for fourth generation language.
Some of the examples are VB, SQL etc.
4GL is a grouping of programming languages which are invented to get closer to human language than 3GLs.
Now the question is how to 4GL is closer to human language?
So we will get answer from SQL query. We have to find out the number of students whose names are Jayesh in a table.
Select * form student where name = ‘Jayesh’;
Its same as humans speaks.
But the question is what is 3GL?
So 3GL is high level languages like JAVA, C++.
Other than 4GL and 3GL there is 1GL,2GL,5GL too.
1GL, include machine language.
2GL, includes assembly language.
5GL, includes neural networks and artificial intelligence.
MCQs on 4GL
Q1. Which of the following 4GLs invented at IBM and subsequently adopted by ANSI and ISO as the standard language for managing structured data?
a) SQL
b) PROLOG
c) C
Q2. Productivity of software engineers is reduced in using a 4GT.
a) True
b) False
Q3. 4GL is an example of ______________ processing.
a) Black Box
b) Functional
c) Both Black Box & Functional
Q4. Identify a fourth generation language(4GL) from the given below.
a) FORTRAN
b) COBOL
c) Unix shell
Q5. Which 4GL is used for Data manipulation, analysis, and reporting languages
a) Lisp
b) SAS
c) Unix shell
d) MATLAB
Q6. Which of the following 4GLs is low code/no code development platform
a) FORTRAN
b) New Horizon
c) Progress
Q7. 4Gl used for mathematical optimization
a) MATLAB
b) Unify Vision
c) Visual DataFlex
Q8. GUI creator 4GL
a) Visual DataFlex
b) LIRC
c) R
MCQs Answers
Q1. (a)
Q2. (b)
Q3. (c)
Q4. (c)
Q5. (b)
Q6. (c)
Q7. (a)
Q8. (a)
References:
- Sebesta,”Concept of programming Language”, Pearson Edu
- Louden, “Programming Languages: Principles & Practices” , Cengage Learning
- Tucker, “Programming Languages: Principles and paradigms “, Tata McGraw –Hill.
- E Horowitz, “Programming Languages”, 2nd Edition, Addison Wesley