Showing posts with label Microsoft. Show all posts
Showing posts with label Microsoft. Show all posts

Saturday, May 12, 2018

Monadic and Dyadic Operators

Monadic and Dyadic Operators
Operators can be monadic or dyadic A monadic operator operates on a single simple statement. Other operators will all be dyadic operators because they operate on two simple statements. Any time you use an operator with a simple statement, even a monadic operator, you create a compound statement.

Compound Statements and Truth Function
All the compound statements we'll look at are called "truth-functional" compound statements. This means that the truth value of the entire statement is determined by the truth value of the individual simple statements that make it up and the function of the operator on those statements.

If you write computer programs, you can think of the simple statements as inputs and the operator as the function that accepts those inputs and does something with them. The output of the entire function is determined by the value of the inputs and the specific operation of the function. Consider this simple program written in pseudocode which will take a string value and change the value to all caps and then print it to the screen:
Function PrintCaps (string A)
{
    A = AllCaps(A);
    Print A
}

Wednesday, April 18, 2018

IntelliJ and Variables

I'm really starting to enjoy using IntelliJ. The design is elegant and intuitive, and the functionality is top notch. Coupled with a complimentary course from Microsoft, I am learning the Integrated Development Environment as well as Java. Such a lovely combination.


Tuesday, April 17, 2018

Hello Java

I am currently enrolled in a variety of computer science courses, one of which is focused entirely on Java. I'm writing this post to serve as a digital mile marker.  As with so many other courses, one of the first tasks was to write, build, and run a Hello World app. The build went fine, however, I could not run the program. I am new to IntelliJ and had to configure the Java Runtime Environment (JRE). It took me longer than I would like to admit. Just the same, here I am, publically admitting it. Why? Because I am a passionate life-long learner, and mistakes are great teachers. That, and I'm really happy that I was able to figure it out. And now, I know how. It's now and forever one more thing that I've learned on my path to becoming a computer scientist. The feeling that I get from those moments of success is a large part of the reason that I am on this current path. I love overcoming such challenges. I cannot wait to be able to envision something and take it from my mind, through the computer, and into cyberspace.





SQL

I've hit a wall in my SQL studies via the Khan Academy, and as such, I am engaging in additional studies prior to attempting to move for...