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

Computer Languages Questions and Answers

81.

Which one of the following language reflects the way people think mathematically?

Answer: A

Correct answer: Functional

Functional programming is built on the evaluation of functions and avoids changing state, which is how mathematics itself works: f(x) means the same thing wherever it appears. Event-driven and cross-platform describe how a program is organised and where it runs, not how it reasons.

Please log in or register to report this question.

82.

In BASIC language, '150 LET Area=Width*Length' , optional word is

Answer: A

Correct answer: LET

In BASIC the assignment keyword LET may be written or omitted: 150 LET Area=Width*Length and 150 Area=Width*Length mean the same thing. The variable names are not optional, since without them nothing is assigned.

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.

84.

Statement which is treated as choice for a possible actions is classified as

Answer: A

Correct answer: case

A case statement lists several possible values and the action to take for each, so it selects one action out of many. A condition is what a case is tested against, not the statement itself.

Please log in or register to report this question.

85.

Way data in program is to be set is called its

Answer: C

Correct answer: format

The format of data is the arrangement in which it is laid out - how many digits, where the decimal point falls, how a date is written. Class and group describe kinds of data rather than their arrangement.

Please log in or register to report this question.

Answer: A

Correct answer: the delay in computing the storage address

Direct access files find a record by computing its address from its key, and that computation - hashing, and the handling of collisions when two keys give the same address - takes time on every access. Unused locations and duplicated addresses are consequences of the same scheme but are not what slows it down.

Please log in or register to report this question.

87.

In high level programming language Pascal, END statement lasts with the

Answer: B

Correct answer: full stop

A Pascal program ends with END. - the full stop marking the end of the whole program. A semicolon separates statements and appears after every inner END, but the last one takes the period.

Please log in or register to report this question.

Answer: D

Correct answer: mnemonics and symbolic addresses

JMP is the short form of an operation, which makes it a mnemonic; PRNT is a label the programmer has attached to a location, which makes it a symbolic address. Every assembly instruction has this shape: an operation followed by what it operates on.

Please log in or register to report this question.

89.

Which of the following is not a primary storage device?

Answer: D

Correct answer: All of the above

Primary storage is the memory the processor addresses directly - RAM and ROM. Magnetic tape, magnetic disk and optical disk are all secondary storage: they hold data outside the processor's address space and must be read into memory before use. So none of the three is primary, and the answer covers all of them.

Please log in or register to report this question.

90.

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.

Loading…

Topics

    No topic!
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