Statistics for IT– Worldwideasy – 05

Statistics for that. Here you have, Applying the basic calculation principle. Calculation of percussion. Calculation of Comb Combinations. Distinguish combinations against per induction. Can be done.

Fundamental Counting
Principle -Statistics

Can be used here Determine the number of possible consequences
When there are two or more symptoms. and Can be used here Determine the number of possible consequences When there are two or more symptoms.

Motivation is a provision. In a specific order.

Permutations – Statistics

To find the number of triggers here Items, we can use basic. By the principle of calculation or by factorial notation.

Combinations

Is a combination of Items not ordered are a material arrangement.

Because the order is not important Combinations, there are fewer combinations. Than inductions. Combinations A “subset” of triggers.

In mathematics, a combination is a selection of items from a collection, the order of selection is not important (unlike inductions). For example, give three fruits and say one apple, one orange, and one pear, three combinations of two can be extracted from this set: apple and pear Apples and oranges; Or pears and oranges. More formally, the k-combination in an S set is a subset of the k-specific elements in S. If the set has the element n, the number of k-combinations is equal to the two-dimensional coefficient.

See the below examples and get the idea,

Next, we meet with a very wide-ranging lesson. Until then, keep these lessons in mind.

Thank you for all!

More Statistics Lesson ClickHere!

See you Next Lesson Soon!

Statistics for IT– Worldwideasy – 04

Statistics for that. Expansion Summarize data using median trend measurements such as the mean. Mean, mode, and midrange. Describe data using variability measurements such as range, variability, and so on. Identify the location of a data value in a dataset using various measurements, such as percentages, decimals, and quarters in Statistics.

Measures in Statistics

Measures in Central Tendency in Statistics

  • A measure of centripetal tendency is a detailed statistic. Describes the average or average value of a set of points.
  • There are three common measures of central tendency,
    • mean
    • median
    • mode
  • When raw data is organized it helps to display it. The form of a table showing the frequency (e) with each data Item (x) occurs. Such a table is called a frequency table.
  • However, this may be the case when a large range of data is involved. Breaking down data into smaller groups first is beneficial. In which case, the resulting table is called a group Frequency table.

Mean (Arithmetic Mean)

  • The average calculation of mean numbers “middle” Is the value of a set of numbers. Add up all the numbers to calculate it. Then divide how There are many numbers.
  • The arithmetic mean or abbreviated mean of an N group.

THE ARITHMETIC MEAN COMPUTED FROM
GROUPED DATA IN STATISTICS

Assumes a procedure for finding the mean for group data. That the mean of all raw data values ​​in each class is the same Takes the middle point of the class. In reality, this is not true. The average of the raw data values ​​for each class will not be average. The same as the midpoint. However, using this procedure From some Will give an acceptable approximation of the mean.
Values ​​fall above the midpoint and other values ​​fall below For each class, the midpoint and the midpoint represent Assessing all values ​​in the class.

Ex: Miles Run per Week

The Median

The mean is half of a dataset. Before you can find this out, the data must be arranged in order. Then The dataset is ordered, which is called the data array. Mean Will fall between a certain value or two in the dataset.

Thank you for all!

More Statistics Lesson ClickHere!

See you Next Statistics Lesson Soon!

Statistics for IT– Worldwideasy – 03

Statistics for it. Expanding the amount given in Sigma notation to a clear amount through this statistics lesson. Write a clear sum of S sigma notation. A clear pattern for individual terms. Using rules to handle money is expressed in Ig sigma notation. Explained.

Sigma Notation for Statistics

  • Sigma notation is a method used to write a long sum in a Short path.
  • For example, we often like to summarize a number of terms 1 + 2 + 3 + 4 + 5 or a 1 + 4 + 9 + 16 + 25 + 36 There is a clear pattern to the numbers.
  • More generally, we have u1, u2, u3,. . . , Otherwise we can write the sum of these numbers as u1 + u2 + u3 +. . . + un.
  • This is an abbreviated form of writing that allows ur to represent the general term and put it in sequence.

See the Below example forget some idea.

Writing a long sum in sigma notation – Statistics

Statistics – We have been given a long sum of money and suppose we want to declare. It is from Sigma numbering. How should we do this?

See below example,

Rules for use with sigma notation

  • In general, we can write if we add a constant n time.
  • Suppose we have a fixed time collection.
  • But from this calculation, we can see that the result is the same.
  • Suppose we have the sum of k and a constant. Give us this.
  • But from this calculation, we can see that the result is the same.
  • If a and c are constants, and f (k) and g (k) are the functions of k.

See the below example for more knowledge,

