Jump to content

In a good programming class this wouldn't be the type of problem that you would be given often.

true, but the teacher made this problem to help the kids learn, not to make them spit out a number after doing math in their head

the code literally solves nothing

its not even a "problem" its just a solution, and you dont learn anything from solutions

NEW PC build: Blank Heaven   minimalist white and black PC     Old S340 build log "White Heaven"        The "LIGHTCANON" flashlight build log        Project AntiRoll (prototype)        Custom speaker project

Spoiler

Ryzen 3950X | AMD Vega Frontier Edition | ASUS X570 Pro WS | Corsair Vengeance LPX 64GB | NZXT H500 | Seasonic Prime Fanless TX-700 | Custom loop | Coolermaster SK630 White | Logitech MX Master 2S | Samsung 980 Pro 1TB + 970 Pro 512GB | Samsung 58" 4k TV | Scarlett 2i4 | 2x AT2020

 

Link to post
Share on other sites

and jusy fyi, in math class they teach you how to solve equations, they dont teach you how to write down the answers to the equations

and in programming class they teach you how to code equations, not how to print the answers you already know

And just FYI. Maths isn't simply about solving equations. It's about problem solving using mathematics. Which envolvs things such as proofs.

"Physics is like sex: sure, it may give some practical results, but that's not why we do it." Richard Fynman

Link to post
Share on other sites

And just FYI. Maths isn't simply about solving equations. It's about problem solving using mathematics.

which requires you to LEARN how to solve using mathematics first right?

how will you solve anything if you dont know how?

that's exactly what's happening here

 

dumb students make program to give out right answer rather than learning how to code

next when they are asked to code a quadratic solving program they will fail because they avoided learning the basics

NEW PC build: Blank Heaven   minimalist white and black PC     Old S340 build log "White Heaven"        The "LIGHTCANON" flashlight build log        Project AntiRoll (prototype)        Custom speaker project

Spoiler

Ryzen 3950X | AMD Vega Frontier Edition | ASUS X570 Pro WS | Corsair Vengeance LPX 64GB | NZXT H500 | Seasonic Prime Fanless TX-700 | Custom loop | Coolermaster SK630 White | Logitech MX Master 2S | Samsung 980 Pro 1TB + 970 Pro 512GB | Samsung 58" 4k TV | Scarlett 2i4 | 2x AT2020

 

Link to post
Share on other sites

true, but the teacher made this problem to help the kids learn, not to make them spit out a number after doing math in their head

the code literally solves nothing

its not even a "problem" its just a solution, and you dont learn anything from solutions

because that's not what programming is about. Programming is about achieving a goal using the lest effort.

"Physics is like sex: sure, it may give some practical results, but that's not why we do it." Richard Fynman

Link to post
Share on other sites

because that's not what programming is about. Programming is about achieving a goal using the lest effort.

no, not in school

in school you LEARN about programming so you can use those skills in the future to achieve your goal with less effort

if you dont know how to do loops or multiply values you will never get anywhere in the programming world

 

the teacher is trying to teach their students loops and basic math functions in programming

the teacher is not trying to find find values of which the square sum if its digits is equal to the number

 

do you understand the difference between LEARNING and writing an answer?

NEW PC build: Blank Heaven   minimalist white and black PC     Old S340 build log "White Heaven"        The "LIGHTCANON" flashlight build log        Project AntiRoll (prototype)        Custom speaker project

Spoiler

Ryzen 3950X | AMD Vega Frontier Edition | ASUS X570 Pro WS | Corsair Vengeance LPX 64GB | NZXT H500 | Seasonic Prime Fanless TX-700 | Custom loop | Coolermaster SK630 White | Logitech MX Master 2S | Samsung 980 Pro 1TB + 970 Pro 512GB | Samsung 58" 4k TV | Scarlett 2i4 | 2x AT2020

 

Link to post
Share on other sites

which requires you to LEARN how to solve using mathematics first right?

how will you solve anything if you dont know how?

that's exactly what's happening here

dumb students make program to give out right answer rather than learning how to code

next when they are asked to code a quadratic solving program they will fail because they avoided learning the basics

WHICH IS WHY THIS IS A BAD PROBLEM. Forcing kids to take the long way is counterproductive. Showing kids how it's much easier to make a more complex algorithm for a different problem would be much better.

"Physics is like sex: sure, it may give some practical results, but that's not why we do it." Richard Fynman

Link to post
Share on other sites

WHICH IS WHY THIS IS A BAD PROBLEM. Forcing kids to take the long way is counterproductive. Showing kids how it's much easier to make a more complex algorithm for a different problem would be much better.

ok so why are you arguing with me?

why are you derailing the thread so much just to prove my point?

like srsly

go find someone else to troll

NEW PC build: Blank Heaven   minimalist white and black PC     Old S340 build log "White Heaven"        The "LIGHTCANON" flashlight build log        Project AntiRoll (prototype)        Custom speaker project

Spoiler

Ryzen 3950X | AMD Vega Frontier Edition | ASUS X570 Pro WS | Corsair Vengeance LPX 64GB | NZXT H500 | Seasonic Prime Fanless TX-700 | Custom loop | Coolermaster SK630 White | Logitech MX Master 2S | Samsung 980 Pro 1TB + 970 Pro 512GB | Samsung 58" 4k TV | Scarlett 2i4 | 2x AT2020

 

Link to post
Share on other sites

ok so why are you arguing with me?

why are you derailing the thread so much just to prove my point?

like srsly

go find someone else to troll

i believe he gave the best answer for the problem he was given. That is the point I've been trying to make.

And we seem to be on the rails.

"Physics is like sex: sure, it may give some practical results, but that's not why we do it." Richard Fynman

Link to post
Share on other sites

i believe he gave the best answer for the problem he was given. That is the point I've been trying to make.

And we seem to be on the rails.

ok, well I think the best answer is the answer intended by the teacher, which is a well coded algorithm to help the students learn loops and math functions.

 

instead, the student took a non-intended shortcut to avoid doing the required work and in turn learn nothing useful (since they already know how to use cout)

 

therefore the solution to that problem is useless to their learning, the intended purpouse

I would give it a 0

NEW PC build: Blank Heaven   minimalist white and black PC     Old S340 build log "White Heaven"        The "LIGHTCANON" flashlight build log        Project AntiRoll (prototype)        Custom speaker project

Spoiler

Ryzen 3950X | AMD Vega Frontier Edition | ASUS X570 Pro WS | Corsair Vengeance LPX 64GB | NZXT H500 | Seasonic Prime Fanless TX-700 | Custom loop | Coolermaster SK630 White | Logitech MX Master 2S | Samsung 980 Pro 1TB + 970 Pro 512GB | Samsung 58" 4k TV | Scarlett 2i4 | 2x AT2020

 

Link to post
Share on other sites

ok, well I think the best answer is the answer intended by the teacher, which is a well coded algorithm to help the students learn loops and math functions.

instead, the student took a non-intended shortcut to avoid doing the required work and in turn learn nothing useful (since they already know how to use cout)

therefore the solution to that problem is useless to their learning, the intended purpouse

I would give it a 0

I believe that it would be unfair to mark a student down for completing the task given. The mark would be give based on his problem solving and what steps he took/decisions made when planning and writing the code.

That is all

"Physics is like sex: sure, it may give some practical results, but that's not why we do it." Richard Fynman

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×