Login
Register
@
Dark Mode
Profile
Edit my Profile
Messages
My favorites
Register
Activity
Q&A
Questions
Unanswered
Tags
Subjects
Users
Ask
Previous Years
Blogs
New Blog
Exams
Dark Mode
Recent questions tagged operator-precedence
0
votes
3
answers
31
precedence in grammer
iita
asked
in
Compiler Design
Dec 20, 2016
by
iita
533
views
compiler-design
operator-grammar
operator-precedence
ace-test-series
0
votes
1
answer
32
made Easy compiler test q 10
correct answer
Vasu_gate2017
asked
in
Compiler Design
Dec 14, 2016
by
Vasu_gate2017
318
views
compiler-design
parsing
operator-grammar
operator-precedence
made-easy-test-series
0
votes
2
answers
33
MADE EASY TEST SERIES
Assume , -, + and / are operators. Precedences and associativity given for those operators as following: 1. has highest precedence among all operators and it is left associative 2. -, + and / are having equal precedence and they are right associative. Using as ... / is Division. The output of the following expression : 10 10 - 5 + 15 - 5 10 / 5 is ________.
User007
asked
in
Compiler Design
Oct 6, 2016
by
User007
1.2k
views
compiler-design
expression-evaluation
operator-precedence
numerical-answersm
made-easy-test-series
0
votes
1
answer
34
Please help in solving this question a veii big doubt
LavTheRawkstar
asked
in
Compiler Design
Sep 25, 2016
by
LavTheRawkstar
1.3k
views
compiler-design
parsing
operator-precedence
descriptive
test-series
0
votes
0
answers
35
UGC NET CSE | June 2010 | Part 2 | Question: 33
Consider the following left associative operators in decreasing order of precedence : - subtraction (highest precedence) * multiplication $ exponentiation (lowest precedence) What is the result of the following expression ? 3 – 2 * 4 $ | * 2** 3 $-61$ $64$ $512$ $4096$
makhdoom ghaya
asked
in
Programming in C
Sep 16, 2016
by
makhdoom ghaya
1.4k
views
ugcnetcse-june2010-paper2
programming
operator-precedence
0
votes
2
answers
36
UGC NET CSE | December 2010 | Part 2 | Question: 12
The value of the following expression $(13 / 4 * 3) % 5 + 1$ is $5.75$ $2.95$ $1.4875$ $5$
makhdoom ghaya
asked
in
Programming and DS
Sep 5, 2016
by
makhdoom ghaya
3.8k
views
ugcnetcse-dec2010-paper2
programming-in-c
operator-precedence
0
votes
1
answer
37
UGC NET CSE | December 2011 | Part 2 | Question: 36
$X - = Y + 1$ means $X = X – Y + 1$ $X = -X - Y - 1$ $X = -X + Y + 1$ $X= X - Y - 1$
makhdoom ghaya
asked
in
Programming and DS
Aug 20, 2016
by
makhdoom ghaya
688
views
ugcnetcse-dec2011-paper2
programming-in-c
operator-precedence
2
votes
2
answers
38
compilation error
#include<stdio.h> int main(void) { int p=3,q=4,y,z; (p>q?y=5:z=10); printf(" %d %d ",y,z); return 0; } Compile Info prog.c: In function 'main': prog.c:5:15: error: lvalue required as left operand of assignment (p>q?y=5:z=10); ^ z is already a variable ,then why it is saying lvalue required ??
indrajeet
asked
in
Programming in C
Jul 20, 2016
by
indrajeet
430
views
programming-in-c
interview
operator-precedence
0
votes
2
answers
39
pre/post inc/dec
what is the order of evaluation (by precedence and associativity) int x=7,y=6,z; z=++x + y++ - ++y + x++ - --y + --x + x-- + y--; sorry i give much lengthy expression but my intension is to clear my doubt about the fact: pre/post which one evaluate 1st. scan expression from right to left or left to right. inc/dec which one evaluate first.
Sourabh Kumar
asked
in
Programming in C
May 20, 2016
by
Sourabh Kumar
518
views
operator-precedence
–1
vote
2
answers
40
Associative
shivanisrivarshini
asked
in
Compiler Design
Jan 31, 2016
by
shivanisrivarshini
348
views
compiler-design
operator-grammar
operator-precedence
test-series
1
vote
3
answers
41
operator grammar
Q). Consider the following operator grammar $S \rightarrow BbA\mid bA \mid bBA$ $B \rightarrow b \mid c$ $A \rightarrow a $ Which of the following precedence relation is correct from above grammar? Assume $x<y$ is used to represent $y$ has highest precedence than $x$ and in expression $y$ ... $a <- b$ b). $c < a$ c). Both (a) and (b) d). None of these.
Jhunjhunuwala
asked
in
Compiler Design
Jan 28, 2016
by
Jhunjhunuwala
3.5k
views
compiler-design
operator-grammar
operator-precedence
test-series
19
votes
2
answers
42
TIFR CSE 2012 | Part B | Question: 8
Consider the parse tree Assume that $*$ has higher precedence than $+$, $-$ and operators associate right to left (i.e $(a + b + c= (a + (b + c)))$. Consider $2 + a - b$ $2 + a - b * a + b$ ... The parse tree corresponds to Expression (i) Expression (ii) Expression (iv) only Expression (ii), (iii), and (iv) Expression (iii) and (iv) only
makhdoom ghaya
asked
in
Compiler Design
Oct 31, 2015
by
makhdoom ghaya
2.7k
views
tifr2012
compiler-design
parsing
operator-precedence
27
votes
6
answers
43
GATE CSE 2000 | Question: 2.21, ISRO2015-24
Given the following expression grammar: $\begin{align} E &\to E * F \mid F + E \mid F \\[1em] F &\to F - F \mid id \end{align}$ Which of the following is true? $*$ has higher precedence than $+$ $-$ has higher precedence than $*$ $+$ and $-$ have same precedence $+$ has higher precedence than $*$
Kathleen
asked
in
Compiler Design
Sep 14, 2014
by
Kathleen
10.7k
views
gatecse-2000
operator-precedence
normal
compiler-design
isro2015
Page:
« prev
1
2
Subscribe to GATE CSE 2024 Test Series
Subscribe to GO Classes for GATE CSE 2024
Quick search syntax
tags
tag:apple
author
user:martin
title
title:apple
content
content:apple
exclude
-tag:apple
force match
+apple
views
views:100
score
score:10
answers
answers:2
is accepted
isaccepted:true
is closed
isclosed:true
Recent Posts
Post GATE 2024 Guidance [Counseling tips and resources]
GATE CSE 2024 Result Responses
[Project Contest] Pytorch backend support for MLCommons Cpp Inference implementation
Participating in MLCommons Inference v4.0 submission (deadline is February 23 12pm IST)
IIITH PGEE 2024 Test Series by GO Classes
Subjects
All categories
General Aptitude
(3.5k)
Engineering Mathematics
(10.4k)
Digital Logic
(3.6k)
Programming and DS
(6.2k)
Algorithms
(4.8k)
Theory of Computation
(6.9k)
Compiler Design
(2.5k)
Operating System
(5.2k)
Databases
(4.8k)
CO and Architecture
(4.0k)
Computer Networks
(4.9k)
Artificial Intelligence
(79)
Machine Learning
(48)
Data Mining and Warehousing
(25)
Non GATE
(1.4k)
Others
(2.7k)
Admissions
(684)
Exam Queries
(1.6k)
Tier 1 Placement Questions
(17)
Job Queries
(80)
Projects
(11)
Unknown Category
(870)
64.3k
questions
77.9k
answers
244k
comments
80.0k
users
Recent questions tagged operator-precedence
Recent Blog Comments
category ?
Hi @Arjun sir, I have obtained a score of 591 in ...
download here
Can you please tell about IIT-H mtech CSE self...
Please add your admission queries here:...