Which of the following is the fourth generation language?
Answer: A) SQL
A Fourth Generation Language (4GL) is a high-level programming language designed to make programming easier and faster by requiring fewer instructions to perform a task.
A. SQL – Correct
SQL (Structured Query Language) is commonly classified as a fourth-generation language (4GL). It is used to create, manage, retrieve, and manipulate data in relational databases.
Example:
SELECT * FROM Students;
This command retrieves all records from the Students table.
B. JAVA – Incorrect
Java is a third-generation programming language (3GL). It is widely used for developing web applications, desktop software, and mobile applications.
C. C++ – Incorrect
C++ is a third-generation programming language (3GL). It is commonly used for system software, games, and application development.
D. BASIC – Incorrect
BASIC is generally classified as a third-generation programming language (3GL). It was designed to make programming easier for beginners.
Fourth Generation Language (4GL) भनेको यस्तो उच्चस्तरीय Programming Language हो, जसको प्रयोग गरेर कम निर्देशन (Instructions) लेखी सजिलै र छिटो काम गर्न सकिन्छ।
A. SQL – सही उत्तर
SQL को पूरा रूप Structured Query Language हो। यो सामान्यतया Fourth Generation Language (4GL) अन्तर्गत पर्दछ। यसको प्रयोग Database मा Data राख्न, खोज्न, परिवर्तन गर्न र व्यवस्थापन गर्न गरिन्छ।
उदाहरण:
SELECT * FROM Students;
यस Command ले Students नामको Table मा भएका सबै Records देखाउँछ।
B. JAVA – गलत
Java एउटा Third Generation Programming Language (3GL) हो। यसको प्रयोग Web Applications, Desktop Software र Mobile Applications बनाउन गरिन्छ।
C. C++ – गलत
C++ पनि Third Generation Programming Language (3GL) हो। यसको प्रयोग System Software, Games तथा विभिन्न Applications बनाउन गरिन्छ।
D. BASIC – गलत
BASIC सामान्यतया Third Generation Programming Language (3GL) अन्तर्गत पर्दछ। यो विशेषगरी सुरुवाती अवस्थामा Programming सिक्न सजिलो होस् भनेर विकास गरिएको थियो।
Exam Tip:
- 3GL: C, C++, Java, BASIC, Pascal
- 4GL: SQL, रिपोर्ट तथा Database Query सम्बन्धी भाषाहरू
SQL को पूरा रूप Structured Query Language हो।
SQL मुख्य रूपमा Relational Database व्यवस्थापन गर्न प्रयोग गरिन्छ।

