info@avatto.com
+91-9920808017
0. Consider the following grammar: stmt → if exp r then else exp r ;stmt 0 exp r → termrelop term term term → id | numberif → a | b | c number → [0...9] where relop is a relational operate (e.g <, >,...) ---O refers to the empty statement, and if, then, else are terminals. Consider a program P following the above grammar containing ten if terminals. The number of control flows paths in P is _____. For example the program if e1 then e2 else e3has 2 controls flow paths e1→ e2 and e1 → e3
128
512
1024
2048
Your email address will not be published. Required fields are marked *
Report
Name
Email
Website
Save my name, email, and website in this browser for the next time I comment.
Comment
Login with Facebook
Login with Google
Forgot your password?
Lost your password? Please enter your email address. You will receive mail with link to set new password.
Back to login