Programming Languages — Set 5
Computers · प्रोग्रामिंग भाषाएं · Questions 41–50 of 60
Which language is universally used for managing and querying data in Relational Database Management Systems (RDBMS)?
Correct Answer: C. SQL
SQL is the standard language for interacting with databases like MySQL, Oracle, and PostgreSQL. It allows users to create tables, insert records, and search for specific information efficiently. It is a declarative language, meaning you describe what you want, not how to get it.
Which of the following is the only language that a computer can understand directly without translation?
Correct Answer: B. Machine Language
Machine language is a collection of binary digits or bits (0s and 1s) that the computer reads and interprets. Every other language must be converted into machine code using a compiler, interpreter, or assembler. It is the lowest level of software representation.
FORTRAN, the first high-level language, is primarily used for which of the following?
Correct Answer: B. Scientific and engineering calculations
FORTRAN was designed in 1957 to simplify the programming of complex mathematical and scientific formulas. It remains one of the fastest languages for heavy numerical computation. It is still heavily used in weather forecasting and physics research.
What is the primary role of an 'Interpreter' in programming?
Correct Answer: A. To translate and execute code line by line
An interpreter reads the source code and executes it immediately, one instruction at a time. Unlike a compiler, it does not produce a separate permanent binary file. This makes debugging easier but generally results in slower overall execution.
Which programming language was developed by Dennis Ritchie at AT&T Bell Labs in the early 1970s?
Correct Answer: A. C
C was created to be a powerful yet portable language for writing the Unix operating system. Its syntax has influenced almost all popular modern languages like Java and Python. It provides the efficiency of low-level languages with the readability of high-level ones.
Which language is considered a 'Second Generation' computer language?
Correct Answer: B. Assembly Language
Assembly language is the second generation because it uses human-readable mnemonics instead of binary. Machine language is the first generation, while languages like FORTRAN belong to the third generation. It requires an 'Assembler' for translation into machine code.
In the context of computer programming, what does 'COBOL' stand for?
Correct Answer: A. Common Business Oriented Language
COBOL was developed in the late 1950s specifically for business and administrative tasks. It is famous for its verbose, English-like syntax which makes it very readable. It is still used today in many global financial and banking systems.
Which language is most frequently used for creating Artificial Intelligence applications due to its extensive libraries?
Correct Answer: B. Python
Python has become the lead language for AI and machine learning because of libraries like TensorFlow and Scikit-learn. Its simple syntax allows researchers to focus on algorithms rather than complex coding rules. It is highly versatile and used for web, automation, and data analysis.
Which language was developed by Bjarne Stroustrup as an extension of the C language?
Correct Answer: B. C++
C++ was designed to add object-oriented features to the efficiency of C. This made it a powerful choice for systems software, game engines, and performance-critical apps. It allows for both procedural and object-oriented styles of programming.
What is the name of the software that translates high-level code into machine code all at once before execution?
Correct Answer: C. Compiler
A compiler takes the entire source code and converts it into an executable machine-level format. The computer then runs this translated version directly, which is very efficient. Languages like C, C++, and Java use compilers.