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

Computer Languages Questions and Answers

1.

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.

2.

ASCII codes has ____________ bits

Answer: A

Correct answer: 8

ASCII proper uses seven bits, giving 128 codes, but each is stored in a byte, and the extended sets that use the eighth bit are what most systems actually implement. Of the values offered, 8 is therefore the one intended; 16 bits belongs to Unicode's UTF-16.

Please log in or register to report this question.

3.

High level language includes

Answer: C

Correct answer: both (a) and (b)

COMAL and BASIC are both high level languages: each lets the programmer write in terms of the problem rather than of the machine, and each needs translating before it can run. Standard is not the name of a language.

Please log in or register to report this question.

5.

A program which translates high level program into machine code is classified as

Answer: A

Correct answer: compiler

A compiler translates a whole high level program into machine code before it is run. Translator is the general term covering compilers, interpreters and assemblers, so it is less precise than the answer the question wants.

Please log in or register to report this question.

8.

The time required for a pulse to change from 10 to 90 percent of its maximum value is called

Answer: A

Correct answer: Rise time

Rise time is defined as the interval in which a pulse climbs from 10 per cent to 90 per cent of its final value; the 10 and 90 per cent marks are used because the very beginning and end of the transition are hard to identify. Decay time is the corresponding measure for the fall.

Please log in or register to report this question.

9.

Which programming language was designed chiefly for artificial intelligence and symbolic processing ?

Answer: C

Correct answer: LISP

LISP, created by John McCarthy in 1958, is built on list processing and treats code and data in the same form, which suits symbolic manipulation. FORTRAN was written for scientific computation and COBOL for business data processing.

Please log in or register to report this question.

10.

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.

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