Systems Programming & Operating System | Language Translator MCQ

Language Translator MCQ Part 1

  1. Java and Perl are example of ________languages

A. Interpreted

B. Linked

C. Hybrid

D. Script

C. Hybrid

  1. __________is low level language

A. Assembly Language

B. High Level Language

C. Machine Language

D. Human Language

A. Assembly Language

  1. ________is used to process language

A. Interpreter

B. All of the these

C. Assembler

D. Compiler

A. Interpreter

  1. _________language is oldest.

A. Python

B. Ruby

C. PHP

D. Perl

D. Perl

  1. Program is in execution is called as _

A. CPU

B. Process

C. None Of These

D. Memory

B. Process

  1. _________is a sequence of instruction which gives the desired output

A. Program

B. Flowchart

C. Algorithm

D. Pseudo Code

A. Program

  1. __________language is understood by computer without translation

A. High Level Language

B. Assembly Language

C. Human Language

D. Machine Language

D. Machine Language

  1. Language translator is _

A. Application Software

B. System Software

C. Hardware

D. None Of These

B. System Software

  1. Assembly language is __

A. Low Level Language

B. None Of These

C. High Level Language

D. Internet Based Language

A. Low Level Language

  1. _________language is newest

A. Lisp

B. Dlufy

C. C

D. Python

C. C

Language Translator MCQ Part 2

  1. _______is the lexemes

A. Identifiers

B. Keyword

C. All Of These

D. Constants

C. All Of These

  1. ________is the process of forming tokens from an input stream of character

A. All Of The these

B. Liberalization

C. Tokenization

D. Characterization

C. Tokenization

  1. ________grammar defines the lexical syntax

A. Regular Grammar

B. Lexical Grammar

C. Syntactic Grammar

D. Context Free

B. Lexical Grammar

  1. _______is used in compile based on FSA

A. Code Optimization

B. Assembler

C. Code Generation

D. Lexical Analysis

D. Lexical Analysis

  1. _______is known as object program.

A. Translation Of High Level Language Into Machine Language

B. Program To Be Program Written In Machine Language

C. None Of These

D. Both option A and B

A. Translation Of High Level Language Into Machine Language

  1. _______is not the case sensitive language

A. C

B. Java

C. C++

D. Python

B. Java

  1. _______is used to implement symbol table which is based on property of locality of reference

A. Linear List

B. Linked List

C. Hash Table

D. Search Tree

C. Hash Table

  1. _______is used in compiler for concept of grammar

A. Assembler

B. Code Optimization

C. Code Generation

D. Parser

D. Parser

  1. _______is the output of lexical analyzer

A. Set Of Constant

B. Syntax Tree

C. Set Of Tokens

D. A Set Of RE

C. Set Of Tokens

  1. Which one of the following is correct sentence for operator precedence parsing

A. For All Pair Of Non Terminals

B. None Of These

C. For All Pair Non Terminal

D. To Delimit The Handle

C. For All Pair Non Terminal

Language Translator MCQ Part 2

  1. ____are expected to parse the whole code

A. None of these

B. Parser

C. Syntax Analyzer

D. Assembler

B. Parser

  1. _______is used to generate lexer

A. All Of These

B. DRASTAR

C. Flex

D. ANTLR

A. All Of These

  1. _____takes groups tokens of source program into grammatical production

A. None of these

B. Parser

C. Assembler

D. Syntax Analyzer

D. Syntax Analyzer

  1. _______is also known as syntax analyzer

A. Hierarchical Parsing

B. Hierarchical Analysis

C. None of these

D. Hierarchical Parsing And Hierarchical Analysis

D. Hierarchical Parsing And Hierarchical Analysis

  1. Which one of the following are two important lexical categories

A. Comment

B. None Of These

C. Both White Space And Comment

D. White Space

C. Both White Space And Comment

  1. ______is used in lexeme to produce a value
    A. Printer

B. Evaluator

C. None Of These

D. Scanner

D. Scanner

  1. _______phase is the compiler which is syntax analysis
    A. First

B. Second

C. Third

D. None of these

B. Second

  1. ________is used to handle lexical analyser Unicode

A. Jflex

B. Java Cc

C. Quex

D. All Of The Mentioned

D. All Of The Mentioned

  1. ______is the output of lexical analyzer

A. None Of These

B. Machine Code

C. Stream Of Token

D. Parser Tree

C. Stream Of Token

  1. _______are generator by leader generator

A. Lexer

B. Parser

C. None Of These

D. Assembler

A. Lexer

Leave a Comment