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

Computer Languages Questions and Answers

81.

In high level programming language BASIC, statements written with GOTO and IF commands are considered as

Answer: A

Correct answer: loop

IF combined with GOTO sends control back to an earlier line when a condition holds, which is a loop built by hand - the way repetition was written before FOR and WHILE were available. The condition is the part that decides when to stop; the construction as a whole is the loop.

Please log in or register to report this question.

83.

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.

84.

A special quantity whose value does not change is classified as

Answer: A

Correct answer: constant

A constant is a quantity whose value is fixed for the whole run of the program, as against a variable, whose value may change. Mantissa and exponent are the two parts of a floating-point number.

Please log in or register to report this question.

85.

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.

86.

In structured programming language such as Pascal, operations is then refined using

Answer: B

Correct answer: procedure

Structured programming works by stepwise refinement: each operation is broken into smaller operations, and in Pascal each is written as a procedure. The other options describe properties of data, not the means of refining an operation.

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.

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