I hope you have gained a great deal of knowledge from this section. Stay with us often so you can gain a very broad knowledge. See you soon in another lesson!

Thank you for all!

More Statistics Lesson ClickHere!

See you Next Statistics Lesson Soon!

Statistics for IT– Worldwideasy – 02

Through this Statistics lesson, you Identifying different types of data, Describing the data presented as a list, Describing the discrete data presented in a table, Describe continuous data presented by a group frequency.

RAW DATA

Data that does not collect raw data is collected
Statistically organized.

ARRAYS

An array is a set of raw number data
The order of ascent or descent of magnitude.

Range

The biggest and the difference between
The smallest number is called the range
Data.

Data

The first step is to summarize the quantitative data
To determine whether the data is discrete
Continuous.

Data

Discrete data – Frequency Table

A frequency table is arranging in order. The collected data are in chronological order. Their magnitude is a relative frequency.

Grouped frequency table

  • Class gap – A symbol that defines a class of 60-62 The given table is called the class interval.
  • Class Limits – The end numbers, 60 and 62, are called class limits the smaller number (60) is the lower class limit, and the larger number (62) is the upper-class limit.
  • Open Class Intervals – A class interval that, at least theoretically, has either
    no upper-class limit or no lower class limit indicated is called an open class interval.
  • Class Boundaries – If heights are recorded to the nearest inch, the class interval 60–62 theoretically includes all measurements from 59.5000 to 62.5000 in. These numbers, 59.5 and 62.5, are called class boundaries, the smaller number (59.5) is the lower class boundary and the larger number
    (62.5) is the upper-class boundary.
  • The size, or width, of a class gap – The size or width of a class gap The difference between lower and upper class Is the boundary and is also known as the class Width, class size or class length.If all class intervals in a frequency distribution. Of equal width, this common width is indicated
    C. In such a case c is equal to the difference Between two or two successful lower class boundaries Successful upper class boundaries.
  • Classmark – The classmark is the midpoint of the class gap Obtained by adding bottom and top Class boundaries and division by 2.

The Frequency Polygon

If another way to represent the same dataset Using a frequency polymer.
A graph showing the frequency polymer Data using points connecting lines
Designed for frequencies at midpoints of. Classes. Frequencies represented score.

The Ogive

Ogive is a graph that represents. Cumulative frequencies for classes
There is a frequency distribution.

Thank for all!

More Statistics Lesson ClickHere!

See you Next Statistics Lesson Soon!

Statistics for IT– Worldwideasy – 01

Today we hope to focus on a different topic. This is very important for people who are educated. Statistics for it is the topic here. Let’s find out now.

Introduction to Statistics

Collection science, organization, presentation, analysis and
Interpret data to assist in making more effective decisions and Used to summarize and analyze statistical analysis.
The data is then processed into useful decision-making information

Types of statistics

  • Detailed Statistics – Methods of Organizing, Summarizing, and Presenting data in an informative manner.
  • Guessing Statistics – Methods used to determine something About a population on a sample basis.

Inferential Statistics

  • Estimation
  • Hypothesis testing

Sampling

A sample should have similar characteristics
As the population it represents.

Sampling methods can be :

  • random
  • nonrandom

Random sampling methods,

  • Simple random sample
  • Stratified sample
  • Cluster sample
  • Systematic sample

Descriptive Statistics,

  1. Collect data
  2. Present data
  3. Summarize data

Statistical data

  • Collect data relevant to the problem being studied. This usually the most difficult, expensive, and time-consuming part.
  • Statistical data are usually obtained by counting or measuring items.
  • The variable is an item of interest that can be taken in a variety of ways Numerical values.
  • A constant has a fixed numeric value.

Data Collection Methods

  • Interviews
  • Questionnaires
  • Survey
  • Observation

Data

  • Qualitative
  • Quantitative

Qualitative Data

Quality data is usually described in words Letters. They are not as widely used as quantitative data This is because most numerical techniques do not apply Quality data. For example, it makes no sense to Find a normal hair color or blood type.

Quantitative Data

Quantitative data are always numbers and they are Results of calculating or measuring the characteristics of a population. this data can be divided into two Subgroups:

  • Discrete
  • Continuous

Types of variables

The numerical scale of measurement

  • Nominal
  • Ordinal
  • Interval
  • Ratio

Data presentation

This has used 6 methods for data presentation.

  • Histogram
  • Frequency polygon
  • Ogive
  • Pie Chart
  • Bar chart
  • Time Series Graph

Histogram

Graphically used frequently. Current time interval and rate data Often used interval and Rate data. Shown from adjacent bars There are a numerical range In summary Arbitrarily selected frequencies Class values.

