Skip to main content

Posts

Intro about Password Validator Caesar Cipher and Emirp mumbers

Password Validator Password validator is a program that validates passwords to match specific rules. For example, the minimum length of the password must be eight characters long and it should have at least one uppercase letter in it. A valid password is the one that conforms to the following rules: - Minimum length is 5; - Maximum length is 10; - Should contain at least one number; - Should contain at least one special character (such as &, +, @, $, #, %, etc.); - Should not contain spaces. Examples: Input: "Sololearn" Output: false Input: "John Doe" Output: false Input: "$ololearn7" Output: true Write a program to checks if the user input is a valid password or not. Caesar Cipher The Caesar cipher is a type of substitution cipher in which each letter in the plaintext is shifted to a certain number of places down the alphabet. For example, with a shift of 1, A would be replaced by B, B would become C, and so on. The met...

Web Developer's Knowledge Base

Knowing HTML very well is a must for every web developer, but more importantly, if you want to have outstanding look and feel of your web app, you have to master CSS as well. And of course, used both at backend and frontend, JavaScript is the main weapon in every web developer's inventory. In this article, we will try to cover core concepts every web developer should know about. HTTP Protocol HTTP stands for Hypertext Transfer Protocol. As a web developer, you should be familiar with at least the main HTTP methods, GET, POST, PUT, DELETE. Also, it is really preferred to know the common HTTP status codes: 200 (OK), 400 (Bad Request), 404, 500 etc. Remember: - 2xx are success codes - 3xx, redirection codes - 4xx indicate client errors, and - 5xx indicate server errors. Most APIs are currently supporting HTTPS instead of HTTP.  HTTPS stands for HTTP Secure, where the communication between the client and the server is encrypted. API API stands for Applicati...

What is cryptographic and more

Cryptographyis about constructing and analyzing protocols that prevent third parties or the public from reading private messages. Various aspects of information security such as data confidentiality, data integrity, authentication, and non-repudiation are central to modern cryptography. Prior to the modern age, cryptography was effectively synonymous with encryption, the conversion of information from a readable state to apparent nonsense. Modern cryptography is heavily based on mathematical theory and computer science. Cryptographic algorithms are designed around computational hardness assumptions, making the algorithms hard for adversaries to break. There exist information-theoretically secure schemes that probably cannot be broken even with unlimited computing power. Caesar Cipher The Caesar cipher is one of the earliest known and simplest ciphers. It is a type of substitution cipher in which each letter in the plaintext is shifted to a certain number of places ...

Algorithm in Programming 1

In programming, algorithm are the set of well defined instruction in sequence to solve a program. An algorithm should always have a clear stopping point. Qualities of a good algorithm 1. Inputs and outputs should be defined precisely. 2. Each steps in algorithm should be clear and unambiguous. 3. Algorithm should be most effective among many different ways to solve a problem. 4. An algorithm shouldn't have computer code. Instead, the algorithm should be written in such a way that, it can be used in similar programming languages. Algorithm is not the computer code. Algorithm are just the instructions which gives clear idea to you idea to write the computer code.      For more information subscribe, Or     Email at ==   ash705397@gmail.com    

Computing in Python I: Fundamentals and Procedural Programming

Learn the fundamentals of computer programming in Python, from the basics of how a computer runs lines of code, to the write-run-debug cycle of program development, to working with variables, mathematical operators, and logical operators.      Techhb82    About this course This course starts from the beginning, covering the basics of how a computer interprets lines of code; how to write programs, evaluate their output, and revise the code itself; how to work with variables and their changing values; and how to use mathematical, boolean, and relational operators. By the end of this course, you'll be able to write small programs in Python that use variables, mathematical operators, and logical operators. For example, you could write programs that carry out complex mathematical operations, like calculating the interest rate necessary to reach a savings goal, recommending apparel options based on weather patterns, or calculating a grade based ...

A Simple Neural Network to Recognize Patterns

Lets build a program that will teach the computer to recognize simple patterns using neural networks. Artificial neural networks, like real brains, are formed from connected "neurons", all capable of carrying out a data-related task, such as answering a question about the relationship between them. Let's take the following pattern: 1 1 1 = 1 1 0 1 = 1 0 1 1 = 0 Each input, and the output can be only a 1 or a 0. If we look closer, we will realize that the output is 1, if the first input is 1. However, we will not tell that to the computer. We will only provide the sample inputs and outputs and ask it to "guess" the output of the input 1 0 0 (which should be 1). To make it really simple, we will just model a single neuron, with three inputs and one output. The three examples above are called a training set. We're going to train the neuron to work out the pattern and solve the task for input 1 0 0, by just having the training set and without know...

Neural Networks

The goal of artificial neural network machine learning algorithms is to mimic the way the human brain organizes and understands information in order to arrive at various predictions. Neural networks, with their remarkable ability to derive meaning from complicated or imprecise data, can be used to extract patterns and detect trends that are too complex to be noticed by either humans or other computer techniques. Artificial neural networks, like real brains, are formed from connected "neurons", all capable of carrying out a data-related task, such as recognizing something, matching a piece of information to another piece, and answering a question about the relationship between them. Each neuron is capable of passing on the results of its work to a neighboring neuron, which can then process it further. Typically, neurons are organized in layers. Different layers may perform different kinds of transformations on their inputs. Signals travel from the first (input), to t...

Applications for Python

Python is used in many application domains. Here's a sampling. The  Python Package Index  lists thousands of third party modules for Python. Web and Internet Development Python offers many choices for  web development : Frameworks such as  Django  and  Pyramid . Micro-frameworks such as  Flask  and  Bottle . Advanced content management systems such as  Plone  and  django CMS . Python's standard library supports many Internet protocols: HTML and XML JSON E-mail processing . Support for  FTP ,  IMAP , and other  Internet protocols . Easy-to-use  socket interface . And the Package Index has yet more libraries: Requests , a powerful HTTP client library. BeautifulSoup , an HTML parser that can handle all sorts of oddball HTML. Feedparser  for parsing RSS/Atom feeds. Paramiko , implementing the SSH2 protocol. Twis...

Python: 7 Important Reasons Why You Should Use Python

According to the latest TIOBE Programming Community Index, Python is one of the top 10 popular programming languages of 2017 . Python is a general purpose and high level programming language. You can use Python for developing desktop GUI applications, websites and web applications. Also, Python, as a high level programming language, allows you to focus on core functionality of the application by taking care of common programming tasks. The simple syntax rules of the programming language further makes it easier for you to keep the code base readable and application maintainable. There are also a number of reasons why you should prefer Python to other programming languages 7.Reasons Why You Must Consider Writing Software Applications in Python 1)  Readable and Maintainable Code While writing a software application, you must focus on the quality of its source code to simplify maintenance and updates. The syntax rules of Python allow you to express concepts with...

