(A) 5 characters beyond O
(B) 3 characters beyond O
(C) no characters beyond O
(D) 8 characters beyond O
Tag: Introduction to Programming Mcqs
A recursive function f, is defined as follows:
(A) f (n)=2, if n=0
(B) =m, if n=1
(C) =2xf(n-1) + 4fx(2n-2), if n>=2
(D) if the value of f(4) is 88 then the value of m is -1, 0, 2, 1
If the postfix equvilant of the statment if c then x else y is cxy#, then the postfix form amn+mn-ab#ba-#?
(A) Has no syntactically Valid prefix equvilant
(B) is equvilant to if a then if mn then m-n else a-b else b-a
(C) is equvilant to if a then mn then m-n else a-b else b-a
(D) is equvilant to if a then m-n else if m+n then a-b else b-a
When break statement is encountered in switch statement, it:
(A) Stops the entire program
(B) Stops the execution of current statement
(C) Exits from switch statement
(D) None of the given options
Loader transfers the executable code from main memory to hard disk:
(A) True
(B) False
(C) Both
(D) None
In if structure the block of statements is executed only,:
(A) Type letters
(B) When it contain arithmetic operators
(C) When it contain logical operators
(D) When the condition is true
Structured Query Language is used for __.
(A) Databases Management
(B) Networks
(C) Writing Operating System
(D) none of the given options
It is a way of reusing the code when we contain objects of our already written classes into a new class,:
(A) True
(B) False
(C) Both
(D) None