Posts

Showing posts from November, 2019

c-language.....

1. write a program transpose matrices. ans:- #include <stdio.h>          #include <conio.h>           void main()           {            int mat[3][3], trans[3][3], row, col;             clrscr();           for(row=0;row<3;row++)          {           for(col=0;col<3;col++)          {         printf("input the data")         scanf("%d", &mat[row] [col]);    } }        for(row=0;row<3;row++)        {       for(col=0;col<3;col++)        {          trans[row][col]= mat[col][row];     }         for(row=0;row<3;row++)     ...

c- programming in 1-D array....

1. write a program in c to input to element in an array display the largest and smallest element by using 1-D array. ans:- #include <stdio.h>         #include <conio.h>          void main()         {           int arr[10],i, large=0, small=0;            clrscr();          printf("input ten elements");          for(i=0;i<10;i++)         {           scanf("%d", &arr[i]);          if(arr[i]>0)          large++;          else            if(arr[i]<0)              small++;     printf("\n largest=%d, \n smallest=%d", largest, smallest);            getch();  ...

c- programming.....

1. write a program in c to input five elements by display them by using the concept 1-D array. ans:-  #inculde <stdio.h>          #inculde <conio.h>           void main()           {           int arr[5], index;           clrscr();          printf("input five elements");          for(index=o;index<5;index++)         {           scanf("%d", &arr[i]);          for(index=o;index<5;index++)          {           printf("%d", arr[i]);   }           getch();                     } 2.write a program in c to input the five element and display their sum and average by using the concep...

#2 EASY WAY TO LEARN C PROGRAMMING ||JLC HAJIPUR

Image

#3 EASY WAY TO LEARN C PROGRAMMING ||JLC HAJIPUR

Image

C- PROGRAMMING.....

Array:- Array is the collection of similar data-type...... Array value is always positive..... Array syntex is data type arr[size]...... it is unbuilt..... The starting index value is zero, and last index value is size-1..... size of array is fixed..... The address of zeroes position is called base address..... ARRAY IS DIVIDED IN TO THREE TYPES:- ONE-DIMENSIONAL ARRAY. TWO-DIMENSIONAL ARRAY. MULTI-DIMENSIONAL ARRAY. One- dimensional array is like a list...... it is also known as vector or 1-D array.... Two- dimensional array is like a table.... it is also known as matrices or 2-D array...... some example of array:- list of employees in a company.... list of student in a class.... list of product sold.... list of customers.......

BASIC COMPUTER INTRODUCTION.......

1. What is computer? Ans:- computer is an electronic device that accepts information (in the form of digitalized data) and manipulates it for some result based on a program or sequence of instruction on how the data is to be processed. Benefits of a computer- accuracy. fast speed. diligence. versatility. storage. automation. reliability. computer history- several BC age abacus used for counting.... In 1614 Logarithms (laghuganak) discovered by JOHN NAPIER...... In 1622 invention of side rule by ROBERT BISSAKER..... In 1642 1st mechanical digital calculator invented by PASCAL.... In 1822 CHARLES BEBBAGE Invents "different engine" and in 1833 he gave us "analytical engine". In 1937 the 1st electronic digital computer was built by Dr. John V. Atanasoff and Clifford berry. it was called the ATANASOFF- BERRY COMPUTER(ABC). In 1943 an electronic computer name the colossus was built for the military......

Sort tricks of HYBRIDIZATION

Image

BCA SEM1 PROGRAMMING.......

1. Write a program in c to display your name seven times by using do while loop. ANS:- #include <stdio.h>           #include <conio.h>              void main()             {             int i=1, name:              clrscr():            do            {              printf("\n AISHA"):               i++:             }                while(i<8):                getch():                           }

C-PROGRAMMING.....

1.Write a program in c to count the number of student having age less than 25 and weight less than 50 kg out of 5 by using do while loop. Ans:-# include<stdio.h>          # include<conio.h>             void main()             {             int age,weight,count,i=1:               clrscr():         printf(" plz input the data of student "):         do          {        scanf(" %d%d ", &age,&weight ):        if(age<25&&weight<50){         count=count++          i++         }           while(i<=5)          {       printf("no. of students with age<25 and we...

Motu Patlu | Motu & Patlu Meets Narsimha | Viacom18 Motion Pictures

Image

computer input device.....

1.keyboard:-                       Keyboard is most common and very popular input device. The keyboard helps in inputting the data to the computer. The layout of the keyboard is like that of traditional type writer. all those are some additional keys provided for forming some additional functions. there are generally 102 keys present in the keyboard. 2.Mouse:-                 The mouse is most popular pointing device. It is a very famous cursor control device. It is a palm side box with a round ball at its base which senses the movement of mouse. And sends corresponding signals to CPU on pressing the button. there are generally two buttons. left and right buttons and scroll bar is present at the middle part. ADVANTAGES:- 1. Easy to use. 2. Not very expensive. 3. Moves the cursor faster the arrow. 3.Joystick:-                   Joystick...

computer fundamental.....

1.what are the five basic function performed by a computer system? Ans:-  All computer systems perform the following five basic function for converting raw input data into useful information and presenting it to a user:- 1.Inputting-     It is the process of entering data and instructions into a computer system. 2.Storing-     It is the process of saving data and instruction to make them readily available for initial or additional processing as and when required. 3.Processing-     performing arithmetic operations (add, subtract, multiply, divide etc), or logical operations (comparisons like equal to, less than, greater than, etc) on data to convert them into useful information is known as processing. 4.Outputting-     It is the process of producing useful information or results for a user, such as printed report or visual display. 5.Controlling-     Directing the manner and sequence in which the above operation...

SYSTEM SOFTWARE Vs APPLICATION SOFTWARE.

SYSTEM SOFTWARE:- System Software is a vast collections of programs code with accepting different kinds of criteria, such as supporting the codes of predefined modula, structure and system capabilities. Different area such as setting a keyboard, mouse, network, wi-fi, ODBC(open data base connectivity), wallpaper settings, desktop settings, printer settings, screen saver settings and more 1000 of settings are support by system software. some popular system software knowing as disk operating system, window operating system, mac-ox, UNIX, LINUX etc. APPLICATION SOFTWARE:- Application Software is also collection of program coding which is generally acceptable by the System Software or generally installing. In application software user can make any type of application and rendered it for use of user. There are different kinds of application program such as ms office related program, photoshop, micromedia flash, maya software etc.

BCA SEM1 C PROGRAM

Write a program input the number and reverse it. #include <stdio.h> #include <conio.h> void main() { int num,rev,rem: clrscr(): printf("Input the number"): scanf("%d", &num): while(num>=0) { rev=(rev*10)+rem: rem=num%10: rev=num/10: } printf("REVERSE NO.=%d/n", rev): } getch() }
write a program to calculate sum of individual digits of a given number. #include<stdio.h> #include<conio.h> void main() { int num, sum=0, rem: clrscr(): printf("input the number"): scanf("%d", $num): for (:num>0: num/10) { rem=num%10: sum=sum+rem: printf ("%d",sum): } getch(): }