Top 5 programming language for artificial intelligence research

Here are the top 5 programming languages for artificial intelligence research: 1. LISP LISP (List Processing) is that high level language which impresses AI developers quite well and has been used in many classic AI Projects as well. The factor that places it at the last position is that, in comparison to others it is not fast. 2. C++ The very reason C++ is used in AI solutions is its speed; it is probably the fastest language out of all. Therefore, whenever speed is the prime concern of any AI developer, C++ is opted. 3. JAVA Java is in the top five because of its familiarity and easy to use features. This OOP language allows easy coding of algorithms which covers the major part of AI. 4. Prolog The reason Prolog is preferred for AI solutions is that it pretty much revolves around a dedicated set of mechanisms which consists of a small, flexible yet well-built programming framework. 5. Python One of the leading languages used for developin...

What is the primary language used in artificial intelligence research

If it’s like you are working on a new artificial intelligence project and still have not decided which language you should use to program it, then you are at a right place. Top website and Mobile application development companies adapting the artificial intelligence to make the user experience better to explore and communicate.  Artificial Intelligence is a branch of engineering, which basically aims for making the computers which can think intelligently, in the similar manner the intelligent humans think. Here are the top languages that are most commonly used for making the AI projects: 1. Python Python is considered to be in the first place in the list of all AI development languages due to the simplicity. The syntaxes belonging to python are very simple and can be easily learnt. Therefore, many AI algorithms can be easily implemented in it. Python takes shortdevelopment time in comparison to other languages like Java, C++ or Rupy. Python suppo...

Machine learning

What is machine learning technology? Machine learning is a type of artificial intelligence (AI) that allows software applications to become more accurate in predicting outcomes without being explicitly programmed. The basic premise of machine learning is to build algorithms that can receive input data and use statistical analysis to predict an output value within an acceptable range. What is a machine learning algorithm? Within the field of data analytics, machine learning is a method used to devise complex models and algorithms that lend themselves to prediction; in commercial use, this is known as predictive analytics. Types of Machine Learning Machine learning algorithms can be divided into three broad categories: Supervised learning : The computer is presented with example inputs and their desired outputs, and the goal is to learn a general rule that maps inputs to outputs. An example is an email spam filter. Unsupervised learning: No labels are given to the...

Artificial intelligence Wikipedia

Artificial intelligence Artificial intelligence (AI, also machine intelligence, MI) is intelligence demonstrated by machines, in contrast to the natural intelligence (NI) displayed by humans and other animals. In computer science AI research is defined as the study of "intelligent agents": Any device that perceives its environment and takes actions that maximize its chance of successfully achieving its goals. Colloquially, the term "artificial intelligence" is applied when a machine mimics "cognitive" functions that humans associate with other human minds, such as "learning" and "problem solving". Artificial intelligenceMajor goalsKnowledge reasoningPlanningMachine The scope of AI is disputed: as machines become increasingly capable, tasks considered as requiring "intelligence" are often removed from the definition, a phenomenon known as the AI effect, leading to the quip, "AI is whatever hasn't been done ...