vedanti has Published 7 Answers

How to create a table in SQL ?

Published on 12-Dec-2021 19:36:18
The command to create a table in sql is extremely simple: CREATE TABLE table_name ( column1 datatype, column2 datatype, column3 datatype, .... ); We will start off by giving the keywords, CREATE TABLE, then we will give the name of the table. After that in braces, we will list out all the columns along with their datatypes. For example, if we want to create a simple employee table: CREATE TABLE employee ( name varchar(25... Read More

What is SQL ?

Published on 12-Dec-2021 19:28:20
SQL stands for Structured Query Language. It is the primary language to interact with databases. With the help of SQL, we can extract data from a database, modify this data and also update it whenever there is a requirement. This query language is evergreen and is widely used across industries. For example, if a company has records of all the details of their employees in the database. With the help of SQL, all of this data can be queried to find... Read More

Write C program to find Exponent Power Series

Published on 12-Dec-2021 17:32:54
Program : A program to evaluate the power series x2 x3 xn ex = 1 + x + --- + --- + ..... + ---- 2! 3! n! , 0 < x < 1 It uses if……else to test the accuracy. The power series contains the recurrence relationship of the type Tn = Tn-1 (---) for n > 1 T1 = x for n = 1 T0 = 1 If Tn-1 (usually known as previous term) is known, then Tn (known as present term) ca... Read More

Write a ‘C’ Program to compute the sum of all elements stored in an array using pointers

Published on 12-Dec-2021 17:17:20
C Program to compute sum of the array elements using pointers Program : #include <stdio.h> #include <conio.h> void main() { int numArray[10]; int i, sum = 0; int *ptr; printf("\nEnter 10 elements : "); for (i = 0; i < 10; i++) scanf("%d", &numArray[i]); ptr = numArray; /* a=&a[0] */ for (i = 0; i < 10; i++) { sum = sum + *ptr; ptr++; } printf("... Read More

“My WordPress Blog Got Hacked!” – Prevent it!

Published on 01-Nov-2021 9:01:08
“My WordPress Blog Got Hacked” is something that we as a hosting company hear all the time, which is unfortunate. What’s even more unfortunate is we as the web hosting provider often get blamed for it by our very own customers. I can’t really blame our customers for this either, I guess they just don’t know it can happen — So hopefully, this blog post will help bring some awareness and help prevent their blogs from being hacked. It... Read More

See (stage) your website before switching your DNS

Published on 01-Nov-2021 8:52:32
When customers are looking to switch hosting providers, they usually stage the setup of their web site before completely switching the DNS (domain name servers). We provide you with a temporary URL so that you can see how your site will look before you switch your domain’s DNS. The problem comes when some scripts require you to access the script through a valid domain name. This poses an issue because you haven’t switched the domain’s DNS a... Read More

How can we create recursive functions in Python?

Published on 30-Oct-2021 14:38:44
Recursion is a programming method, in which a function calls itself one or more times in its body. Usually, it is returning the return value of this function call. If a function definition follows recursion, we call this function a recursive function. Also Read : How to get a list of parameter names inside Python function? A recursive function has to terminate to be used in a program. It terminates, if with every recursive call the solution of... Read More