How To Exam?

a knowledge trading engine...


Krantiguru Shyamji Krishna Verma Kachchh University 2012 B.C.A Computer Application Introduction to programming in c language4 - Question Paper

Sunday, 03 February 2013 06:40Web

M.Sc.(CA & IT) 2nd SEM
INTERNAL exam
SUBJECT: INTRODUCTION TO PROGAMMING IN C LANGUAGE
YEAR: 2012-13



Q1. ans the following:
a. State the whether actual or false also provides reasons.
1. Each case tag can have only one statement.
2. The modulo (%) operator can be used only with integer.
3. Both pretest loops include initialization within the statement.
4. Float datatype occupies eight bytes in the memory.
5. All static variables are automatically initialized to one.
b. Fill in the blanks
1. Streat function has parameters.
2. In prototype declaration, specifying is optional.
3. A variable declared inside a function is called .
4. Function is used to move a file pointer to beginning of a file.
5. And is operator.
Q2.(a)explain the following: any two
1. Explain goto statement with example.
2. Explain entry controlled loop with example.
3. Explain high level language.
(B) discuss the following: any two
1. write an algorithm to obtain minimum of 3 numbers.
2. explain any 4 string handling function available in standard string library.
3. what is flowchart? How it is useful in program development?
Q3. ans the subsequent : any two
1. What is kind casting? Why it is needed? Justify your ans with an example.
2. What is array? discuss 2 dimensional with an example.
3. Explain structure and design a structure as per subsequent requirement. Roll no name activity.
(b) ans the following: any two
1. discuss fseek() and rewind() function.
2. discuss isdigit() and isalpha() function.
3. discuss fprintf() and fscanf() function.
Q4. (A) ans the following(any one):
1. Draw a flowchart to obtain the sum of series 1+8+27….
2. Write an algorithm to obtain the sum of series 1+1/2+1/3…
(B) ans the following: any 2
1. #include
Int main()
{
Int a=320
Char=*ptr
ptr=(char *) &a
printf("%d",*ptr)
Return 0
}
2. int main()
{
Int a=2, b=7, c=10
C=a==b
printf ("%d",y)
Return 0
}
3. #define PRINT printf("starwars") printf("Pscyho")
Int main ()
{
Int x=1
If(x)
PRINT
else
printf(" the Shaw shank redemption")
return 0
}
Q5. Write a c program for the subsequent. Any two
1. To short an array using function.
2. Write a function using pointer to exchange the values stored 2 locations in the memory.
3. Write a program to count vowels and consonant from giving string.

Body language is to verbal communication what underlines/ highlighting is to written communication. It increases the impact of message.

Allan Pease believes that it is possible to get others to do what you wanted if you read their real feelings and responded appropriately to their needs.

According to study conducted by anthropologist Ray Birdwhistell, an average person actually speaks words for total to about ten eleven minutes a day and that an average only about 2.5 seconds.

 


( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER Krantiguru Shyamji Krishna Verma Kachchh University 2012 B.C.A Computer Application Introduction to programming in c language4 - Question Paper