Page 2 of 3 FirstFirst 123 LastLast
Results 21 to 40 of 41

Thread: Homework

  1. #21
    Community Member
    Join Date
    Jan 2012
    Posts
    4,643

    Default Big word for counting

    Combinatorics is a rather intimidating word, but it seems the focus is on combinations and probabilities, which most of us have dealt with in junior or high school. It is just another way of counting how many ways a set of things can be arranged, more or less. Lots of word problems, though, and they get tricky. Once I figure out which formula I need, the answers come fast.
    http://myaccount.turbine.com

    Je ne suis pas
    DDO Alpha Tester

  2. #22
    Community Member
    Join Date
    Jan 2012
    Posts
    4,643

    Default

    Okay. So I have 4 kinds of bread and 4 kinds of meat. If I can choose only one type from each group, how many different types of sandwiches are possible?

    4 x 4 = 16 different combinations of bread and meat.
    http://myaccount.turbine.com

    Je ne suis pas
    DDO Alpha Tester

  3. #23
    Community Member
    Join Date
    May 2013
    Location
    London, Great Britain
    Posts
    169

    Default

    Quote Originally Posted by Tscheuss View Post
    Okay. So I have 4 kinds of bread and 4 kinds of meat. If I can choose only one type from each group, how many different types of sandwiches are possible?

    4 x 4 = 16 different combinations of bread and meat.
    Heh it reminds me of an episode of 50 Rock. "The Tracy Jordan Meat Machine": You take ONE piece of meat.. and put it inbetween another TWO pieces of meat.. and then The Tracy Jordan Meat Machine fuses it together...

    The Tracy Jordan Meat Machine...MEAT is the new BREAD!

  4. #24
    Community Member
    Join Date
    Jan 2012
    Posts
    4,643

    Default Woot!

    Exams are done. Halfway through this set of classes.

    Can't wait to see what's next.


    Or, actually, I can wait.

    But the professors won't. XP
    http://myaccount.turbine.com

    Je ne suis pas
    DDO Alpha Tester

  5. #25
    Community Member
    Join Date
    Jan 2012
    Posts
    4,643

    Default Final Project?

    Professor provided early warning.

    Time to start planning my final project in Discreet Structures. I have my choice of three topics:

    • Database design using set theory;
    • Combinatorics;
    • Recursive programming.


    All three start with a history, then details and examples. At first, I missed the part about choosing one; I thought I had to do all three.
    http://myaccount.turbine.com

    Je ne suis pas
    DDO Alpha Tester

  6. #26
    Community Member
    Join Date
    Jan 2012
    Posts
    4,643

    Default In the meantime...

    Programming focus is on File I/O, complete with relevant Java classes, methods, and exceptions, oh my.

    Discreet Structures focus is now on Tree Structures and their relevance to search and sort algorithms.

    *sigh*
    http://myaccount.turbine.com

    Je ne suis pas
    DDO Alpha Tester

  7. #27
    Community Member
    Join Date
    Jan 2012
    Posts
    4,643

    Default

    Java file handling looks a bit complicated. It has a File class that doesn't read or write files at all; it handles other file info like path, name, size, last accessed, file vs. directory, etc.

    It looks like the Stream classes do the actual reading and writing, and there are lots of ways to skin these kobolds.

    *sigh*
    http://myaccount.turbine.com

    Je ne suis pas
    DDO Alpha Tester

  8. #28
    Community Member
    Join Date
    Jan 2012
    Posts
    4,643

    Default

    Okay, so my text says that a character stream to file represents '5' as 00000000 00110101, because this binary for 53 is Unicode for the character '5'. No problem. However, the text also says that a byte stream represents '5' as 101, the binary for 5. Wouldn't a byte stream represent 5 as 00000101 because it is a full byte?
    http://myaccount.turbine.com

    Je ne suis pas
    DDO Alpha Tester

  9. #29
    Community Member
    Join Date
    Jan 2012
    Posts
    4,643

    Default A Well Known Game?

    The book is describing how trees can be used to analyze games. The last sentence on the page says that the next example displays a game tree for a well-known and well-studied game. As I turn the page, I am thinking Tic-Tac-Toe, maybe. Then I see the game tree, and the name of the game.

    Nim.

    Next thought: Well-known by whom? This is the first I have heard of this game.

    The book says it is an ancient game, and its current name comes from an archaic English word for 'to steal'.

    Mystery solved. This game is before my time.
    http://myaccount.turbine.com

    Je ne suis pas
    DDO Alpha Tester

  10. #30
    Community Member
    Join Date
    Jan 2012
    Posts
    4,643

    Default

    I have a set of exercises where I need to convert rooted binary trees to algebraic expressions, and vice versa.

    All was going well until the last diagram. When traversed inorder, it terminated with an addition operator instead of a value.

    So my answer looked something like (x(2-y))+(7+z+20+?). I am thinking/hoping that the given tree was in error, because I went back over everything else and could not find any other explanation.
    http://myaccount.turbine.com

    Je ne suis pas
    DDO Alpha Tester

  11. #31
    Community Member
    Join Date
    Jan 2012
    Posts
    4,643

    Default

    Joy.

    Search algorithms, sort algorithms, efficiency of same in big O notation, and...

    wait for it...

    Boolean algebra. Woo-hoo!

    My brain hurts. *sigh*
    http://myaccount.turbine.com

    Je ne suis pas
    DDO Alpha Tester

  12. #32
    Community Member
    Join Date
    May 2013
    Location
    London, Great Britain
    Posts
    169

    Default Aww, never mind pet it could be worse

    Quote Originally Posted by Tscheuss View Post
    My brain hurts. *sigh*

  13. #33
    Community Member
    Join Date
    Jan 2012
    Posts
    4,643

    Default

    Using Java to access a SQL database, converting between number systems, and a PowerPoint presentation on combinatorics - history, modes, applications, etc. Oh, and finals week.
    http://myaccount.turbine.com

    Je ne suis pas
    DDO Alpha Tester

  14. #34
    Community Member
    Join Date
    Jan 2012
    Posts
    4,643

    Default Funny question

    Had a question on final that didn't look right:

    Which SQL keyword is not used with a SELECT statement?

    • FROM
    • INSERT
    • PUT
    • UPDATE


    Does this look strange to anyone else?
    http://myaccount.turbine.com

    Je ne suis pas
    DDO Alpha Tester

  15. #35
    Community Member
    Join Date
    Jan 2012
    Posts
    4,643

    Default Late night

    Spent long hours finding the right flavor of MySQL to put on my machine to create a database to access from a Java program. Of course, the first half of that was to match a specific set of steps in a book; the second half was my own creation for class.

    For another class, I still need to make a presentation on Combinatorics. Then it's all over but the grading - for a week.

    Time for bed.
    http://myaccount.turbine.com

    Je ne suis pas
    DDO Alpha Tester

  16. #36
    Community Member
    Join Date
    Jan 2012
    Posts
    4,643

    Default Combinatorics again.

    I think some of it is simple. We seem to just be working with permutations and combinations. I have most of this assignment sketched out, but the history part is going to be a pain. Not that I can't find anything; I have found too much, and I need to trim it down. The trouble is finding a nice way to do it.

    This guy in class seems to just know this stuff. Like, why is he even in class? He makes it look easy, and I wish I could soak it up like he does. *sigh*

    Btw, magic squares in I-Jing 12th century? Wow.
    http://myaccount.turbine.com

    Je ne suis pas
    DDO Alpha Tester

  17. #37
    Community Member
    Join Date
    Jan 2012
    Posts
    4,643

    Default Hmmm

    Schoolwork.

    Skullwork.

    Skål
    http://myaccount.turbine.com

    Je ne suis pas
    DDO Alpha Tester

  18. #38
    Community Member
    Join Date
    Jan 2012
    Posts
    4,643

    Default Finally

    Big stuff is done and ready to turn in. Nothing left for this last week but some blah, blah, blah.

    Get to start the grind all over again in September.
    http://myaccount.turbine.com

    Je ne suis pas
    DDO Alpha Tester

  19. #39
    Community Member
    Join Date
    Jan 2012
    Posts
    4,643

    Default

    Quote Originally Posted by Tscheuss View Post
    Had a question on final that didn't look right:

    Which SQL keyword is not used with a SELECT statement?

    • FROM
    • INSERT
    • PUT
    • UPDATE


    Does this look strange to anyone else?
    BTW: PUT is not a SQL keyword. Only FROM is used with a SELECT statement, but a SELECT statement can be nested inside an INSERT or UPDATE statement. I still think the question could have been worded better.
    http://myaccount.turbine.com

    Je ne suis pas
    DDO Alpha Tester

  20. #40
    Community Member
    Join Date
    Jan 2012
    Posts
    4,643

    Default Access to Exploit

    • Access - ability to use or modify something.
    • Asset - resource to be protected. Logical (e.g. data) or physical (e.g. HDD).
    • Attack - an act that can compromise or damage an asset.
    • Control - feature or policy for countering/preventing an attack.
    • Exploit - method used to compromise a system, or a documented process for using a vulnerability in a system or software.
    http://myaccount.turbine.com

    Je ne suis pas
    DDO Alpha Tester

Page 2 of 3 FirstFirst 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

This form's session has expired. You need to reload the page.

Reload