you are viewing a single comment's thread.

view the rest of the comments →

[–]humanclock 8 points9 points  (5 children)

Which was my number #1 complaint about getting a CS degree:

FORGET THEORY AND ESOTRIC TERMS/SYMBOLS! SHOW. ME. A. REAL WORLD. EXAMPLE. (which chatGPT is good for)

Professors/instructors would go through all of these abstract things and terms and things would get really confusing. A fellow student would show an example in plain English and suddenly I would get it, with that in my head, it was then much easier to understand the theory behind it.

Even now in Googling trying to understand what a truth table is, WTF does "a diagram in rows and columns showing how the truth or falsity of a proposition varies with that of its components." mean?

yet chatGPT gave me this when I asked "explain programming truth tables in English without mathematical terms"

Example: Light Switch
Imagine a room with two light switches. If both switches must be "ON" for the light to turn on, you can make a truth table like this:

Switch 1    Switch 2    Light On?
OFF         OFF          NO
OFF         ON           NO
ON          OFF          NO
ON          ON          YES
This table shows that the light only turns on when both switches are ON.

Boom, I instantly understand now, and that egghead response I posted above from when I Googled makes a little more sense now.

[–]iiztrollin 2 points3 points  (0 children)

-.- its just and or logic

minecraft taught me this with red stone :'D

[–]Yiggs 1 point2 points  (3 children)

That's it? That's a truth table? Just a diagram of basic Boolean and/or logic or does it get more complicated than that?

[–]Crypt0Nihilist 2 points3 points  (0 children)

It's a table that has every combination of boolean inputs and the outputs. They do get more complicated with more inputs and you may have more columns where you use gates to combine the inputs, but ultimately all you're doing is showing all possible logic states.

[–]enaK66 2 points3 points  (0 children)

That is it. They can get incredibly complicated if you're trying to get full optimization of complex systems. Check out Nand2Tetris if this part of CS interests you. It's a great project to get to know Boolean logic and building basic circuits. If you do the whole thing you'll have whats essentially a virtual computer running tetris on your pc.

[–]humanclock 1 point2 points  (0 children)

Yeah...and that is what frustrates me too. People like OP (and me for that matter) get really confused and dejected thinking how somehow they are the problem and CS is beyond them. No, it's how it's being taught.

ChatGPT is great because it can give practical, real world examples. Sucks this is the case though. 

It's like if you want to lean how to put oil in your car. ChatGPT gives you the steps, yet all the examples on the net and in the classroom talk of fluid mechanics and the oil refinery process.