Frequency polygon

Another common method is The gap presented graphically And rate data.
To create a frequency Marks the frequency of the polymer On the vertical axis and Values ​​of variability Measured on the horizontal axis, Like a histogram. If the purpose of the presentation Comparing with others Distribution, frequency The polygon provides a good stuff Summary of data.

Ogive

A graph of a cumulative Frequency distribution. For a relative frequency, This can be used to turn.

Pie Chart

Pie note is an effective method. Percentage display Divides data by category. Relative sizes are useful. The data must be components.

Bar chart

Nominal submission And average scale data. Uses one column to represent Frequency for each category. The bars are usually positioned With their base vertically Located on the horizontal axis.

Time Series Graph

Time series graph It is a data graph measured over time. The horizontal axis here This graph represents Time limits and Shows the vertical axis Numerical values Corresponds.

Ruby Course – Worldwideasy – 04

Ruby lesson 4. I will focus on Getting Control Statements (IF statement, Case Expressions, loops), Comments, and File Control. It can provide extensive knowledge.

Control Statements

A control statement is a statement that determines whether other statements are active. If a statement decides whether another statement should be executed, or one of the two statements to be executed. A loop determines the number of times another expression should be executed.

Basically have 3 control statement

  • IF
  • Switch
  • Loops

IF Statement in Ruby

If a statement is used to check the condition, it can be a condition or more. The special feature of it is that you can check any gap. The following example will make it clear to you.

ismale = false 
if ismale
   puts "you are male"
else
   puts "you are not male"
end

This Code output is you are not male.

Case Expressions

The Case Expressions is used to check several non-gap conditions. This works very fast and gets the idea below

def get_day_name(day)
day_name=" "

case day
when "mon"
day_name = "Monday"
when "tue"
day_name = "Tuesday"
when "wed"
day_name = "Wednesday"
when "tur"
day_name = "Thursday"
when "fri"
day_name = "Friday"
when "sat"
day_name = "Saturday"
when "sun"
day_name = "Sunday"
else
day_name = "Invalid"
end
return day_name
end
puts get_day_name("wed")

This code output is Wednesday.

Loops

Loops have main 3 loops in php

  • For loop
  • While loop

Now I show the First 3 loops using Code. See Below all code output is the same. output is : 1,2,3,4,5,6,7,8,9,10.

For Loop with Arry

num = [1,2,3,4,5,6,7,8,9,10]
for num in num 
puts num
end

While Loop

index = 1
while index < 8
puts index 
index + = 1
end

Ruby Comment

Comments are a special character in programming.

# single line comment
= multiline
  comment =

File Control using Ruby

Here we show you how to handle files without opening them. see below

Reading File
file.open("test.txt",r) do |tile|
puts file.read
end
Write File
File.open("employee.txt","a") do |file|
file.write ("sanka")
end
Create File
File.open ("index.html","w") do |file|
file.write("<h1>Hello</h1>")
end
Read and Write
File.open ("employee.txt","rt") do |file|
file.readline()
file.write ("overridden")
end

Class & Object

Class is collection of objects and functions. In computer programming, a function object is a construct that allows an object with the same syntax to be called or called a normal function. Active objects are often referred to as funksters.

This is the mining of the object and class. now we can try to add it ruby. look below example.

class Book
attr_accessor :title, :author, :pages
end

book1 = Book.new()
book1.title = "Harry Potter"
book1.auther = "JK"
book1.pages = 400
puts book1.pages

Output is 4000.

Method

See the below example. that use code reuses it easy for developing softwares.

Class
attr_accessor:name, :major, :gpa
def initialize (name,major,gpa)
@ name = name
@ major = major
@ gpa = gpa
end
end
student1 = student.new ("harry","bio","3.6")
student2 = student.new ("jhone","chem","2.1")

puts.student1.name

Output is harried.

Create a Ruby 2D Game

First, install ruby 2d gem. open cmd

gem install ruby2d

Click Here to get the Source code.

you can see the below output in-game.

Now over the Ruby basic course. you go to this link and answer the question and get a Ruby certificate. Get Certificate

Thank you for all!

More Ruby ClickHere!

See you Next Lesson Soon!

Ruby Course – Worldwideasy – 03

Ruby Programming lesson 3. Today we going to learn more about it. Today I will focus on Getting User Input, Hashes, Method and If Statement. Finally, Create a simple Calculator. It can provide extensive knowledge.

Getting User Input in Ruby Programming

Uses any computer language user input is how Ruby does it. But it happens here in a very different way. We are focusing on that step by step.

