Screen coordinate layout questions

Simple questions.

1. What is the X and Y layout of the screen coordinates? My initial assumption is that X is horizontal and Y vertical like it was when graphing something in school, but I've seen too many things that don't use that standard.
2. Where is the origin (0,0) located? Is it in the center, bottom left, or upper left?
3. Does the size of the screen change if you make the game window bigger (e.g. maximize it)
4. Are X and Y coordinates absolute to the screen, or are they relative to some object being referenced or does it vary?
1) X is horizontal, Y vertical. X = 0 is left side. Y = 0 is the top.

2) The coords (0, 0) would be top left corner.

3) The size does not change. It stays at the resolution you've set it. Unless you give the player the option to manually change the resolution.

4) They are relative to the object they are used within. So if it's within a window (for text for example), it refers to the borders and size of the window.
Thank you!

Seems like so much of the stuff that I have trouble with is the underlying basics that everyone else seems to just know. Makes it sort of like trying to build a house, roof first. lol
Are X and Y coordinates absolute to the screen, or are they relative to some object
if you go to the control variable command, you'll find that you can get two different XY values - Screen XY and Map XY.
Screen XY is in pixels and absolute to the screen itself
Map XY is in tiles and based on the map (which is only partially on the screen, and each tile is 48x48 pixels unless changed by plugin

Original thread: https://forums.rpgmakerweb.com/threads/screen-coordinate-layout-questions.127254/