Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: What does "play computer" hand trace segment of code mean?

  1. #1
    Junior Member
    Join Date
    Oct 2012
    Posts
    15
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default What does "play computer" hand trace segment of code mean?

    Be able to “play computer” or hand trace segments of code containing variable declarations, input, assignment, decisions, and output statements.
    My exam is coming up and I need to know what play computer means. I know how to program but I don't know what is meant by tracing it. Does it mean writing out the output? Or describe each statement. How would I go about doing this?


  2. #2
    Member
    Join Date
    Jun 2012
    Posts
    41
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default Re: What does "play computer" hand trace segment of code mean?

    Depends on what you are doing. How complicated is your program. I know when I trace that I have like 5 stacks of papers that all mean different things. Plus a stack of papers for every class I ever instance. It's a lot of paper. So much I'd suggest using notepad instead. But for your exam you may not need to do stuff that complicated. "Playing computer" basically means "If the computer were running this program, what would it do? What would it output? What would it look like if I were the computer?"

Similar Threads

  1. "Program execution skips the "if" statement"!
    By antony1925 in forum What's Wrong With My Code?
    Replies: 1
    Last Post: May 7th, 2012, 07:15 AM
  2. Replies: 3
    Last Post: December 7th, 2011, 02:03 AM
  3. Replies: 7
    Last Post: August 13th, 2011, 01:22 AM
  4. What in pan-fried sea snakes is a "proposal computer"?
    By Blackbird in forum What's Wrong With My Code?
    Replies: 1
    Last Post: July 8th, 2011, 09:22 AM
  5. "java.lang.NoSuchMethodError: main" and "fatal exception occured."
    By joachim89 in forum What's Wrong With My Code?
    Replies: 2
    Last Post: January 10th, 2010, 08:35 AM