Showing posts with label BCA Semester-1. Show all posts
Showing posts with label BCA Semester-1. Show all posts

Tuesday, July 30, 2013

Maths 5 Inportant Definations

1. Path:
Path is sequence of edges such that the Terminal vertex of some edge Ei is the Initial vertex of some edge Ej appearing next in the sequence, where 1<=i, J<=n

2.Reachability:
A vertex v of a digraph is said to be reachable from vertex u if there is a directed path in that digraph from u to v

Sunday, April 7, 2013

Most IMP Advanced C-Programming Questions (University Exam)


1.       State different between Array & Structure with example
2.       Explain structure with pointer with suitable example
3.       State different between Array with example
4.       State different between automatic & external variable with example
5.       Different between Global Variable & Static Variables with example

Sunday, November 25, 2012

Wednesday, October 31, 2012

WAP to Print FIBONACCI SERIES 1,1,2,3,5,8,13,21....


/* Fibonacci Series,1,1,2,3,5,8,13,21........*/
#include<stdio.h>
#include<conio.h>
void main()
{
int temp=0,i,n,a,b;
clrscr();
printf("\nEnter Number where you want to stop: ");

Friday, September 28, 2012

How to use Array Statement simple trick


#include<stdio.h>
#include<conio.h>
void main()
{
int i,a [5];
clrscr();
printf("Enter Velue");

for(i=0; a<=5; i++)
{
scanf("%d",&a[i]);
}

printf("Elements of Array");

for(i=0; a<=5; i++)
{
printf("\nA[i], %d",i, a[i]);
}
gethc();
}

Homework Define: Array 5-Times

Array is fixed size sequenced collection of elements of same type.

Note:
-Array is use to handle large amount of data
-Is collection of elements of same data type.

Syntax: How to declared Array Variable
data_type variable_name [size];
int a [5];
- It can be used with all the data type.
* float a [5];
* char a [5];
* double a [5];

- Index of Array always start from 0

Wednesday, September 26, 2012

Accountancy Assignment

Submission Date: 06/10/2012

Questions:

1. What are Final Account? State the object of preparing Final Account.
2. Page Number 324
    Illustration Number : 11, 12, 13, 14, 15, 16

Sunday, September 23, 2012

All C-Programs are Available

Assignment Submission Date 24/09/2012
(Program 7 is not have been declared)


Program 7

Program 9 Co-Ordinates X and Y


#include<stdio.h>
#include<conio.h>
void main()
{
int x,y;
clrscr();
printf("enter value of X:");
scanf("%d",&x);
printf("enter value of Y:");
scanf("%d",&y);

Program 8 Check Triangle or Not


#include<stdio.h>
#include<conio.h>
void main()
{
float a,b,c,A,d;
clrscr();
printf("enter value of first angel A:");
scanf("%f",&a);
printf("enter value of second angel B:");
scanf("%f",&b);

Program 4 Display Price Table



#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
printf("Name\t\tcode\t\t\tPrice\nFan\t\t 67831\t\t\t 1234.5\nmotor\t\t 450\t\t\t 5789.70");
getch();
}

Program 6 Display Month Name


#include<stdio.h>
#include<conio.h>
void main()
{
int m;
clrscr();
printf("enter number of a month");
scanf("%d",&m);

Program 3 Electric Circuit


#include<stdio.h>
#include<conio.h>
void main()
{
float l,r,feq,c;
clrscr();
printf("enter value of L:");
scanf("%f",&l);
printf("enter value of R:");
scanf("%f",&r);

Program 2 Inventory Management



#include<stdio.h>
#include<conio.h>
#include<math.h>
void main()
{
long int dr,sc,hc,a,b,eoq,tbo;
clrscr();
printf("enter value of Demand rate");
scanf("%ld",&dr);

Program 1 Distance Travelled


#include<stdio.h>
#include<conio.h>
#include<math.h>
void main()
{
float U,A,T,distance,a,b;
clrscr();
printf("enter value of U:-");

Program 10 Check Character, Number or Digit


#include<stdio.h>
#include<conio.h>
void main()
{
char ch;
clrscr();
printf("enter value of charecter:");
scanf("%c",&ch);
if(ch>=65&&ch<=90)
{
printf("this is capital letter alphabet");