I’m not looking for answers. Just directions on what keywords for lectures on the topic. I can find CS stuff when looking, but that feels too esoteric for high school geometry?

4 points

X and Y are not geometry in this instance. They are variables.

As an example if X is 5 and Y is 10, when reading line 30 the code will be False and the program will do the next step of running line 40. Now, as X (5) is less than Y (10) the statement is True and the THAN operation is executed, which will skip straight to line 70. Finally in the console of this script/app the program will write out the variables of X and Y then finally it will close.

permalink
report
reply
2 points

Since the exercise doesn’t explain it very well, maybe should also note that in:

10 INPUT X
20 INPUT Y
...

The “10” and “20” etc. are just the line numbers. The lines are numbered in steps of 10 for historic reasons. So, the actual content of the line is just INPUT X and INPUT Y etc…

permalink
report
parent
reply
1 point

As others said, this isn’t geometry per se, and it’s from an ancient albeit simple programming language. But really, it’s just a logic problem- you can read this aloud in plain English and you can solve it in plain English too. You can type it into an online basic interpreter to play with it too- that’s how many, many people got into computers back in the day. https://repl.endbasic.dev

permalink
report
reply
1 point

As the other person already said, this isn’t specific to geometry. The best keyword I can think of is “algorithm”. The lines in the exercise are a relatively simple algorithm.

If you’re in a geometry class, your teacher might be preparing you for something like this: https://en.wikipedia.org/wiki/Logo_(programming_language)
Basically, it is a fun way of using algorithms to draw geometry.

But because it’s very visual and very simple, it’s actually also a good way to get a better grip on algorithms. So, even if your teacher doesn’t plan to use it, you could benefit from playing around with it, if the exercise in the screenshot is giving you pause.
There’s for example this website, where you can do some exercises with it: https://turtleacademy.com

permalink
report
reply
1 point

I’m gonna have to go over it when I get home, but it’s part of the “Logic and Proof” section of Geometry. It feels really out place and part of a big grade in a test. I do have time to get it right though.

permalink
report
parent
reply
1 point

Hmm, geometric proofs are a thing that exists, but they’re rare and at an entry level, you don’t need algorithms for them. So, I’m guessing this Logic and Proof section won’t actually have much to do with geometry. They probably just needed to fit it into the curriculum somewhere…

permalink
report
parent
reply
2 points

Talked to a programming friend and we decipher the problems. Now I don’t feel bad. It was really poorly worded and he noticed that even if I answer the questions they way they’re asked, I’ll get a syntax error.

permalink
report
parent
reply
0 points
*
Deleted by creator
permalink
report
reply

Homework Help

!hwh@lemmy.world

Create post

Welcome to the Homework Help community on Lemmy.World!

The objective of this community is to connect those who need help with their school work with those who can assist with answers. Ask for help with your homework here.

Before asking:

  • Your post title should be formatted to include your level/grade, subject, topic of study, and a specific question. For example:

[Grade 8 Math: Quadratic Equations] How to factorise ax2 + bx + c?

[University Chemistry: Titration] What is my qs?

[AS Level English: Essay Writing] Should all adverts be factual?

  • Include any instructor prompts in the body of your post. What does your instructor want you to accomplish?

  • You must attempt to answer the question asked on your own before asking for help. Include your attempts in the body of the post and/or as an image. We will not do your homework for you.

  • When your question has been answered, please edit the post’s title to include “[Solved]”. Make sure you have and understand the answer you need before you mark your question solved.

Before answering:

  • You are expected to read the entire question asked, including any supporting information provided by the student and/or instructor, before attempting to answer the question.

  • Top-level comments should be on-topic. Banter, light-hearted humor are good and welcome, but the focus here is education, not entertainment.

  • The downvote button is not an “I disagree” button. The downvote button is for “This comment does not contribute to the discussion.” It is entirely possible to disagree with a comment that contributes to the discussion. This is especially important to keep in mind when students make mistakes in their replies.

Bannable offenses:

  1. We will not facilitate cheating, plagiarism or otherwise violate academic integrity.

  2. Do not solicit paid service, either as a buyer or a seller of said service.

  3. No advertising of any kind. No spam.

  4. Don’t be an asshole: No bigotry of any kind, no personal attacks, be reasonable, and remember the human on the other side of the screen.

Community stats

  • 17

    Monthly active users

  • 1

    Posts

  • 7

    Comments

Community moderators