COMPUTER FUNDAMENTALS

COMPUTER SOFTWARE

PROGRAMMING LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
ALGOL:
A
Included structured control statements for sequencing, loops, and selection statements.
B
Introduced the array structure.
C
Supported recursion.
D
Is a low-level programming language.
E
Uses an Assembler to translate programming language statements into machine code.
Explanation: 

Detailed explanation-1: -In fact, the differentiation program was not implemented that summer, because FLPL [ed: a Fortran dialect] allows neither conditional expressions nor recursive use of subroutines.

Detailed explanation-2: -Early languages like Fortran did not initially support recursion because variables were statically allocated, as well as the location for the return address. FORTRAN 77 does not allow recursion, Fortran 90 does, (recursive routines must be explicitly declared so).

Detailed explanation-3: -The C programming language supports recursion, i.e., a function to call itself. But while using recursion, programmers need to be careful to define an exit condition from the function, otherwise it will go into an infinite loop.

Detailed explanation-4: -Direct recursion: This is typified by the factorial implementation where the methods call itself. Mutual recursion: This happens where one method, say method A, calls another method B, which then calls method A. Multi-recursion: Multiple recursive calls are made in the method. More items

There is 1 question to complete.