wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Syntax Testing

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

Syntax Testing is a type of

a)

Functional Testing

b)

Structural Testing

2.

Initial Step for Syntax Testing?

a)

Identify format.

b)

Define Language

c)

Testing

d)

Debugging

3.

Which type of strings are given to Garbage Condition in Syntax Testing?

a)

Good Strings

b)

Bad Strings

c)

Both Good & Bad

4.

<number> ::= <digit> | <number> <digit>

<digit> ::= 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9

What are the Non-Terminals in above grammar?

a)

<number>

b)

<digit>

c)

0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9

d)

Both <number> <digit>

5.

Which operator is used to write repeated terminals/non-terminals?

a)

( )

b)

{ }

c)

[ ]

d)

None of the Above

6.

Which of the following strings are not accepted

a)

7305689

b)

3105689

c)

9404568

d)

7534343

7.

What is the purpose of Recognizer?

a)

Perform Validity of a Input

b)

Perform Validation of a Input

c)

Generating inputs

d)

accept good strings

8.

Which type of string errors will check in syntax testing

a)

High Level Syntax errors

b)

Low Level Syntax errors

c)

Intermediate Level Syntax errors

d)

Fields Level Syntax errors

9.

What are the primitive methods for design automation?

a)

Word Processor

b)

Capture / Replay

c)

Search & Replace

d)

None of the above

10.

How typical software the syntax is validated

a)

Lexical _analysis + Parsing

b)

Lexical _analysis + Code_production

c)

Lexical _analysis + Parsing + Code_production

d)

Lexical _analysis