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

Computer Languages Questions and Answers

53.

COMAL language statement '//PROGRAM : Input three numbers and print average//' shows

Answer: C

Correct answer: a program remark

The line is enclosed in the double slashes that mark a comment, and its content is a note describing what the program does. It declares nothing and computes nothing, which is what distinguishes a remark from a function or a variable.

Please log in or register to report this question.

Answer: C

Correct answer: high level programming language

A high level language lets the programmer express the problem in the terms of the problem itself - formulas, records, names - rather than in the terms of the machine. That is what problem oriented means, and it is the standard description of high level languages.

Please log in or register to report this question.

55.

Loop which is tested at least once in case condition does not fulfilled is classified as

Answer: D

Correct answer: REPEAT UNTIL loop

REPEAT … UNTIL tests its condition at the end of the body, so the body always runs at least once, even if the condition is already satisfied. A WHILE loop tests first and so may run no times at all.

Please log in or register to report this question.

Answer: C

Correct answer: 100 Area=Width*Length

A BASIC statement begins with its line number, and assignment uses a plain equals sign: 100 Area=Width*Length. The := of the other options belongs to Pascal, and a statement without a line number would not be stored in the program.

Please log in or register to report this question.

58.

Program used for interactive computing is

Answer: D

Correct answer: interpreter

An interpreter translates and executes a program a statement at a time, so a change can be tried immediately without a compile step - which is what makes it the tool for interactive computing. A compiler must process the whole program before any of it can run.

Please log in or register to report this question.

60.

Loop statement used in program to continue repetition until some condition is met is classified as

Answer: D

Correct answer: REPEAT UNTIL loop

REPEAT … UNTIL goes on repeating until the stated condition becomes true, which is the arrangement the question describes. A WHILE loop is expressed the other way round: it continues while a condition remains true.

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