100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

CSCE 3600 – COMPILER EXAM QUESTIONS AND ANSWERS (GRADED A+)

Rating
-
Sold
-
Pages
3
Grade
A+
Uploaded on
06-12-2024
Written in
2024/2025

CSCE 3600 – COMPILER EXAM QUESTIONS AND ANSWERS (GRADED A+)CSCE 3600 – COMPILER EXAM QUESTIONS AND ANSWERS (GRADED A+)CSCE 3600 – COMPILER EXAM QUESTIONS AND ANSWERS (GRADED A+) Syntax Analyzer - ANSWER-Checks the program for syntax errors. Collects lexemes into parse trees. Parser - ANSWER-What is another name for Syntax Analyzer? Deterministic Finite Automata (DFA) - ANSWER-Flowchart with an initial state, error state and a accepting state with various states along the way to test if pattern matches. Recognizer - ANSWER-What is another name for Deterministic Finite Automata (DFA)? Lexical Analyzer - ANSWER-Scans the source code from left-to-right, character-by-character, and groups these characters into lexemes (sequence of characters that match a pattern), and outputs a sequence of tokens.

Show more Read less
Institution
CSCE 3600 – COMPILER
Module
CSCE 3600 – COMPILER








Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
CSCE 3600 – COMPILER
Module
CSCE 3600 – COMPILER

Document information

Uploaded on
December 6, 2024
Number of pages
3
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

CSCE 3600 – COMPILER EXAM
QUESTIONS AND ANSWERS (GRADED
A+)
Syntax Analyzer - ANSWER-Checks the program for syntax errors. Collects lexemes
into parse trees.

Parser - ANSWER-What is another name for Syntax Analyzer?

Deterministic Finite Automata (DFA) - ANSWER-Flowchart with an initial state, error
state and a accepting state with various states along the way to test if pattern matches.

Recognizer - ANSWER-What is another name for Deterministic Finite Automata (DFA)?

Lexical Analyzer - ANSWER-Scans the source code from left-to-right, character-by-
character, and groups these characters into lexemes (sequence of characters that
match a pattern), and outputs a sequence of tokens.

Lexical Analyzer output - ANSWER-Outputs a sequence of tokens to syntax analyzer

Scanner - ANSWER-Another name for Lexical Analyzer.

Syntax Error - ANSWER-mistakes in using the language. Examples are missing a
comma or a quotation mark, or misspelling a word.

Syntax - ANSWER-Structure of a program

Semantics - ANSWER-Meaning of the program

Static Semantics - ANSWER-rules that can be check at compile time

Runtime Semantics - ANSWER-rules that can be checked only at run time

Semantic Analyzer - ANSWER-takes input from Syntax Analyzer in the form of parse
trees. Determines if the input has a well-defined meaning. Concerned with type
checking and type coercion based on type rules.

Type Checking - ANSWER-the activity of ensuring that the operands of an operator are
of compatible types

Lexical Error - ANSWER-is a mistake in lexeme (e.g., typing "esle" instead of "else" or
missing off one of the quotes in a literal string)
£9.22
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached


Also available in package deal

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
NursingTutor1 West Virginia University
Follow You need to be logged in order to follow users or courses
Sold
1623
Member since
2 year
Number of followers
1073
Documents
18045
Last sold
8 hours ago
Nursing Tutor

Paper Due? Worry not. Hello. Welcome to NursingTutor. Here you\'ll find verified study materials for your assignments, exams and general school work. All papers here are graded A to help you get the best grade. Also, I am a friendly person so, do not hesitate to send a message in case you have a query. I wish you Luck.

3.8

444 reviews

5
210
4
76
3
88
2
21
1
49

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and smashed it. It really can be that simple.”

Alisha Student

Frequently asked questions