Computer Knowledge

Programming Languages and Compilers

2,284 Questions

Programming languages and compilers involve the rules, syntax, and semantics used to write and execute software programs. Key areas include scripting languages, object oriented concepts, and parsing algorithms like top down parsers. Practice these computer science questions to build proficiency for technical and computer knowledge exams.

Object oriented languagesScripting languagesCompilers and parsersProgramming syntax

Programming Languages and Compilers Questions

Multiple choice
  1. It ensures that all the initializations are complete.

  2. It is used to set the properties of controls and establish database connections.

  3. Every page control calls this method to output the control's markup.

  4. It is used to clean up tasks and close the database connections.

  5. None of the above

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

This is true about render method in ASP .Net life cycle and after this event, any changes in the controls are ignored.

Multiple choice
  1. It provides cross language integration.

  2. CTS defines the rules that are followed by the different languages.

  3. CTS provides an object oriented model to the implementation of the many programming languages.

  4. It defines the rules that ensures that the data types of objects written in various languages are able to interact among them.

  5. All of the above

Reveal answer Fill a bubble to check yourself
E Correct answer
Explanation

This is the correct choice.

Multiple choice
  1. Java supports structures or unions.

  2. Java allows the use of default arguments.

  3. Java includes preprocessor and support the preprocessor directives.

  4. Java supports typedef.

  5. Java supports use of applets.

Reveal answer Fill a bubble to check yourself
E Correct answer
Explanation

This is the correct option as java supports the concept of applets.

Multiple choice
  1. Abstract window toolkit

  2. Java applet

  3. Java IDL

  4. Java beans

  5. AlarmPresentation

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Java IDL enables objects to interact regardless of whether they are written in the java programming language or another language such as COBOL, C++ or others.

Multiple choice
  1. code generator

  2. scanner

  3. semantic analyzer

  4. parser

  5. intermediate code generator

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Semantic analyzer produces annotated parse tree.