DO NOT MISS

Ads

Tuesday 30 August 2016

Freeze panes & Split in Ms-Excel



Group,Ungroup & Subtotal in Ms-Excel



Pivot Table in Ms-Excel



Monday 29 August 2016

C-Programs Using One Dimensional Array (Static Time)


* Write a program create 5 elements integer array to store zero's.

#include<stdio.h>
#include<conio.h>

void main()

       {

              int i,
a[5];
              clrscr();

           
  for(i=0;i<5;i++)
             
              a[i]=0;
              for(i=0;i<5;i++)

              printf("%d\t",a[i]);

              getch();

       }
Output:-


* Write a program create 10 elements integer to store numbers from 0 to 9 print the array.

#include<stdio.h>
#include<conio.h>

void main()

     {

           int i,
a[10];
           clrscr();

           
for(i=0;i<10;i++)
           a[i]=i;
           for(i=0;i<10;i++)

           printf("%d\t",a[i]);

           getch();

     }

Output:-


* Write a program create 10 elements integer array to store natural numbers from 1 to 10 and print the array.

#include<stdio.h>
#include<conio.h>

void main()

    {

           int i,
a[10];
           clrscr();

           
for(i=0;i<10;i++)
           a[i]=i+1;
           for(i=0;i<10;i++)

           printf("%d\t",a[i]);

           getch();

     }

Output:-


* Write a program create 10 elements integer array to store even numbers and print the array.


#include<stdio.h> 
#include<conio.h> 

void main() 

     {

           int i,a[10]; 
           clrscr(); 

           for(i=0;i<10;i++) 
                 { 
                      a[i]=(i+1)*2; 
                 } 

           for(i=0;i<10;i++) 
           printf("%d\t",a[i]); 

           getch(); 

     }

Output:-



* Write a program to print 5 integer array values.


#include<stdio.h>
#include<conio.h>

void main()

     {

           int i,a[5]=
{10,35,20,55,15};
           clrscr();

         
 for(i=0;i<5;i++)
                {
                   printf("a[%d] value is:%d\n",i,a[i]);
                }

           getch();

      }

Output:-


* Write a program to print 5 integer array values Using Arithmetic Operators.


#include<stdio.h> 
#include<conio.h> 

void main() 

     { 

          int a[5]; 
          clrscr(); 

          a[0]=20; 
          a[1]=30; 
          a[2]=a[0]*a[1]; 
          a[3]=a[2]-a[1]; 
          a[4]=a[3]+a[3]; 

          printf("a[0] value is:%d\n",a[0]); 
          printf("a[1] value is:%d\n",a[1]); 
          printf("a[2] value is:%d\n",a[2]); 
          printf("a[3] value is:%d\n",a[3]); 
          printf("a[4] value is:%d\n",a[4]); 

          getch(); 

     }

Output:-


_______________________________________________________________________________


Sunday 28 August 2016

How to Prepare Charts in Ms-Excel



Saturday 27 August 2016

QUIZ of the Adobe PageMaker



This set contains 10 multiple choice questions from Adobe Page Maker. Each question has four possible options and there is one and only one correct answer for each question.

_________________________________________________________________________________

1. First Desktop Publishing Program.


A) Photoshop
B) Corel Draw
C) Image Ready
D) Page Maker


2. Who is introduced PageMaker

A) Adobe Systems
B) Aldus
C) Ken thompson
D) Dennis ritchie



3. Which tool used to crop imported images down to size.

A) Pointer tool
B) Crop tool
C) Text tool
D) Frame tool




4. Which option used to paste numerical offset from the original object.

A) Cleae
B) Paste 
C) Paste multiple
D) Edit original

5. Shortcut of Ellipse frame tool 

A) Shift + Alt + F5
B) Shift + Ctrl + F5
C) Shift + F5
D) 
Shift + Alt + F6



6. Visiting Card Measurements in inches (Width * Height) ? 

A) 4.2 * 3
B) 5 * 4
C) 3.5 * 2.5
D) 3.5 * 2


7. Which year released Page Maker Windows version? 

A) 1985
B) 1986
C) 1987
D) 
1988


8.  Name of the tool 

A) Rotate tool
B) Rectangle tool
C) Frame tool
D) Rectangle Frame tool
 


9. Which option used to you can change the shape of its corners, as you are required.

A) Mask
B) Rounded Corners 
C) Polygon Settings
D) None of above
  



10. What is creating in Page Maker?

A) Wedding Albums 
B) Draw the building plans 
C) Visiting cards & Wedding cards
D) All of the above

__________________________________________
>> Back to Quiz of All Computer Courses
___________________________________________________________________________________


One Dimensional Array in C-Language



A group of items can be given one variable name using only index such as a variable is known as single dimensional array. Single dimensional arrays the elements are represented one or two index of memory bytes.

