Programming Languages — Set 1
Computers · प्रोग्रामिंग भाषाएं · Questions 1–10 of 60
Which programming language is commonly referred to as the 'Mother of all languages' due to its influence on modern syntax?
Correct Answer: A. C
C served as the foundation for many modern languages like C++, Java, and Python. It was developed in the early 1970s at Bell Labs by Dennis Ritchie. This language allows low-level access to memory while providing high-level constructs.
Which language was specifically designed for business data processing and is known for its English-like syntax?
Correct Answer: A. COBOL
COBOL stands for Common Business-Oriented Language. It was primarily created to be readable by non-technical business professionals. Most legacy banking and administrative systems still use this language today.
What is the primary characteristic of an interpreted language compared to a compiled one?
Correct Answer: D. Direct execution by a translator
Interpreted languages execute instructions directly without requiring the code to be converted into a binary file first. This makes the development cycle faster as no separate compilation step is needed. Python and Ruby are common examples of interpreted languages.
Which programming language is widely considered the first high-level language, designed for mathematical and scientific calculations?
Correct Answer: A. FORTRAN
FORTRAN stands for Formula Translation and was introduced by IBM in 1957. It revolutionized computing by allowing programmers to write code using mathematical formulas. It remains a preferred choice for high-performance numerical computing.
In computer science, what does 'LISP' stand for, especially in the context of Artificial Intelligence?
Correct Answer: D. List Processing
LISP is one of the oldest high-level programming languages still in use. It was developed by John McCarthy in 1958 and is based on mathematical list notation. It became the standard language for AI research due to its flexibility in symbolic manipulation.
Which type of language uses 'mnemonics' like ADD, SUB, or MOV to represent machine instructions?
Correct Answer: A. Assembly Language
Assembly language provides a human-readable representation of a computer's low-level machine code. It requires an 'Assembler' to convert these mnemonics into binary bits that the processor can execute. This language is highly specific to the processor's architecture.
Which language was developed by James Gosling at Sun Microsystems with the slogan 'Write Once, Run Anywhere'?
Correct Answer: D. Java
Java achieved platform independence by compiling code into 'bytecode' which runs on a Virtual Machine. This made it extremely popular for web and enterprise applications across different operating systems. It is strictly an object-oriented language by design.
The concept of 'Object-Oriented Programming' (OOP) was first fully implemented in which language?
Correct Answer: A. Smalltalk
Smalltalk was developed at Xerox PARC and focused entirely on the concept of 'objects' and 'messages'. It heavily influenced the design of later popular languages like Objective-C and Java. OOP helps in managing complex software systems by organizing data into reusable entities.
Which language is primarily used for client-side web development to provide interactivity to web pages?
Correct Answer: A. JavaScript
JavaScript allows developers to create dynamic content like animations, forms, and interactive maps in web browsers. Although the name contains 'Java', it is syntactically and architecturally different from the Java language. It is currently one of the most widely used languages in the world.
Which language is known for its use of indentation rather than curly braces to define blocks of code?
Correct Answer: D. Python
Python enforces clean and readable code by making indentation part of the language's syntax. It was created by Guido van Rossum and released in 1991. It is currently the leading language for data science and machine learning applications.