Top 150+ Solved Principles of Programming Languages MCQ Questions Answer

From 61 to 75 of 192

Q. For defining interface in java --------- keyword is used?

a. interface

b. interface

c. inter

d. class_interface

  • b. interface

Q. which of the not looping statement in c?

a. while

b. until

c. double

d. for

  • b. until

Q. following is posted loop?

a. do while

b. for

c. if

d. while

  • a. do while

Q. exception is throw using the keyword ?

a. thrown

b. throw

c. throws

d. throwing

  • b. throw

Q. which keyword is use to check exception?

a. thrown

b. try

c. catch

d. exception

  • c. catch

Q. exception handling is for….

a. handling run time error

b. handling syntax error

c. handling logical error

d. all of these

  • a. handling run time error

Q. FORTRAN uses______________.

a. static allocation strategy

b. stack allocation strategy

c. heap allocation strategy

d. none of these

  • a. static allocation strategy

Q. Execution time languages can be classified are__________.

a. static languages

b. stack-based languages

c. fully dynamic languages

d. all of these

  • d. all of these

Q. call by name parameter passing method is used in___________.

a. c

b. pascal

c. algol

d. none of these

  • c. algol

Q. copy restore parameter passing method is used in___________.

a. c

b. pascal

c. ada

d. none of these

  • c. ada

Q. Grammars are capable to describe the structure of ........and independent ........models.

a. language and computational

b. language and lexical

c. language and syntactic

d. none of above.

  • a. language and computational

Q. The language syntax is characterized by two arrangements of rules: ....... and.........

a. logical and syantax

b. lexical and syntactic

c. lexical and symmetric

d. none of these

  • b. lexical and syntactic

Q. The distinctin among ......and......standards is to same degree Subjective.

a. logical and syantax

b. lexical and symmetric

c. lexical and syntactic

d. none of these

  • c. lexical and syntactic

Q. ........give another method for characterizing structure of Programming language.

a. syntax diagrams.

b. axiomatic and denotational approach.

c. context free grammar

d. all of these.

  • a. syntax diagrams.
Subscribe Now

Get All Updates & News