Time Left - 05:00 mins
GATE CS 2018 - Compiler Design Quiz- 1 (Lexical Analysis)
Attempt now to get your rank among 1002 students!
Question 1
Match the following according to input (from the left column) to the complier phase (in the right column) that processes it.
Question 2
Which of the following is not done by lexical analyzer.
Question 3
Consider the following program
1: main()
2: { int x=10;
3: if(x<20;
4: else
5: y=20;
6: }
When lexical analyser scanning the above program, find the line number where the l lexical error can be produced?
1: main()
2: { int x=10;
3: if(x<20;
4: else
5: y=20;
6: }
When lexical analyser scanning the above program, find the line number where the l lexical error can be produced?
Question 4
Which of the following is not a functionality of C compiler?
Question 5
Dynamic linking can cause security concerns because
- 1002 attempts
- 10 upvotes
- 21 comments
Apr 9GATE & PSU CS