(or)

A list of items can be given one variable name using only one subscript a such a variable is called a single sub scripted variable or One dimensional array. 



1. One Dimensional Arrays :- 

Collection of values with similar datatype using only one subscription is known as a One dimensional Array. 

Assigning the values to an One Dimensional Array :- 
There are two ways to assigning the values to an Array. 

1. Static time ( or ) Compile time 
2. Dynamic time ( or ) Run time 

1. Static time ( or ) Compile time:- 
In static time we can give the values to an Array at the time of compiling the program in two ways. 

1. One Dimensional Array initialization 
2. One Dimensional Array assignment 

1. One Dimensional Array initialization :- 
Assigning the values to an Array at the time of Variable declaration is known as a Variable initialization. 

Ex 1:- 


int a[5]={1,2,3,4,5}; 




Ex 2:-

int a[5]={10,15,30};


Ex 3:-
int a[5]={5,34,67,12,4,9,23,87};
It's Variable initialization is Error.

Ex 4:-
int a[5]={0};

2. One Dimensional Array Assignment :- 
Assigning the values to an Array after the Variable declaration is known as a Variable Assignment. 

Ex :- 

int a[5]; 

a[0]=1; 

a[1]=2; 

a[2]=3; 

a[3]=4; 

a[4]=5;


Displaying an Array values :-
By using the printf() we can display an Array values in two ways.

1. Without using loops.
2. With using loops.


1. Without using loops :-

Ex :-
int a[5];
printf("%d",a[0]);
printf("%d",a[1]);
printf("%d",a[2]);
printf("%d",a[3]);
printf("%d",a[4]);

2. With using loops :-

Ex:-
int a[5];
for(i=0;i<=size-1;i++)
printf("%d",a[i]);
  


2. Dynamic time :-

In Static time the values are can not be changed while running the program.
But if we want to give the values to Variable alternatively we should use the fallowing function scanf () .

scanf() :-
By using this function we can give the values to an Array Dynamically two ways.
1. Without using loops.
2. With using loops.

1. Without using loops :-
Ex :-
int a[5];
scanf("%d",&a[0]);
scanf("%d",&a[1]);
scanf("%d",&a[2]);
scanf("%d",&a[3]);
scanf("%d",&a[4]);

2. With using loops :-
Ex :-
int a[5];
for(i=0;i<=size-1;i++)
scanf("%d",&a[i]);



_____________________________________
_______________________________________________________________________________



Friday 26 August 2016

How to Use Comments in Ms-Excel



Formula Auditing Option in Ms-Excel



Arrays in C-Language



In a Variable we can store only 1 value.

But if we want to store more than 1 value in the same Variable we should Arrays.

Collection of values with similar Datatype is known as Arrays. 

(or)

An array is a graph of related data items that store common name. For instance can define an array name"Marks" a set of marks of subscript in brackets after the array name. For example marks[10]. While the compute set of values is refer to as an array the individual values are called elements. Array can be any variable type. The ability to use a single name to represent a collection of items.



Syntax :-

Datatype arrayname [size];

here [] are subscrips.



Ex :-

int a[5];

Every Array values are stored in indexes. 
Every Array index starts with '0' and ends with 'size-1'.



TYPES OF ARRAYS

There are three types of Arrays.



      

______________________________________________________________________________
________________________________________________


Thursday 25 August 2016

Defined Names Option in Ms-Excel



Data Table Option in Ms-Excel



Goal Seek Option in Ms-Excel



Tuesday 23 August 2016

Program 28 (Format 28) Using nested for loop


#include<stdio.h>
#include<conio.h>

void main()

      {

           int i,j,k;
           clrscr();

         
 for(i=1;i<=5;i++)
                {
                    for(k=1;k<10-i;k++)
                    printf(" ");

                    for(j=1;j<=i;j++)
                    printf("*");
                    printf("\n");
                }

           getch();

      }

Program 27(Format 27) Using nested for loop


#include<stdio.h>
#include<conio.h>

void main()

       {

              int i,j;
              clrscr();

              for(i=1;i<=5;i++)
                   {
                        for(j=1;j<=5;j++)

                        if(i+j<=5)
                        printf("%3c",' ');
                        else
                        printf("%6c",'*');
                        printf("\n");

                   }

              getch();

       }

___________________________________________________________________________

Program 26(Format 26) Using Nested for loop


#include<stdio.h>
#include<conio.h>

void main()

     {

           int i,j;
           clrscr();

         
 for(i=5;i>=1;i--)
                  {
                        for(j=1;j<=i;j++)

                        printf(" * ");
                        printf("\n");

                 }

           getch();

     }

___________________________________________________________________________

Greataims

 
Copyright © 2016 Computersadda. Designed by @ Computersadda Team - Published By Greataims