What Is a Server?
The word server gets thrown around in many different contexts when it comes to computers. Servers are used in gaming to connect players with each other on multiplayer matches; servers are used by businesses to process their emails. There's a…
Binary Search Java: A Guide
How to Write a Binary Search Algorithm in Java Computers do not search through items like humans do. Whereas humans can change their approach to finding something, computers need to be given specific instructions on how to locate a particular…
Bash Functions: A Guide
How to Write a Bash Function A function is a block of code that performs a particular task. Once you have defined a function in a program, it can be reused as many times as you want. Functions are useful…
Java Variables: A Guide for Beginners
How to Use Java Variables What is a variable, you ask? It's an essential concept of programming, and without it developing applications would be significantly more difficult. A variable is a way to label values that you’re using in your…
How to Use Java Classes and Objects
What do we mean when we talk about a class in Java? It’s certainly not a class like you’d have in school, with students and teachers. A class is a blueprint for an object in your code. Java is an…
Java Array: A Guide for Beginners
What if there was a way that you could declare one variable that stores multiple values? There is? That's great. In Java, there's a concept called an array that allows you to do exactly this. You can store multiple values…
if…else Java: A Beginner’s Guide
When you think about it, there’s a lot of “ifs” in our lives. If the grocery store is open, we can go in and buy groceries; otherwise, we cannot. If it’s 12 noon, then it is time to take a…
JavaScript Class: A Guide
JavaScript is based on prototypes. Every time you declare an object, a prototype property is created which extends the properties and methods associated with that object. Over the last few years, many JavaScript developers have sought ways to incorporate object-oriented…
Java String: A Guide for Beginners
When you think of string, you may see a cat playing around with a ball of yarn. It’s true that a ball or yarn is string, but when programmers use the word string they mean something different. In programming, a…
What Is XML?
PDF. JSON. DOC. Those are three of the many different ways in which data is stored on computers. Another one that you might have seen is XML. If you look around your computer, you’ve probably got a few XML files…
JavaScript Array: A Guide for Beginners
Let’s create ourselves a list of fruits. We’ll call our list “fruit”, and add the following values: Banana, melon, grapes. Oh, how I love fruit! While this may sound like a tutorial on shopping lists, we’ve actually just created ourselves…
Bash while Loop: A Beginner’s Guide
While loops. While loops. While loops. I could have written a bash program to write those sentences instead of writing while loops three times over myself. Loops are a foundational component of most programming languages. They allow you to automate…
What are Primary Keys and Foreign Keys?
When you’re storing data in a database, you need to have some way to identify each record that you are storing. Otherwise, it would be impossible to retrieve exactly the right record if it shared the same values as other…
ArrayList Java: A Beginner’s Guide
Are you tired of having to declare the size of an array before you can use it? You’re not the only one, as it’s not always convenient to have to define how many values an array should store before you…
Classes and Objects in Python for Beginners
Today we’re going to be talking about classes. No, we don’t mean school classes. In programming, classes have their own definition. A class is a blueprint created by a coder for an object. It defines the data that can be…
How to Use JavaScript’s getElementById Getter
So, you want to select an element on a web page in JavaScript? That's the specialty of the getElementById method, the so-called king of the element getters in JavaScript. getElementById allows you to select an element based on its ID.…
Python Uppercase: A Step-By-Step Guide
The Python upper() method converts all lowercase letters in a string to uppercase and returns the modified string. The Python isupper() returns true if all of the characters in a string are uppercase, and false if they aren't. Both are…
Python Startswith and Endswith: Step-By-Step Guide
The Python startswith() function checks if a string starts with a specified substring. Python endswith() checks if a string ends with a substring. Both functions return True or False. Often when you’re working with strings while programming, you may want…
How to Convert String to Int C++
In C++ the stoi() function is used to convert data from a string type to an integer type, or int. If using C++03 or earlier, the stringstream class is used to convert string to int. In C++, data types are…
Online Business Degrees 2020
Graduates of an online business degree are able to access a wide range of career options that boast high salaries and strong long-term prospects. With a degree in business, you can enter into careers such as a business owner, financial…
How to Write a Resignation Letter
You’ve just landed your dream job, and you’re ready to formally resign from your current position. To do so, you’ll need to know how to write a resignation letter and submit it to your employer. A resignation letter is used…
Online Computer Science Degrees in 2020
According to the U.S. Bureau of Labor Statistics, employment in information technology occupations is projected to grow 12 percent by 2028, which is “much faster than the average for all occupations.” This growth would add around 546,200 new jobs to…
Online Teaching Degrees 2020
Do you see yourself at the head of a classroom teaching students about a subject you’re interested in? How about a school principal setting education policy or an administrator who works behind the scenes to keep a school running smoothly?…
JavaScript Syntax: A Guide for Beginners
If you’re looking to learn how to write JavaScript, you’ve come to the right place. Every programming language has its own set of rules, just like English. Think about it. When you were in elementary school, you learned the rules…
Writing an Effective Cover Letter: The Ultimate Guide
Picture this. You’ve just found an excellent job opening that meets all of your requirements— competitive salary, great benefits, and the ability to work on exciting projects. This has been your dream, and you know you have the qualifications. But,…
Best Online Math Degrees 2020
With technology becoming an increasingly important part of our lives and data analysis growing in popularity, demand for mathematics experts is skyrocketing. According to the US Bureau of Labor Statistics, employment of mathematicians and statisticians is expected to grow 30…
JavaScript Date and Time: A Guide for Beginners
There’s no escaping the clock, especially in programming. Just as we rely on clocks and watches to keep track of our days, so do programs use time-tracking tools to know what should happen and when. Several applications need to track…
The Best Online College Courses 2020
It would not be surprising if say 10 years from now, people would be opting for 100% online degrees rather than packing lecture halls at a university. While not guaranteed, higher education is definitely moving toward more online-focused programs to…
What is a Relational Database?
You’ve probably come across the term database at some point in your life. Databases are a set of data that is stored on a computer. Hospitals use databases to track the treatments they administer; accountancy firms use databases to keep…
JavaScript Cookies: A Guide
Cookies are both a delicious snack and a crucial part of modern websites. Cookies allow you to store data about a user in the web browser. Cookies often store information like authentication sessions so the browser remembers you have logged…