¡GoConqr estrena diseño! Cuéntanos qué te parece.

Test

test1 4

Austin Stockhecke 11 preguntas

Hacer el test

Preguntas del test (11)

  1. 1What constitutes the stages of the compilation process?
    1. AFeasability study, system, design, and testing
    2. BImplementation and documentation
    3. CLexical analysis,syntax, Analysis and code generation
    4. DNone of the mentioned
  2. 2The lexical analyzer takes ________ as input and produces a stream of __________ as output
    1. ASource program, tokens
    2. BToken, source programs,
    3. CEither of the two
    4. DNone of the mentioned
  3. 3The scanner generator takes _________ as input and produces _________ as output.
    1. AToken, scanner
    2. BRegular expressions, tokens
    3. CRegular expressions, scanner
    4. DLexeme, scanner
  4. 4Which of the following is not a feature of compiler?
    1. AScan the entire program first and translate into machine code
    2. BTo remove syntax errors
    3. CSlow for debugging
    4. DExecution time is more
  5. 5A programmer, by mistake writes a program to multiply two numbers instead of dividing them, how can this error be detected?
    1. ACompiler
    2. BInterpreter
    3. CCompiler or intepreter
    4. DNone of the mentioned
  6. 6Which of the following pairs of regular expressions are equivalent?
    1. A1(01)* and (10)*1
    2. Bx(xx)* and (xx)*x
    3. Cx+ and x+x*
    4. DAll of the mentioned
  7. 7The language of regular expression (x | y)(x | y) is the set _________
    1. A{xy, xy}
    2. B{xx, xy, yx, yy}
    3. C{x, y}
    4. D{x, y, xy}
  8. 8The language of the regular expression x | y is the set
    1. A{x, y}
    2. B{xy}
    3. C{x}
    4. D{y}
  9. 9An NFA's transition function returns
    1. AA boolean value
    2. BA state
    3. CA set of states
    4. DAn edge
  10. 10Can a DFA simulate NDFA?
    1. ANo
    2. BYes
    3. CSometimes
    4. DDepends on NDFA

Información

Descripción
Test sobre test1 4, creado por Austin Stockhecke el 01/10/2018.
Idioma
English
Visitas
1
Valoración
Aún sin valoraciones
Valora este test
Valora este test

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?