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?
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?"