Q. Which kind of parameters cannot have a DEFAULT value?

  • (A) in,out,in out
  • (B) read,write, append
  • (C) constant,variable,default
  • (D) copy, nocopy,ref
πŸ’¬ Discuss
βœ… Correct Answer: (A) in,out,in out

Q. Which one of the following statements about formal and actual parameters is true?

  • (A) formal and actual parameters must have the same name
  • (B) formal and actual parameters must have different names.
  • (C) a formal parameter is declared within the called procedure, while an actual parameter is declared in the calling environment.
  • (D) an actual parameter is declared within the called procedure
πŸ’¬ Discuss
βœ… Correct Answer: (C) a formal parameter is declared within the called procedure, while an actual parameter is declared in the calling environment.

Q. This resembles usages in object-oriented programming languages like________, C++ and Java.

  • (A) pascal (programming language)
  • (B) free pascal
  • (C) object pascal
  • (D) embarcadero delphi
πŸ’¬ Discuss
βœ… Correct Answer: (C) object pascal

Q. …………………means combine available symbol to create well formed sentences in the language

  • (A) semantics
  • (B) syntax
  • (C) both a & b
  • (D) none of above
πŸ’¬ Discuss
βœ… Correct Answer: (B) syntax

Q. ………………….hints at characteristics of language , which are related to language user.

  • (A) syntax
  • (B) semantics
  • (C) pragmatic
  • (D) rules
πŸ’¬ Discuss
βœ… Correct Answer: (B) semantics

Q. …………………..defines the meaning of the program.

  • (A) algebric semantic
  • (B) axiomatic semantics
  • (C) denotational semantic
  • (D) translation semantics
πŸ’¬ Discuss
βœ… Correct Answer: (B) axiomatic semantics

Q. Which semantics are used in compiler i.e. convert program into machine language

  • (A) algebric semantic
  • (B) axiomatic semantics
  • (C) denotational semantic
  • (D) translation semantics
πŸ’¬ Discuss
βœ… Correct Answer: (D) translation semantics

Q. Which is the subtypes of Pascal and Ada Data Types

  • (A) unstucture
  • (B) pointers
  • (C) structure
  • (D) all of these
πŸ’¬ Discuss
βœ… Correct Answer: (D) all of these

Jump to