First, you need to install Platformio-ide-terminal on Atom text editor.

  1. Go Settings
  2. >> install
  3. Search “Platformio-ide-terminal”
  4. Install it
  5. Search “Ruby Ide” and install it

The code below explains it to you.

puts "Enter Name "
name = gets
puts ("hello" + name)

Run using CMD this code output is hello with your entered name. see below another example

puts "Enter Your Name: "
name = gets.chomp()
puts "Enter Your Age: "
age = gets.chomp()
puts ("hello" + name + "you are " +age)

Hashes in Ruby Programming

A hash function is any function that can be used to map data of arbitrary size to fixed-size values. The values ​​given by a hash function are called hash values, hash codes, digests, or simply hashes. Values ​​are used to index a fixed-size table called a hash table.

Hashes are used to shorten a word or line of words and make it very easy to code. The following example illustrates this for you.

New York >> NY
Sri Lanka >> SL
Hello World >> HW 

As mentioned above, those words are short but the output is long.

Method

Object-oriented programming is a method of action related to a message and an object. An object consists of data and behaviors; These have an interface that specifies how the object can be used by its various customers.

You have an understanding of the method Now let us see how to use this for ruby

def sayhi
  puts "Hello user"
end

puts 'top'
sayhi
puts 'bottom'

see below code output

Output

Another example

def sayhi (name)
  puts ("Hi " + name)
end

sayhi ("harry")

This Code Output is Hi harry

Create Calculator Using Ruby

We create a very good Calculator based on the knowledge we have learned about ruby ​​so far. Here you also have to learn about if

puts "Enter First Number : "
num1 = gets.chomp().to_f
puts "Enter Opartor : "
op = gets.chomp()
puts "Second Number : "
num2 = gets.chomp().to_f

if op == '+'
  puts (num1 + num2)
else if op == "-"
  puts (num1 - num2)
else if op == "*"
  puts (num1 * num2)
else if op == "/"
  puts (num1 / num2)
else
  puts "invalid Enter"
end

Here you can input two numbers as output and select an operator and perform some action

Thank you for all!

More Ruby ClickHere!

See you Next Ruby Lesson Soon!

Ruby Course – Worldwideasy – 02

Ruby programming lesson 2. Today we going to learn more about Ruby. In this tutorial, we will focus on variables, Strings, Numbers, and Operations. It can provide extensive knowledge.

Use Variable

Variables are used to store information to be referenced and manipulated in a computer program. They also provide a way of labeling data with a descriptive name, so our programs can be understood more clearly by the reader and ourselves. It is helpful to think of variables as containers that hold information. Their sole purpose is to label and store data in memory. This data can then be used throughout your program.

launchschool.com

Now you know what is variable, let’s use it Ruby Programming

character_name = "jenny"
character_age = "23"
puts "my name is "+ character_name
puts "my age is "+ character_age

This Code output is My Name is jenny my age is 23. you can try this code in your pc.

Working with Strings Ruby Programming

Threads are traditionally alphabetical. Now you can see how it works. see the below table and get an idea about ruby strings.

Phone = "Apple Iphone"
CodeOutput
puts Phone.upcaseAPPLE IPHONE
puts Phone.downcaseApple iPhone
puts Phone.stripApple iPhone
puts Phone.length12
puts Phone.include?"Apple"true
puts Phone.include?"cake"false
puts Phone.[3,5]le Ip
puts "hp".upcase()HP

Work with Strings

Working With Numbers

Every computer language uses numbers in particular. This is because it allows you to easily control the data. let me show you how to work with numbers in Ruby.

SyntaxCode
puts -5.43215-5.43215
puts 5+914
puts 5/90
puts 2*36
puts 2**38
puts 10%31
puts 5-23

Operations & Math in Ruby Programming

In mathematics, we use different operations, i.e. maximum value, square root, fall. They are also used differently in programming. The following example will give you a broader understanding.

Operations
num = 30.67
CodeOutput
puts num.abs()30.67
puts num.round()30
puts num.ceil()31
puts num.floor()30

Operations

Math

it is a hard mathematics part but using ruby we can do it easily. see below table.

SyntaxOutput
puts Math.sqrt (2)1.4142135623730951
puts Math.log (2)0.6931471805599453

Math

Now you have developed some knowledge about Ruby. Try typing this code on your computer as well. Practice

Thank you for all!

More Ruby ClickHere!

See you Next Ruby Lesson Soon!

Ruby Course – Worldwideasy – 01

Ruby programing is a defined, high-level, general-purpose programming language. It was designed and developed by Yukihiro “Mats” Matsumoto of Japan in the mid-1990s. is dynamically typed and uses garbage collection.

