Machine-translated by Google. Questions are authored in English.
Top

Computer Languages Questions and Answers

11.

Which language can be directly understood by the CPU?

Answer: A

Correct answer: Machine language

Only machine language - binary instructions in the processor's own instruction set - can be executed directly. Assembly, C and Java all need a translator: an assembler, a compiler, or a compiler and a virtual machine respectively.

Please log in or register to report this question.

Answer: D

Correct answer: Excessive internal documentation is required

FORTRAN is the opposite: being terse and mathematical, it is criticised for being hard to read and for encouraging too little documentation, not too much. The other three statements are all true - it was designed for mathematical work, it is problem oriented, and it is the oldest surviving high level language.

Please log in or register to report this question.

13.

Problem oriented language is

Answer: C

Correct answer: All of the above

A problem oriented language lets the programmer state the problem in the terms of the application rather than in the terms of the machine. Both BASIC and PL/1 are high level languages of that kind.

Please log in or register to report this question.

14.

The language which is CPU dependent is

Answer: C

Correct answer: Assembly

Assembly language is written in the mnemonics of one particular instruction set, so a program written for one processor family will not assemble for another. C is compiled and can be recompiled for any target, and Java runs on a virtual machine, which is what makes it independent.

Please log in or register to report this question.

15.

The words that are set aside by the programming language for its own use is called
 

Answer: A

Correct answer: Reserved words

Words the language keeps for itself - if, while, return - are called reserved words or keywords, and a program may not use them as names of its own. Control structures are what some of those words build, which is a different thing.

Please log in or register to report this question.

16.

Which computer language is used on internet?

Answer: D

Correct answer: Java

Java was designed for the network: applets ran in browsers and its bytecode runs on any platform with a virtual machine, which is exactly what a program distributed over the internet needs. BASIC, LOGO and Pascal are all teaching languages of an earlier period.

Please log in or register to report this question.

17.

The program which is computed by all computers is

Answer: B

Correct answer: Machine language program

Every computer can execute machine code, since that is what its processor is built to do. A source program in COBOL or BASIC must first be translated, and whether it can be translated at all depends on what compiler is available.

Please log in or register to report this question.

18.

_____________ is used for development of various games. 

Answer: A

Correct answer: C++

C++ combines object-oriented structure with the low-level control and speed a game needs, which is why it has long been the standard language for game engines. FORTRAN and BASIC lack the structure, and Java, though used for some games, does not give the same control over memory and hardware.

Please log in or register to report this question.

19.

What type of languages can easily interact with the hardware?

Answer: D

Correct answer: Low level languages

A low level language works in the terms the hardware itself uses - registers, addresses, individual instructions - so it can reach the machine directly. That is the whole reason for using one, and it is what higher level languages deliberately hide.

Please log in or register to report this question.

20.

For computer language evaluation, the characteristic that should not be considered is

Answer: C

Correct answer: Hardware maintenance cost

Choosing a language turns on how well it suits the application, how efficiently it runs, and how readable the result is. What it costs to maintain the hardware is a property of the machine, not of the language, so it has no bearing on the comparison.

Please log in or register to report this question.

Loading…
Tags: Computer Languages Questions and Answers || Computer Languages MCQ Questions and Answers || Computer Languages GK Questions and Answers || Computer Languages GK MCQ Questions || Computer Languages Multiple Choice Questions and Answers || Computer Languages GK || GK on Computer Languages || Computer Awareness Questions and Answers || Computer Awareness MCQ Questions and Answers || Computer Awareness GK Questions and Answers || GK on Computer Awareness