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

CSCI 461 Exam Questions With 100- Verified Answers.docx

Rating
-
Sold
-
Pages
39
Grade
A+
Uploaded on
19-12-2025
Written in
2025/2026

CSCI 461 Exam Questions With 100- Verified A

Institution
CS,.
Course
CS,.











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

Written for

Institution
CS,.
Course
CS,.

Document information

Uploaded on
December 19, 2025
Number of pages
39
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

CSCI 461 Exam Questions With 100%
Verified Answers
Which of the following can be the root of a grammar parse tree?


a non-terminal symbol


a production


a start symbol


a token -
correct answer ✅a non-terminal symbol


Given the following grammar:
<S> ::= <NP> <V> <NP>
<NP> := <A> <N>
<V> := loves | chases | eats
<N> := dog | cat | rat
<A> := a | the
"the cat hates the dog" is a sentence (i.e <S>) (" " not included)


True

,CSCI 461 Exam Questions With 100%
Verified Answers
False -
correct answer ✅False


Which of the following of a production means that the something
inside can be repeated any number of times (zero or more)?


<something>


{ something }


(something)


[something] -
correct answer ✅{ something }


The ________________ of a programming language defines what
the program's behavior and meaning is. -
correct answer ✅semantics


Which of the following has unique parse tree for expression a+b+c
with meaning of (a+b)+c?

,CSCI 461 Exam Questions With 100%
Verified Answers
<exp> ::= <exp> + <var> | <var>
<var> ::= a | b | c


<exp> ::= <var> + <exp> | <var>
<var> ::= a | b | c


<exp> ::= a | b | c | <exp>+<exp> -
correct answer ✅<exp> ::= <exp> + <var> | <var>


<var> ::= a | b | c


Which of the following is postfix notation?


+ab


ab+


a+b


(a+b == 2)? x:y; -
correct answer ✅a b +

, CSCI 461 Exam Questions With 100%
Verified Answers

Based on the following grammar, what is the meaning of expression
a + b*c**a?




<exp> := <exp> + <exp> | <powexp>
<powexp> ::= <powexp> ** <powexp> | <mulexp>
<mulexp> ::= <mulexp> * <mulexp> | (<exp>) | a | b | c




((a+b)*c)**a


a+((b*c)**a)


a+(b*(c**a)) -
correct answer ✅a+((b*c)**a)


The act of associating properties with names is called
_________________


assignment

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.
Cindellera stuvia
Follow You need to be logged in order to follow users or courses
Sold
111
Member since
1 year
Number of followers
2
Documents
10567
Last sold
2 days ago

4,0

24 reviews

5
10
4
6
3
6
2
1
1
1

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 notes.

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

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

Student with book image

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

Alisha Student

Frequently asked questions