Ruby programming is a high-level programming language. The implementation language here is c. This was created in 1995 by Yukihiro Matsumoto. The file extension here is .rb. Editors used for this are Atom, Komodo IDE, and RubyMine. This language is a language that can do all the work of web design & software development. Let us now learn about this step by step.

How to install Ruby in your pc!(Windows).

  1. First Download & Install Atom Editor.
  2. Open Atom.exe
  3. Find head bar >> Packages >> Settings View >> Install Package.
  4. Now search bar search “Atom-runner.
  5. And install this package close Atom.
  6. Download Ruby Pack.
  7. Install base install.
  8. Check installation
    1. open cmd
    2. type ruby -v
    3. you can see ruby version.

Ruby Frameworks

What is the framework? This is software. This helps to make the website easier. It has more options to easily develop any program. has web services, web resources, and web APIs. It helps us to develop a good website. But to work with Ruby Framework you need to have a basic knowledge of Ruby. See below its top 10 frames in 2020.

  1. Ruby on Rails
  2. Sinatra
  3. Padrino
  4. Hanami
  5. NYNY
  6. Scorched
  7. Hobbit
  8. Cuba
  9. Crepe
  10. Nancy

I recommend developing using Ruby on Rails and Sinatra is good. I put a link below you can go its site,

How to Make First Ruby File

Hello World

  • First Open Atom Editor.
  • This language is similar to Python and R. No blocks.
  • Ruby have 2 main text output method it is puts or print you can use both of them.
  • Special Ruby code line end not use semicolon ( ; ).
  • See below full code of hello world in Ruby,
print "Hello "
puts "World"
  • Save now (ctrl + s)
  • Run code (alt + r)
  • You can see below output Hello World.

Thank you for all!

More Ruby ClickHere!

See you Next Ruby Lesson Soon!

C# Course – Worldwideasy – 05

C# lesson 5. I will focus on 2D Arrays, Class, Object. Finally, Interface design. It can provide extensive knowledge.

2D Arrays in C#

A two-dimensional array has a type like an int [ ] [ ] or string [ ] [ ], with two pairs of square brackets. The element of a 2D array is arranged in rows and columns, and the new operator for the 2D array specifies both the number of rows and the number of columns.

You can get an Idea Using the Example Below about 2d arrays.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            int[,] cat =
            {
                {1,2},
                {4,6},
                {8,9}
            };
            Console.WriteLine(cat[0,1]);
            Console.ReadLine();
        }
    }
}

This code Answer is 2.

Object & Class in C#

Class is collection of objects and functions.

programming class

In computer programming, a function object is a construct that allows an object with the same syntax to be called or called a normal function. Active objects are often referred to as funksters.

Object in programming

He is a simple miner to the class. In object-oriented programming, we find a class. The use of this concept revolutionized the software development industry. This made it possible to create very fast software with a small amount of code. What makes it special is the ability to reuse the code. Let’s see how to use it for C #. The following example shows how to publish and execute a class.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApplication1
{
    class Program
    {
        class book{                    // Create Class
            public String title;
            public String Author; 
            public int pages;
        }
        static void Main(string[] args)
        {
            book book1 = new book();     // Call Class
            book1.title = "Harry Potter";
            book1.Author = "JK";
            book1.pages = 450;

            Console.WriteLine(book1.pages);
            Console.ReadLine();
        }
    }
}

You can see this code do create class and call class.

Now show you how to work class using method look below example.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApplication1
{
    class Program
    {
        public  Book (String name, int pages)
        {
            name = aname;
            pages = apages;
        }
        public bool hash()
        {
            if (pages > 200)
            {
                return true;
            }
            false{
                return false;
            }
        }
        static void Main(string[] args)
        {
            Book Book1 = new Book("magic", 280);
            Console.WriteLine(Book1.hash());
            Console.ReadLine();
        }
    }
}

This code output is True.

Work with interface in C#

Now over the php basic course. now let’s try to work with the interface. following this stape.

  • File –> New Project.
  • Select Windows Forms Application.
  • OK -> you can see empty form.
  • Now you can See Left side in toolbox.
  • Drag and Drop label.
  • Go Label properties go appearance. See Right (Clear field);
  • Drag and Drop Text Box.
  • Drag and Drop Button.
  • Double Click Button.
  • Type this code. label1.Text ="Hello" + textBox1.Text;

Now over the C# basic course. you go to this link and answer the question and get C# certificate. Get Certificate

Thank you for all!

More C# ClickHere!

See you Next Lesson Soon!