Click here to Skip to main content
15,893,594 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: How to help students with: taking the assignment too literally Pin
Eddy Vluggen15-Oct-16 2:03
professionalEddy Vluggen15-Oct-16 2:03 
JokeRe: How to help students with: taking the assignment too literally Pin
Marc Clifton15-Oct-16 3:14
mvaMarc Clifton15-Oct-16 3:14 
GeneralRe: How to help students with: taking the assignment too literally Pin
Mark_Wallace15-Oct-16 3:31
Mark_Wallace15-Oct-16 3:31 
GeneralRe: How to help students with: taking the assignment too literally Pin
lopatir15-Oct-16 4:23
lopatir15-Oct-16 4:23 
GeneralRe: How to help students with: taking the assignment too literally Pin
harold aptroot15-Oct-16 7:04
harold aptroot15-Oct-16 7:04 
GeneralRe: How to help students with: taking the assignment too literally Pin
lopatir15-Oct-16 18:06
lopatir15-Oct-16 18:06 
GeneralRe: How to help students with: taking the assignment too literally Pin
harold aptroot16-Oct-16 0:48
harold aptroot16-Oct-16 0:48 
GeneralRe: How to help students with: taking the assignment too literally Pin
WoodyWindy17-Oct-16 0:57
WoodyWindy17-Oct-16 0:57 
While they may need to "learn to see past the literal wording", THIS is not a scenario in which such behavior is generally rewarded. When you are taking a programming class, and your instructor gives instructions that have a clear literal solution, providing anything else is usually a good way to get a bad grade. (Take my word for this as someone who had to challenge any number of professors on this point because of my "creative" solutions to their "literal" assignments. It usually boiled down to - Prof: "This doesn't do what I said!" Me: "Did you actually run my code?")

In other words, the instructions are "translate the for loop into assembly" NOT "provide the most efficient assembly that accomplishes the task represented by this for loop". Depending on the for loop provided, transliteration may indeed be the most efficient implementation. On the other hand, if the provided start, end, and increment values are constants, it might be most efficient to just repeat the code. You didn't provide enough information (to us) to determine which might be the case.

Or "break down this array into 4-byte blocks and XOR them" - starting with the fact that I have no idea WHY you want to do this. What are you actually testing with that particular assignment? Their ability to subdivide an array? Their understanding of XOR? Both? Neither and you just want them to give you a specific 4-byte result?
GeneralRe: How to help students with: taking the assignment too literally Pin
EbenRoux17-Oct-16 0:57
EbenRoux17-Oct-16 0:57 
GeneralRe: How to help students with: taking the assignment too literally Pin
Tony D Great17-Oct-16 3:56
Tony D Great17-Oct-16 3:56 
RantRe: How to help students with: taking the assignment too literally Pin
Oleg A.Lukin16-Oct-16 21:23
Oleg A.Lukin16-Oct-16 21:23 
GeneralRe: How to help students with: taking the assignment too literally Pin
AndrewDavie17-Oct-16 0:56
AndrewDavie17-Oct-16 0:56 
GeneralRe: How to help students with: taking the assignment too literally Pin
Harrison Pratt17-Oct-16 2:04
professionalHarrison Pratt17-Oct-16 2:04 
GeneralRe: How to help students with: taking the assignment too literally Pin
Dimitrios Kalemis17-Oct-16 2:39
Dimitrios Kalemis17-Oct-16 2:39 
GeneralRe: How to help students with: taking the assignment too literally Pin
Gerry Schmitz17-Oct-16 4:10
mveGerry Schmitz17-Oct-16 4:10 
GeneralRe: How to help students with: taking the assignment too literally Pin
harold aptroot17-Oct-16 4:14
harold aptroot17-Oct-16 4:14 
GeneralRe: How to help students with: taking the assignment too literally Pin
Gerry Schmitz17-Oct-16 4:51
mveGerry Schmitz17-Oct-16 4:51 
GeneralRe: How to help students with: taking the assignment too literally Pin
Rowdy Raider17-Oct-16 5:13
Rowdy Raider17-Oct-16 5:13 
GeneralRe: How to help students with: taking the assignment too literally Pin
Greg Lovekamp17-Oct-16 10:33
professionalGreg Lovekamp17-Oct-16 10:33 
GeneralRe: How to help students with: taking the assignment too literally Pin
Kirk 1038982117-Oct-16 6:00
Kirk 1038982117-Oct-16 6:00 
GeneralRe: How to help students with: taking the assignment too literally Pin
mbb0119-Oct-16 23:45
mbb0119-Oct-16 23:45 
Generaldo you use extension methods intensively in your projects? Pin
Southmountain14-Oct-16 14:54
Southmountain14-Oct-16 14:54 
GeneralRe: do you use extension methods intensively in your projects? Pin
Super Lloyd14-Oct-16 15:20
Super Lloyd14-Oct-16 15:20 
GeneralRe: do you use extension methods intensively in your projects? Pin
Vincent Maverick Durano14-Oct-16 15:56
professionalVincent Maverick Durano14-Oct-16 15:56 
GeneralRe: do you use extension methods intensively in your projects? Pin
Midi_Mick14-Oct-16 16:54
professionalMidi_Mick14-Oct-16 16:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.