(A) spacifing the syntex of a language
(B) spacifing a context free grammer
(C) discribing how a program works
(D) both a and b
Tag: Introduction to Programming Languages
Which of the following problems are iterative rather than recrusive in nature:
(A) Simplex method for solving a liner programing problem
(B) Newton-Raphson Method for finding the roots of an equation
(C) 8 Queen’s problem
(D) both a and b
The terget of an assignment statement should be:
(A) l-value
(B) either l-value or r-value
(C) r-value
(D) none of the above
Binding cannot be done:
(A) when seprately compiled modulus are being linked together
(B) during loading
(C) while writing a program
(D) none of the above
Choose the correct statement:
(A) In general there is always an ittative equivilant of a recrusive information
(B) Recrusion and itiation are equally powerful
(C) In itiation the body is carried out to completion before the condition of termination is started
(D) All of the above
The vernacular language English can not be used as a Computer Programing Language because:
(A) it include symbols that are not present in keyboard
(B) it does not have a well defined syntex
(C) it is anbiguos
(D) Computers do not understand English
If the comment is removed in the previous problem it will print 18,8 if the parameter declaratiion is:
(A) only A and B are variable parameters
(B) only B and C are variable parameters
(C) only A and C are variable parameters
(D) all variable parameters