Bài đăng

Đang hiển thị bài đăng từ Tháng 10, 2018

Swagbucks Review — Is Swagbucks a Scam or a Legit?

Hình ảnh
How I Earn From Swagbucks  click on the link and join and start earning - https://www.swagbucks.com/p/register?rb=50161109 I have to admit that when I first went on the Swagbucks page, I was a bit puzzled and a little suspicious. It mentioned things like being a "first rewards site" and a leading online search engine. Even if they were a search engine, how can one produce rewards? Yet why haven't I ever learned about them? Okay, it turns out that Swagbucks is very true too. In a nutshell, Swagbucks is a search engine much like Google or Request, except you can earn award points only by browsing the site. And the forum is currently funded by Google and Ask! Join now -  https://www.swagbucks.com/p/register?rb=50161109 Swagbucks is a fairly good spot overall. You may easily load their toolbar on your device right next to your Google Toolbar and browse the Internet from there. The findings are similar to the same issue. When you're using the Web for analysis or job reason...

What is data, database and DBMS?

Hình ảnh
Data  image source:  Pixabay Data is a collection of raw facts and figure which is isolated, unrelated and unorganized, but able to organize into useful information. Data can be manipulated to produce output. Data are the raw facts from which we start to get information. Example: 1, Ram, Table etc.  Database  image source: picpedia A database is a collection of related information about a subject organized in a useful manner that provides a base or foundation for procedure, such as retrieving information, drawing conclusion and make decision.  A database is a collection of data of certain place or person or things in such a way that it can be easily access by an application program like DBMS. A database represents some aspect of the real world. Some examples of database are database of student, database of employee etc. all are related to the real world. It is a collection of related data, which has some meaning.  DBMS (Database Management System) A DBM...

A C program to print ODD numbers from 1 to N using for loop.

Hình ảnh
//A C program to print ODD numbers from 1 to N using for loop. #include<stdio.h> #include<conio.h> void main() { int i,n; printf("Enter the value of N: "); scanf("%d",&n); for(i=1;i<=n;i++) { if(i%2 != 0) printf("%d ",i); } getch(); } Output: / / A Program to find odd or even. / / A Program to add two numbers.   / / A program to display series from 1 to 50. / / A program to find the person is eligible for voting or not.   / /A C program to find largest number among 3. / / A C program to perform arithmetic operations using switch case. // A program to print the name 10 times. / /A C program to print ODD numbers from 1 to N using while loop.

A C program to print ODD numbers from 1 to N using while loop.

Hình ảnh
//A C program to print ODD numbers from 1 to N using while loop. #include<stdio.h> #include<conio.h> void main() { int number=1,n; printf("Enter the value of N: "); scanf("%d",&n); while(number<=n) { if(number%2 != 0) printf("%d ",number); number++; } getch(); } Output: / / A Program to find odd or even. / / A Program to add two numbers.   / / A program to display series from 1 to 50. / / A program to find the person is eligible for voting or not.   / /A C program to find largest number among 3. / / A C program to perform arithmetic operations using switch case. //  A program to print the name 10 times.   / /A C program to print ODD numbers from 1 to N using for loop.

A C program to print the name 10 times.

Hình ảnh
// A program to print the name 10 times. #include<stdio.h> #include<conio.h> void main() { clrscr(); int count; char name[50]; printf("Enter the name: "); scanf("%s",name); count=1; start: printf("%s ",name); count++; if(count<=10) goto start; getch(); } Output: / / A Program to find odd or even. / / A Program to add two numbers.   / / A program to display series from 1 to 50. / / A program to find the person is eligible for voting or not.   / /A C program to find largest number among 3. / / A C program to perform arithmetic operations using switch case. / /A C program to print ODD numbers from 1 to N using while loop. / /A C program to print ODD numbers from 1 to N using for loop.

Essay on 'Dipawali'

Hình ảnh
Essay on 'Dipawali' Dipawali is the festival of lights. It is a famous festival of the Hindus. It falls in November. It is celebrated all over Nepal. It is said that the people of Ayodhya showed their joy by lighting lamps when Ram returned home from the exile. This was the origin of this festival. Another story is that Krishna killed Narakasur and then the festival began.  image source:  https://www.flickr.com/photos/subharnab/4022933632 People of Hindu religion wait very eagerly for this special festival of Diwali. It is the most important and favorite festival of everyone especially for kids and children of the home. Use the following essay on Diwali to make your kids smart enough at home or school and motivate them to know the history and significance of celebrating Diwali festival every year. Great preparations are made for Dipawali. People get their houses whitewashed and cleaned. They paint their furniture. Shops are decorated very well. New pictures are hung. People bu...

Essay on ‘Dashain’

