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

Computer Languages Questions and Answers

Answer: B

Correct answer: Command coming from control section

The ALU does nothing on its own: it performs an operation when the control unit selects it and enables the registers holding the operands. Memory supplies data, not commands.

Please log in or register to report this question.

102.

A compiler is used when data is to be processed in

Answer: A

Correct answer: batches

A compiler translates the whole program first and then it is run, which suits a job submitted with all its data and left to complete. Interactive working, where each statement is to take effect at once, calls for an interpreter instead.

Please log in or register to report this question.

103.

Control returns in calling program at correct place exactly from

Answer: A

Correct answer: place it lefts

A subroutine call saves the return address before transferring control, so when the subroutine finishes, execution resumes at the statement immediately after the call. Returning to the start or the end of the program would lose the work in progress.

Please log in or register to report this question.

105.

Which language can be directly understood by the CPU?

Answer: A

Correct answer: Machine language

Only machine language - binary instructions in the processor's own instruction set - can be executed directly. Assembly, C and Java all need a translator: an assembler, a compiler, or a compiler and a virtual machine respectively.

Please log in or register to report this question.

106.

In programming language BASIC, area is calculated as

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.

Answer: D

Correct answer: All of the above

All three names describe high level languages from different angles: they are problem oriented rather than machine oriented, and particular ones are aimed at business or at mathematical work. The common feature is that the programmer writes in the terms of the problem.

Please log in or register to report this question.

109.

How is the instructions and memory address represented? 

Answer: C

Correct answer: By binary codes

Everything inside the machine is held as patterns of bits, so both the operation to be performed and the address it refers to are represented by binary codes. A parity bit checks for error and a character code represents text, neither of which is what an instruction is made of.

Please log in or register to report this question.

110.

_________________is not used as main memory system.

Answer: A

Correct answer: Magnetic tape

Main memory must be randomly accessible, and tape is a sequential medium: reaching a given record means winding through everything before it. Magnetic core and semiconductor memory were both used as main memory, in the second and third generations respectively.

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