Computer Languages
1. Which of the following languages is more suited to a structured program?
A. PL/1
B. FORTRAN
C. BASIC
D. PASCAL
E. None of the above
Explanation :
PASCAL languages is more suited to a structured program.
Pascal is an imperative and procedural programming language, which Niklaus Wirth designed in 1968–69 and published in 1970, as a small, efficient language intended to encourage good programming practices using structured programming and data structuring. It is named in honor of the French mathematician, philosopher and physicist Blaise Pascal.
2. Which of the following computer language is used for artificial intelligence?
A. FORTRAN
B. PROLOG
C. C
D. COBOL
E. None of the above
Explanation :
Prolog, Python, Lisp, Java, and C++ are major AI programming language used for artificial intelligence capable of satisfying different needs in development and designing of different software.
Prolog : Prolog is a declarative language where programs are expressed in terms of relations, and execution occurs by running queries over these relations. Prolog is particularly useful for symbolic reasoning, database and language parsing applications. Prolog is widely used in AI today.
3. A computer program that converts assembly language to machine language is
A. Compiler
B. Interpreter
C. Assembler
D. Comparator
E. None of the above
Explanation :
A computer program that converts assembly language to machine language is Assembler.
Assembler : An assembler is a type of computer program that interprets software programs written in assembly language into machine language, code and instructions that can be executed by a computer.
An assembler enables software and application developers to access, operate and manage a computer's hardware architecture and components.
4. The symbols used in an assembly language are
A. Codes
B. Mnemonics
C. Assembler
D. All of the above
E. None of the above
Explanation :
In programming, it is a name assigned to a machine function. For example, COM1 is the mnemonic assigned to serial port #1 on a PC. Programming languages are almost entirely mnemonics. For example, in x86 assembly language, CMP is used to represent the "compare" instruction and JE for "jump if equal."
5. A systems programming language for microcomputers in the Intel family is
A. PL/C
B. PL/CT
C. PL/M
D. PLA
E. None of the above
Explanation :
The PL/M programming language is a high-level language conceived and developed by Gary Kildall in 1973 for Hank Smith at Intel for its microprocessors. The language incorporated ideas from PL/I, ALGOL and XPL, and had an integrated macro processor.
6. Which is a non-standard version of a computing language?
A. PROLOG
B. APL
C. Army
D. PL/1
E. None of the above
Explanation : None.
7. Which is a machine-oriented high-level language for the GEC 4080 series machines.
A. LOGO
B. SNOBOL
C. Babbage
D. ALGOL
E. None of the above
Explanation :
Programming languages available included Babbage (a high-level assembly language)
The GEC 4000 was a series of 16/32-bit minicomputers produced by GEC Computers Ltd. of the UK during the 1970s, 1980s and early 1990s.
8. Data division is the third division of a _____ program.
A. COBOL
B. BASIC
C. PASCAL
D. FORTH
E. None of the above
Explanation : COBOL : COBOL is a compiled English-like computer programming language designed for business use. It is imperative, procedural and, since 2002, object-oriented. COBOL is primarily used in business, finance, and administrative systems for companies and governments.
9. Which language was devised by Dr. Seymour Aubrey Papert?
A. APL
B. COBOL
C. LOGO
D. FORTRAN
E. None of the above
Explanation :
Dr. Seymour Aubrey Papert : Seymour Aubrey Papert was a South African-born American mathematician, computer scientist, and educator, who spent most of his career teaching and researching at MIT. He was one of the pioneers of artificial intelligence, and of the constructionist movement in education.
logo programming language : Logo is an educational programming language, designed in 1967 by Wally Feurzeig, Seymour Papert and Cynthia Solomon. "Logo" is not an acronym: the name was coined by Feurzeig while he was at Bolt, Beranek and Newman, and derives from the Greek logos, meaning word or "thought".
10. Which of the following is intended to be used in all applications runs on mainframe computers.
A. LOGO
B. APL
C. PL/1
D. OCCAM
E. None of the above
Explanation : PL/1 : PL/I is a procedural, imperative computer programming language designed for scientific, engineering, business and system programming uses. It has been used by various academic, commercial and industrial organizations since it was introduced in the 1960s, and continues to be actively used.
PL/I's main domains are data processing, numerical computation, scientific computing, and system programming; it supports recursion, structured programming, linked data structure handling, fixed-point, floating-point, complex, character string handling, and bit string handling. The language syntax is English-like and suited for describing complex data formats, with a wide set of functions available to verify and manipulate them.