Uncategorized

98-381 Microsoft Introduction to Python – Variables & Data Types Part 2

Python Data Types Hey guys, welcome back. Now we’re going to see what are Python tools, what are lists, and actually, what are Python dictionaries? So let’s start with Python lists. Lists are the most versatile of Python’s compound data types. A list contains items separated by commas and enclosed with square brackets. It’s the same with arrays. It’s the same thing that we have seen before in arrays. So to some extent, lists are similar to arrays in CC Plus and Java. The only difference between them is that…

98-381 Microsoft Introduction to Python – Variables & Data Types

Variables So after seeing a sequence, which is actually the most foundational concept in programming, we are going to see the most foundational data type in programming: variables. So, what exactly is a variable in computer programming? A variable is a storage location with an associated symbolic name. Actually, this is an identifier that contains some known or unknown quantity of information referred to as a “value.” So, for example, we could say that, as in mathematics, we have a variable named “identifier,” which is actually “x,” and this identifier…

98-381 Microsoft Introduction to Python – Object-oriented Programming

Introduction to Object-oriented Programming And reusability. So, in object-oriented programming, we aim to incorporate the advantages of modularity and reusability. Objects are usually instances of classes that are used to interact with one another, to design applications, and to design computer programs. So the important features of object-oriented programming are that it’s actually a bottom-up approach to programme design. So we have programmes organized around objects grouped into classes. We focus on data with methods that operate upon object data, although we also focus on data with methods that operate…

98-381 Microsoft Introduction to Python – Loops and Iteration

Loops and Iteration Hey guys, welcome back. So after seeing sequence and if statements, we have to check loops because loops are a very fundamental structure for programming. Actually, let’s consider a situation when you want to print “Hello World” five times. Here is a C programme that allows us to print five times. Hello world! Actually, when this programme is executed, it produces the expected result. It was simple, but let’s consider that we want to write “Hello World” 1000 times. Of course, it’s not easy to write and…

98-381 Microsoft Introduction to Python – Introduction to MTA 98-381 Exam and Python Programming Language

Visual Studio Code We have a lot of plugins that are available through a central repository. And the next thing is that this includes additions to the editor and language support. So I will download and instal the Visual Studio code. And if I want to write programmers with Python, I will add the Python plugin to my Visual Studio code. If I would like to write programmers in C or in CSARP, I will activate the appropriate plugins for C and C sharp. So let’s start and instal Visual…

98-381 Microsoft Introduction to Python – If-Statements and Conditional Logic

If-Statements and Conditional Logic Hey guys, welcome back. Apart from the sequence structure, there is also the selection structure: conditional statements where the commands do not run in the same order, but the computer takes decisions after one condition by executing the corresponding command block. In other words, there are times when we want the computer to do one thing and then another thing if something else happens. So for example, to make a simple calculator, we are initially reading two numbers and then telling the user to give another…

98-381 Microsoft Introduction to Python – Beyond MTA 98-381 Exam: From Python to SQL – Using Databases to Store Data Part 2

Delete Data with Delete Statements And we will go on with the delete query. So I’ll make a new query editor and delete from students where name is equal to Chris. So again, I right-click “open table.” Here are the records. I will delete the record where the name is equal to Chris. So I will execute this query. And if I’m going to open it again, the table here is there, but it is cast. So, please, refresh. And here it is. This is the only team present. So…

98-381 Microsoft Introduction to Python – Beyond MTA 98-381 Exam: From Python to SQL – Using Databases to Store Data

Introduction to SQL SQL structured query language in Access or MySQL MariaDB in any database because you will learn how to use this structured query language that has very minor device differences and the basic logic is identical. So SQL is a database computer language that is designed for the retrieval and management of data in a relational database. So SQL is actually a database computer language that stands for “structured query language.” But the most important thing is that with these lectures, you will understand the basics as well…

98-381 Microsoft Introduction to Python – Arrays Part 2

Function in Python Hey guys, welcome back. Now in this lesson, we will see the functions in Python. A function is a block of organized, reusable code that is used to perform a single, specific action. So functions provide better modularity for our applications, and this allows us to use a high degree of code reuse. So, as you already know, Python has a lot of built-in functions. For example, we can print, as we saw in the previous examples. So these functions are called “user-defined functions,” which we will…

98-381 Microsoft Introduction to Python – Arrays

Arrays Hey guys, welcome back. Now we’re going to have CRAs consider a situation where we need to store three integer numbers. If we use simple variable and data type concepts in programming, we will need three integer data type variables. And the programme will be something like this: As you can see, we will have three variables that are actually integers. Following that, three values will be assigned. Following that, we have three print commands, three def. actions, and three numbers to print. Actually, it is simple because we…

img