Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
Articles on Trending Technologies
Technical articles with clear explanations and examples
Variable number of arguments in Lua Programming
There are functions in Lua that accept a variable number of arguments. These are very helpful in cases where we want to run the same function with many different arguments that might vary in length. So, instead of creating a different function, we pass them in a variable arguments fashion.Syntaxfunction add(...) -- function code endIt should be noted that the three dots (...) in the parameter list indicate that the function has a variable number of arguments. Whenever this function will be called, all its arguments will be collected in a single table, which the function addresses ...
Read MoreReturn statement in Lua Programming
There are certain cases where we want to return a value from a given function so that we can use it later. These return values make use of a return keyword which in turn allows a function to return values.There is an implicit return at the end of any function, so you do not need to use one if your function ends naturally, without returning any value.It should be noted that the return statement is optional; if not specified, the function returns nil.Also, only one return statement is allowed in a function.Syntaxreturn expression/valueNow let’s consider an example where we would ...
Read MoreNumeric for in Lua Programming
In Lua, there are two types of for loops − the numeric for and the generic for.SyntaxThe numeric for uses the following syntax −for var=exp1, exp2, exp3 do something endIt should be noted that we can write exp1, exp2, exp3 at the same time or we can omit one of them, and the numeric loop will not result in a compile error, though its functionality will change.ExampleLet’s consider a simple variation of a numeric for loop, where we will try to print numbers from 1 to 10.Consider the example shown below −for i = 1, 10 do ...
Read MoreGeneric for in Lua Programming
The generic for in Lua allows us to iterate over the values in an iterator fashion; it is much more powerful even though it looks simple. The Lua library has plenty of iterators, over which we can use the generic for loop.Syntaxfor i, v in pairs(x) do ... ... endThe i in the above syntax denotes the index of the items we are going to iterate over only by one, and the v denotes the actual values of those items. The x is the iterable item over which ...
Read MoreSoftware Testing Methodologies – Learn QA Models
What is Software Testing Methodology?The tactics and testing kinds utilized to ensure that the Application Under Test satisfies customer requirements are referred to as software testing methodology. To validate the AUT, test methodologies include functional and non-functional testing. Unit testing, integration testing, system testing, performance testing, and other testing methodologies are examples. A test objective, test strategy, and deliverables are all outlined in each testing methodology.Many firms use the terms Development Methodologies and Testing Methodologies interchangeably since Software Testing is a vital aspect of any Development Methodology. In contrast to the previous definition of Testing Methodologies, Testing Methodologies might also ...
Read MoreSecurity System Development Life Cycle
The Security System Development Life Cycle (SecSDLC) is a series of activities that are carried out in a certain order throughout the software development process (SDLC). It is created in such a manner that it can assist developers in creating software and apps in such a way that security risks are reduced greatly from the start.The Security System Development Life Cycle (SecSDLC) is similar to the Software Development Life Cycle (SDLC), but the activities carried out in each step of the cycle are different. SecSDLC is a process that includes identifying specific threats and the risks that such threats pose ...
Read MoreManual Testing Tutorial for Beginners (Concepts, Types, Tool)
Manual TestingManual testing is a sort of software testing wherein test cases are personally run by a tester instead of utilizing automated technologies. The goal of manual testing is to find errors, faults, and flaws in a software product. Manual software testing is by far the most basic of all testing methods, and it aids in the discovery of serious problems in software applications.Even before new app can be automated, it must first be manually evaluated. Manual software testing takes more time and effort, but this is required to determine if automation is possible. Manual testing principles do not need ...
Read MoreLife Cycle of Open Standard
There is an agreed-upon manner of doing things whenever we start a company, whether online or in the conventional sense. This is referred to as "Standards." For example, if you want to start a company creating bed linens, the minimum length of bedsheets required by industry standards is 7 feet. These guidelines might be publicly published or followed in an unwritten manner.What is the Purpose of Standards?As consumers, standards assist us in determining whether or not something is appropriate for the purpose for which it is purchased, and whether or not it is of acceptable quality. It's also easy to ...
Read MoreWhat are the trends in data mining?
The trends in data mining are as follows −Application exploration − Early data mining applications targeted generally on helping businesses gain a competitive edge. The exploration of data mining for businesses continues to expand as e-commerce and e-marketing have become mainstream components of the retail market.Data mining is increasingly used for the exploration of applications in several areas, including financial analysis, telecommunications, biomedicine, and science. Emerging software areas contain data mining for counterterrorism (including and beyond intrusion detection) and mobile (wireless) data mining. As generic data mining systems can have limitations in dealing with application-specific issues, it can view a ...
Read MoreWhat are the features of data mining?
There are various features of data mining that are as follows −Data types − Most data mining systems that are accessible in the industry handle formatted, record-based, relational-like data with statistical, categorical, and symbolic attributes. The data can be in the form of ASCII text, relational database data, or data warehouse data. It is essential to test what exact format(s) each system it is treating can handle.Some types of data or applications can require specialized algorithms to search for patterns, and so their requirements cannot be managed by off-the-shelf, generic data mining systems. Rather than, specialized data mining systems can ...
Read More