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)
Principles of Programming Languages:
EasyExamNotes.com covered following topics in PPL.
Principles of Programming Languages:
EasyExamNotes.com covered following topics in PPL.
- Language Evaluation Criteria
- Influences on Language Design
- Language Categories
- Programming Paradigms
- Compilation
- Virtual Machines
- Programming Environments
- Issues in Language Translation
- Parse Tree
- Pointer and Reference type
- Concept of Binding
- Type Checking
- Strong typing
- Sequence control with Expression
- Exception Handling
- Subprograms
- Fundamentals of sub-programs
- Scope and lifetime of variable
- Static and dynamic scope
- Design issues of subprogram and operations
- Local referencing environments
- Parameter passing methods
- Overloaded sub-programs
- Generic sub-programs
- Design issues for functions
- Co routines
- Abstract Data types
- Abstraction and encapsulation
- Static and Stack-Based Storage management
- Garbage Collection
- OOP in C++
- OOP in Java
- OOP in C#
- OOP in PHP
- Concurrency
- Semaphores
- Monitors
- Message passing
- Java threads
- C# threads
- Exception handling
- Exceptions
- Exception Propagation
- Exception handler in C++
- Exception handler in Java
- Introduction and overview of Logic programming
- Basic elements of Prolog
- Application of Logic programming
- Functional programming languages
- Introduction to 4GL
Practicals:
- Memory Implementation of 2D Array.
- Memory Implementation of 3D Array.
- Implementation of pointers in C++.
- Write a program in Java to implement exception handling.
- Write a program in C++ to implement call by value parameter passing Method.
- Write a program in C++ to implement call by reference parameter passing Method.
- Write a program in Java to implement concurrent execution of a job using threads.
- Implement Inheritance in C#.
- Implement Encapsulation in C#.
- Implement static/compiletime Polymorphism in C#.
- Implement dynamic/runtime Polymorphism in C#.
Previous years solved papers:
A list of Video lectures
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
- Memory Implementation of 2D Array.
- Memory Implementation of 3D Array.
- Implementation of pointers in C++.
- Write a program in Java to implement exception handling.
- Write a program in C++ to implement call by value parameter passing Method.
- Write a program in C++ to implement call by reference parameter passing Method.
- Write a program in Java to implement concurrent execution of a job using threads.
- Implement Inheritance in C#.
- Implement Encapsulation in C#.
- Implement static/compiletime Polymorphism in C#.
- Implement dynamic/runtime Polymorphism in C#.
Previous years solved papers:
A list of Video lectures
References:
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