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

Computer Languages Questions and Answers

Answer: B

Correct answer: low level programming language

A low level language works in the terms of the machine's own instruction set, with one statement corresponding closely to one machine instruction. High level languages deliberately move away from machine code towards the language of the problem.

Please log in or register to report this question.

32.

Which term is associated with the comparisons of processing speeds of different computer system?

Answer: B

Correct answer: MIPS

MIPS - millions of instructions per second - is the figure quoted when processing speeds are compared. CPS is characters per second, a printer measure, and MPG belongs to motor cars.

Please log in or register to report this question.

33.

Loop which does not executed at all if it is tested at beginning is classified as

Answer: B

Correct answer: WHILE loop

A WHILE loop tests its condition before entering the body, so if the condition is false at the outset the body never runs at all. A REPEAT loop tests at the end and therefore always runs at least once.

Please log in or register to report this question.

34.

Which file organization is allowed by a direct access storage device?

Answer: D

Correct answer: sequential, indexed and direct

A direct access device can reach any block without reading what comes before it, so it supports direct organisation; and since it can also read blocks in order, it supports sequential and indexed organisation as well. A sequential device such as tape supports only the first of the three.

Please log in or register to report this question.

35.

In line '400 IF NAMEINR ="***" THEN Average= Total Mark/N' of BASIC program, AVERAGE is considered as

Answer: A

Correct answer: real numbers

Average = Total Mark / N is a division, and a division of one integer by another rarely comes out whole, so the variable must be able to hold a fractional value. That is what a real type is for.

Please log in or register to report this question.

36.

Rogue value in statement "140 PRINT "For each one type in name. Type '***,0,0' to finish" is

Answer: A

Correct answer: asterisk

The three asterisks are the value typed to say there are no more names to enter - a value chosen because no real name could look like it. The zeros that follow are the marks entered alongside it and are ignored.

Please log in or register to report this question.

37.

Statement in Comal language 'IF age >=18 THEN PRINT "Yes" ELSE PRINT "No" is an example of

Answer: D

Correct answer: if then else statement

The statement has all three keywords and both branches: a condition after IF, one action after THEN and another after ELSE. An if then statement would have only the first branch.

Please log in or register to report this question.

38.

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.

39.

Names used to identify a specific location and are invented by programmers are called

Answer: B

Correct answer: symbolic addresses

In assembly language a programmer gives a memory location a name of his own choosing - a label - and the assembler works out the actual address. Such names are symbolic addresses. Mnemonics, by contrast, stand for operations rather than for locations.

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