Challenge: One Code Problem Per Daycreated at 843 There's a CS program course where we have to solve one coding problem every day.This course is really exciting.When solving the problems, |
Importance of High School Internshipupdated at 7,405 High school internships are incredibly important for students.These internships allow students to step outside the classroom and experience the real world.They get to see how what they’ve learned applies to actual jobs and situations.This is a great way f... |
Python Tutorials for AP Computer Science Principles, updated at |
Java Tutorials associated with AP Computer Science Aupdated at 7,397 As you set sail on your journey through AP Computer Science A, |
Machine Learning Types and Programming Languagesupdated at 7,069 In the area of Machine Learning Technology, |
Code Chronicles - A Caffeine-Fueled Journey into Data Software Engineeringupdated at 7,185 Interning in Data Software Engineering was like entering a realm where coding meets caffeine-fueled euphoria.The excitement bubbled within me like an over-caffeinated potion as I delved into the world of zeros and ones.“Excitement is like caffeine for the... |
Java Inner Classesupdated at 6,936 In Java, |
Java Polymorphismcreated at 6,960 Polymorphism means "many forms", |
Java Inheritance (Subclass and Superclass)updated at 7,054 In Java, |
Java Packagesupdated at 7,066 Java Packages & API.A package in Java is used to group related classes.Think of it as a folder in a file directory.We use packages to avoid name conflicts, |
Java Classes and Objectsupdated at 6,962 Java is an object-oriented programming language.Everything in Java is associated with classes and objects, |
Java Recursionupdated at 7,071 Recursion is the technique of making a function call itself.This technique provides a way to break complicated problems down into simple problems which are easier to solve.Recursion may be a bit difficult to understand.The best way to figure out how it wor... |
Java Scopeupdated at 6,949 In Java, |
Java Methodsupdated at 6,956 A method is a block of code which only runs when it is called.You can pass data, |
Java While Loop/Do While Loop/For Loop/For-Each Loop/Break/Continueupdated at 7,546 Loops can execute a block of code as long as a specified condition is reached.Loops are handy because they save time, |
Java Switch Statementsupdated at 7,218 Instead of writing many if.else statements, |
Java Short Hand If...Else (Ternary Operator)updated at 7,377 In the vast world of programming, |
Java If ... Elseupdated at 7,214 You already know that Java supports the usual logical conditions from mathematics::Less than: a < b, |
Java Mathupdated at 7,277 In the realm of Java programming, |
Java Variablesupdated at 7,248 Variables are containers for storing data values.In Java, |
The Print() Methodupdated at 7,046 Print Text.You learned from the previous chapter that you can use the println() method to output values or print text in Java:You can add as many println() methods as you want.Note that it will add a new line for each method:Double Quotes.When you are work... |
Java Syntaxupdated at 7,270 In the vast landscape of programming languages, |
Java Getting Startedupdated at 7,223 Some PCs might have Java already installed.To check if you have Java installed on a Windows PC, |
What is Java?created at 6,974 With a population of 151.6 million people, |
Python Modulesupdated at 6,962 What is a Module?.Consider a module to be the same as a code library.A file containing a set of functions you want to include in your application.Create a Module.To create a module just save the code you want in a file with the file extension .py:Use a Mod... |
Python Scopeupdated at 6,947 A variable is only available from inside the region it is created.This is called scope.Local Scope.A variable created inside a function belongs to the local scope of that function, |
Python Polymorphismupdated at 6,957 The word "polymorphism" means "many forms", |
Python Iteratorsupdated at 6,981 An iterator is an object that contains a countable number of values.An iterator is an object that can be iterated upon, |
Python Inheritanceupdated at 7,079 Inheritance allows us to define a class that inherits all the methods and properties from another class.Parent class is the class being inherited from, |
Python Classes/Objectsupdated at 7,258 Python is object-oriented.In Python, |
Python Arraysupdated at 6,961 Arrays are used to store multiple values in one single variable: Access the Elements of an Array.You refer to an array element by referring to the index number. .The Length of an Array.Use the len() method to return the length of an array (the number of el... |
Python Lambdaupdated at 6,980 A lambda function is a small anonymous function.A lambda function can take any number of arguments, |
Embarking on Data Adventures - My First Days as a Data Software Engineer Internupdated at 7,012 Starting my first internship as a Data Software Engineer has been like stepping onto a roller coaster, |
Python Functionsupdated at 6,949 A function is a block of code which only runs when it is called.You can pass data, |
Python While Loops/For Loopsupdated at 7,284 The while Loop.With the while loop we can execute a set of statements as long as a condition is true.The while loop requires relevant variables to be ready, |
Python Conditions and If statementsupdated at 6,993 Python supports the usual logical conditions from mathematics::Equals: a == b, |
Python Dictionariesupdated at 6,919 Dictionaries are used to store data values in key:value pairs.A dictionary is a collection which is ordered*, |
Python Setsupdated at 6,953 Sets are used to store multiple items in a single variable.Set is one of 4 built-in data types in Python used to store collections of data, |
Python Tuplesupdated at 7,042 Tuples are used to store multiple items in a single variable.Tuple is one of 4 built-in data types in Python used to store collections of data, |
Python Arithmetic Operatorscreated at 6,966 OperatorDescriptionExample% ModulusDivides left hand operand by right hand operand and returns remainder20 % 10 = 0* MultiplicationMultiplies values on either side of the operator10 * 20 = 200** ExponentPerforms exponential (power) calculation on operators... |
Printing string n timescreated at 6,940 In Python, |
String concatenation by join()created at 7,018 Write the code for a Python function expand(x) that takes a list of strings, |
Python Listsupdated at 7,158 Lists are used to store multiple items in a single variable.Lists are one of 4 built-in data types in Python used to store collections of data, |
Python String Operationsupdated at 7,190 You can return a range of characters by using the slice syntax.Specify the start index and the end index, |
Python Data Typesupdated at 7,257 In programming, |
Python Variablesupdated at 7,193 Variables are containers for storing data values.Creating Variables.Python has no command for declaring a variable.A variable is created the moment you first assign a value to it.Variables do not need to be declared with any particular type, |
Python Commentsupdated at 7,365 Comments can be used to explain Python code.Comments can be used to make the code more readable.Comments can be used to prevent execution when testing code.Creating a Comment.Comments starts with a #, |
Python Syntaxupdated at 7,293 Execute Python Syntax.As we learned in the previous page, |
Python Getting Startedupdated at 7,273 Many PCs and Macs will have python already installed.To check if you have python installed on a Windows PC, |
Python Introductioncreated at 6,971 Python is a popular programming language. It was created by Guido van Rossum, |