Go Back   TestMagic Forums > Test preparation > GRE Subject Tests > GRE Computer Science
Register Forum Rules FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 2009 October 5th, 10:38 PM   #1 (permalink)
I JUST got here.
 
Join Date: Sep 2009
Posts: 3
crunchybumble just joined TestMagic.
Operator Precedence question ( 1994 CS GRE exam)

This comes from the '94 exam:

20)

2 + 3 * 4 - 5

Assume that subtraction has precedence over addition and multiplication, which are of equal precedence. Also assume that operators of equal precedence are evaluated from left to right. What is the value of the expression above?

(A) -5
(B) -1
(C) 0
(D) 9
(E) 15

I selected (A), but the answer key(s) I've consulted all suggest that (C) is the correct answer. Would someone please walk me through how (C) is correct?

Also, if there is a document of answers and explanations to this exam floating around, I would appreciate a link or a copy.

Best
crunchybumble is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Google Bookmark this Post!Reddit!
Reply With Quote
Old 2009 October 16th, 07:34 AM   #2 (permalink)
I JUST got here.
 
Join Date: Oct 2009
Posts: 11
quintus just joined TestMagic.
The answer is -5... are you sure you haven't made a mistake reading the answer key? Also, i didn't think they has the CS-GRE back in '94...
quintus is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Google Bookmark this Post!Reddit!
Reply With Quote
Old 2009 October 17th, 04:50 PM   #3 (permalink)
Retired
 
CalmLogic's Avatar
 
Join Date: Feb 2006
Posts: 2,256
CalmLogic radiates success.
Quote:
The answer is -5...
I agree, but I was a psychology major during my undergrad

Quote:
Also, i didn't think they has the CS-GRE back in '94...
They had it even during the late 1980s, if not earlier.
CalmLogic is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Google Bookmark this Post!Reddit!
Reply With Quote
Old 2009 October 18th, 07:36 PM   #4 (permalink)
Eager!
 
Join Date: May 2008
Posts: 39
Enigma211 just joined TestMagic.
Precedence: Subtraction over addition and multiplication
Left to right
((2 + 3) * (4 - 5))
(5*-1)
-5

-5 seems to be the right answer.
Enigma211 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Google Bookmark this Post!Reddit!
Reply With Quote
Old 2009 October 20th, 02:00 AM   #5 (permalink)
I JUST got here.
 
Join Date: Oct 2009
Posts: 11
quintus just joined TestMagic.
Quote:
Originally Posted by CalmLogic View Post
I agree, but I was a psychology major during my undergrad

They had it even during the late 1980s, if not earlier.
Ah. Somehow I was under the impression the subject tests were started around 2000.
quintus is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Google Bookmark this Post!Reddit!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

What you can do
You cannot post new threads
You cannot post replies
You cannot post attachments
You cannot edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 08:10 AM.

Contact TestMagic   TestMagic Forums      Archive   Privacy Statement

TestMagic Locations   Legal   Privacy


SEO by vBSEO 3.2.0
Copyright © 2009 TestMagic
Ad Management by RedTyger

Scroll Up