Principles Of Programming Languages Set 3

On This Page

This set of Principles of Programming Languages Multiple Choice Questions & Answers (MCQs) focuses on Principles Of Programming Languages Set 3

Q1 | What will be the output of the following code? #include using namespace std; int main() { float a='a'; cout<
Q2 | What will be the output of the following code?int main() { char ch; ch=129; printf("%d\n",ch); return 0; }
Q3 | When the type conversion is required?
Q4 | What is the output of the following code? int main() { double x=1.2; int sum=(int)x + 1; printf("sum=%d",sum); return 0; }
Q5 | #include using namespace std; int main() { int a=10,b=20; a=a++; b=++b; cout <
Q6 | A strict type system in which one operand type A is allowed to perform operation with another operand with type B.This feature of type system is called _____________.
Q7 | What is strong type system?
Q8 | chosse the incorrect statement
Q9 | which of the following is not data type in pascal?
Q10 | during implicit conversion is it possible to
Q11 | For defining interface in java --------- keyword is used?
Q12 | which of the not looping statement in c?
Q13 | following is posted loop?
Q14 | choose the correct? I)procedure is a kind of routine that return a value? II)functio is a kind of routine that dose no return any value?
Q15 | exception is throw using the keyword ?
Q16 | which keyword is use to check exception?
Q17 | exception handling is for….
Q18 | FORTRAN uses______________.
Q19 | Execution time languages can be classified are__________.
Q20 | call by name parameter passing method is used in___________.
Q21 | copy restore parameter passing method is used in___________.
Q22 | Grammars are capable to describe the structure of ........and independent ........models.
Q23 | The language syntax is characterized by two arrangements of rules: ....... and.........
Q24 | The distinctin among ......and......standards is to same degree Subjective.
Q25 | ........give another method for characterizing structure of Programming language.