[CP] EE207 COMPUTER PROGRAMMING KTU B TECH QUESTIONS FOR SECOND YEAR [S3] STUDENTS | QUESTION BANK


APJ ABDUL KALAM TECHNOLOGICAL UNIVERSITY

[CP] EE207 COMPUTER PROGRAMMING KTU B TECH QUESTIONS FOR SECOND YEAR [S3] STUDENTS | QUESTION BANK,computer programming ktu questions,computer programming  ktu,computer programming questions,computer programming questions,computer programming questions ktu,ktu computer programming questions,computer programming questions,computer programming questions ktu,ktu computer programming questions,ktu EEE questions,EEE questions,ELECTRICAL & ELECTRONICS questions,cp ktu questions,cp ktu,cp questions,cp questions,cp questions ktu,ktu cp questions,cp questions,electrical and electronics questions
COMPUTER PROGRAMMING
 QUESTION PAPERS


PART A

(Answer All Questions)


1. Define an array?

2. Explain the representation of two-dimensional array with example.

3. Find out errors in the following program component and justify the same:
float i;
int p = 0;
for (i=0; i = 10; i += 2)
{
p = i * 2 ;
printf(” %d ”, i, p) ;
}

4. Draw a flowchart to solve a quadratic equation.

5. Write a program to read a line of text and output the number of words and characters in it.

PART B

(Answer Any Two Questions)


6. Write a program to find two multiply matrices?

7. Write a Program to Print Fibonacci Series?

8. Explain any five string manipulation library functions with examples

9. Write a C program that:

i. Implements string copy operation STRCPY(str1,str2) that copies a string str1 to another string str2 without using library function.

ii. Reads a sentence and prints frequency of each of the vowels and total count of consonants.

No comments:

Powered by Blogger.