Hình ảnh
Essay on ‘Dashain’ Dashain is an important festival of the Hindus. It comes in October and begins on the sixteenth day of Aswin. It continues for ten days. It is celebrated very enthusiastically. In Nepal, it a national festival.  There are several stories about the origin of Dashain. It is said that Ram worshipped Durga, a goddess, to kill Ravana and then he killed Ravana. Since then this festival has been in practice. Another story is about Durga. She killed Mahishasaur, a demon king. That was the origin of this festival. Also Read:  Essay on 'Dipawali' image source:  Flickr There is some difference in the celebration of this festival in different places. The first day of Dashain is known as Ghatasthapana, which literally means pot establishing. On the seventh day, phulpati is celebrated which is also known as ‘Saptami’. The eight-day is regarded as Maha Aastami. On this day, animals like goats, hens are sacrificed to goddess Kali and the meat is taken as ‘Prasad’ (holy...

A C program to perform arithmetic operations using switch case.

Hình ảnh
// A C program to perform arithmetic operations using switch case. #include<stdio.h> #include<conio.h> void main() { int ch; float a,b,res; clrscr(); printf("Enter two numbers:"); scanf("%f%f",&a,&b); printf("Enter 1 for Additionn    2 for Subtractionn   3 for Multiplicationn  and 4 for Division"); printf("\nEnter your choice:"); scanf("%d",&ch); switch(ch) { case 1: res=a+b; printf("addition %f",res); break; case 2: res=a-b; printf("subtraction %f",res); break; case 3: res=a*b; printf("multiplication %f ",res); break; case 4: res=a/b; printf("division %f",res); break; default:  printf("Wrong choice!!\nPress any key"); } getch(); } Output: / / A Program to find odd or even. / / A Program to add two numbers.   / / A program to display series from 1 to 50. / / A program to find the person is eligible for voting or not.   / /A C program to find largest number amo...

Advantages of Database Management System (DBMS)

Hình ảnh
image by OpenCliipart-Vectors from pixabay 1. Data sharing The data stored in a database can be share. The main advantage of DBMS is that it helps to create an environment in which the end users get better access to more and structured data. The data in a database is available to all managers and end users.  2. Data security Easy accessibility creates greater risks of data security. Since the data in a database can be accessed by all the end users and the managers, there occur some security problems. But DBMS overcome this problem by giving different authority to all users.  3. Reduce data redundancy The same data may be duplicated at many times in many places, which is called data redundancy. A DBMS reduces the duplicated data from a database. 4. Minimized data inconsistency When the same data is duplicated and changed are made at one site, and not on other sites, it causes data inconsistency. But DBMS reduces the inconsistency problem by elimination two entries regard...

A C program to find largest number among 3.

Hình ảnh
// A program to find largest number among 3. #include #include void main() { int a,b,c; clrscr(); printf("Enter any three numbers:"); scanf("%d%d%d",&a,&b,&c); if(a>b && a>c) printf("Largest number:%d ",a); else if(b>a && b>c) printf("Largest number:%d ",b); else if(c>a && c>b) printf("Largest number:%d ",c); getch(); } Output: / / A Program to find odd or even. / / A Program to add two numbers.   / / A program to display series from 1 to 50. / / A program to find the person is eligible for voting or not.   / / A C program to perform arithmetic operations using switch case. //  A program to print the name 10 times. / /A C program to print ODD numbers from 1 to N using while loop. / /A C program to print ODD numbers from 1 to N using for loop.

A C program to find the person is eligible for voting or not.

Hình ảnh
// A program to find the person is eligible for voting or not. #include #include void main() {    int age;    printf("Enter your age:");    scanf("%d",&age);    if(age >=18)     printf("You are eligible for voting");     else    printf("You are not eligible for voting");    getch(); } Output: / / A Program to find odd or even. / / A Program to add two numbers.   / / A program to display series from 1 to 50. / /A C program to find largest number among 3. / / A C program to perform arithmetic operations using switch case. //  A program to print the name 10 times. / /A C program to print ODD numbers from 1 to N using while loop. / /A C program to print ODD numbers from 1 to N using for loop.

A C program to display series from 1 to 50.

Hình ảnh
// A program to display series from 1 to 50. #include #include void main()  {  int i=1;  clrscr();   for(int i=1; i<=50; c++)  {        Printf(%d,\n”; i);   }   getch();  } Output: / / A Program to find odd or even. / / A Program to add two numbers.   / / A program to find the person is eligible for voting or not.   / /A C program to find largest number among 3. / / A C program to perform arithmetic operations using switch case. //  A program to print the name 10 times. / /A C program to print ODD numbers from 1 to N using while loop. / /A C program to print ODD numbers from 1 to N using for loop.

A C Program to find odd or even.

Hình ảnh
// A Program to find odd or even. #include<stdio.h> #include<conio.h> void main() {     clrscr();     int n, r;     printf("Enter a number:");     scanf("%d",&n);     r=(n%2);     if(r==0)         printf("It is even number.");     else         printf("It is odd number.”);     getch(); } Output: / / A Program to add two numbers.   / / A program to display series from 1 to 50. / / A program to find the person is eligible for voting or not.   / /A C program to find largest number among 3. / / A C program to perform arithmetic operations using switch case. //  A program to print the name 10 times. / /A C program to print ODD numbers from 1 to N using while loop. / /A C program to print ODD numbers from 1 to N using for loop.

A C program to add two numbers.

Hình ảnh
// A Program to add two numbers. #include #include void main() {     clrscr();     int a,b,c;     printf("Enter two numbers:");     scanf("%d%d",&a,&b);     c=a+b;     printf("Sum=%d",c);     getch(); } Output: / / A Program to find odd or even. / / A program to display series from 1 to 50. / / A program to find the person is eligible for voting or not.   / /A C program to find largest number among 3. / / A C program to perform arithmetic operations using switch case. //  A program to print the name 10 times. / /A C program to print ODD numbers from 1 to N using while loop. / /A C program to print ODD numbers from 1 to N using for loop.

Data type of C Programming Language.

Hình ảnh
C- Data type  Data type is an instruction that is used to declare the category or type variable being used in the program. Any variable used in the program must be declared before using it. It determines how much money space it occupies in the storage and how the bit pattern stored is interpreted. the data type can be either predefined or derived. The predefined data types in C are the basic types (int, float and char) and the type void. the derived data types are array, string, structure etc.  1. int data type The int data type is used for integers. Integers are numbers with no decimal point. It requires 2 Bytes of memory space. it can be either signed or unsigned. Derived data types from int are short int and long int.  For example : 24, -90, 1234, 0 etc. 2. float data type This data type is used for numbers that have a decimal point which are commonly called floating-point numbers.  It requires 4 Bytes of memory space. It can also be signed or unsigned. Derived ...

Features of C Programming Language

Hình ảnh
Feaures of C Source: pixabay.com Simple language:  C language is a simple and easy programming language for both learning and programming; therefore most of the computer programming languages follow its syntax and concepts, like C++, Java, C# etc. Portability: One of the reasons of C’s popularity is its portability. We can easily transform a program written I C from one computer to another with few or no change and compile with the appropriate compiler.  Modular programming language:  C language is a modular programming language, which means that we can divide a C program into small modules according to code functionality, which makes the C program easy to understand. Faster and efficient: C is desirable because it is faster and more efficient than other high-level languages. For e.g., a program to increment a variable from o to 15000 takes about 50 seconds in BASIC while it takes 1 second in C. Middle-level programming language:  C language is a middle-level program...

Introduction of C Programming Language

Hình ảnh
C Language Introduction  Computer needs a set of instructions to process data. A program is a sequence of instruction to perform a particular task. A programming language is a well defined set of rules for specifying a proggram's sequence of instructions. C is a procedural programming language. It was initially developed by Dennis Ritchie between 1969 and 1973. It was mainly developed as a system programming language to write operating system. The main features of C language include low-level access to memory, simple set of keywords, and clean style, these features make C language suitable for system programming like operating system or compiler development. C seems so popular because it is reliable, simple and easy to use. It is also called Middle Level Language .  EXAMPLES:  Java, PHP, JavaScript and many other languages is mainly based on C language. C++ is nearly a superset of C language (There are few programs that may compile in C, but not in C++). Data type in c...

Features of Computer

Hình ảnh
Features of Computer: Speed: A computer is a fast data processing system. The time taken by the computer system to execute any task is very fast. It can process thousands of millions of data within a second. A recent computer has a speed of 300 MHX. This means that it can execute an instruction in about 10 nanoseconds. Accuracy: Although computer works at very high speed, it doesn’t make any mistake in data processing. It is 100% accurate machine. Errors can occur in a computer, but these errors are due to inaccurate data or bugs. That means if we feed the wrong data to a computer then the result produced by a computer is also wrong.  Data Storage:  A computer can store the data and program in its primary and secondary memory. Primary memory helps to store the data temporarily and secondary memory helps to store the data permanently. Data and program for current use are stored in primary memory. Secondary memories can store the large volume of data for a long period of time....

What is computer?

Hình ảnh
What is computer? The word computer is derived from the Latin word ‘Computare’ which means to calculate. The computer can be defined as an electronic machine that is used for data processing to produce meaningful information. It receives the data process it according to a set of predefined instruction and then gives the correct result to the user. So it can be defined as a data processor. The father of the computer is known as ‘ Charles Babbage ’. We can say the first calculating machine for counting is Abacus. The question “What is computer?” can also be defined by following diagram: Computers have almost changed the world. Computers have become very essential tools in most walks of life. In almost all fields, advancement, defense, commerce, etc. are the core area where the computers are getting utilized. Today communications are being easy by the growth of computer.  The whole human fraternity is becoming highly dependent on the computer technology; no one can imagine life withou...

Essay on 'Computer'

Hình ảnh
The word computer is derived from the Latin word ‘Computare’ which means to calculate. The computer can be defined as an electronic machine that is used for data processing to produce meaningful information. The father of the computer is known as ‘Charles Babbage’. Computers have almost changed the world. Nowadays the computer has become a part of human life. It helps people in many ways. It can do most of the things that the human mind can do. In this world, the computer plays the vital role. On the basis of its size, it can be categorized into four parts; they are the supercomputer, mainframe computer, minicomputer, and microcomputer. Due to the speed, accuracy, data storage capacity, diligence, versatility, electronic, etc. of the computer, it is widely used. It is a fast data processing system. The time taken by the computer system to execute any tasks is very fast. It can process thousands of millions of data within a second. Although is works at a high speed, but it doesn’t make ...