25 hours84442 students72 lessons with practice in the browserStart LearningSign Up
In programming, text is called string, and this topic is not that simple. How do you print a phrase that has both single and double quotation marks? How to deal with text at all, since the computer is unaware of any letters! This module deals with various aspects of text writing — from quotation marks and escaping to encoding.
Information can be stored in variables. They allow you to reuse already existing data and eliminate duplicates from your code. In this module, we will show you how to modify and name variables to make your code readable for any developer. You will find that naming a variable can be tricky! Learn how to use variables to simplify complex computations.
Concept of function defines any arbitrary operation in programming. Functions are the bricks from which programmers build systems. In this module, you will learn how to use built-in functions. We will examine the function signatures in the documentation and figure out how to use it. We get familiar with standard libraries which provide thousands of functions. You can’t memorize all the functions, so every programmer should know how to find documentation.
Properties and Methods
Defining your own functions makes writing and maintaining programs much easier. The ability to define functions, for example, allows complex (composite) operations to be merged into a single operation, with the complexity hidden behind a simple function. Learn to write functions and take the first step toward creating truly useful programs. This module will teach you how to name functions (as well as variables and constants) and create your own.
Logical expressions allow you to answer questions that arise during program operation. Is the user authenticated? Is the subscription paid? Is it a leap year? In this module, you will study predicate functions - those who ask a question and answer it - whether it is true or false. Practice writing such functions and move on to more complex logical expressions.
Any code can be repeated thousands, millions, or even billions of times. This offers up a lot of possibilities for building programs and sophisticated systems when combined with the other tools you already know – variables and conditions. Here's an obvious example. In a 500-page book, you must locate a specific phrase. The phrase is fresh in your mind, but you can't recall the page number. The quickest (and most time-consuming) method is to go through each page until you find the right one. Loops are required for such repetitive activities.
Are you ready?
Registration is not required