We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2
LOGIC CLASSES, RAMTEK
Bachelor of Computer Application (BCA)
Test Series: 04 Subject – 'C' Programming Time – 3 hrs. Total Marks - 80 Note – All questions are carrying equal marks.
Q.1. Long Answer. (any one out of two) 01x12=12
A) Discuss the problem-solving techniques and development tools. Explain with an example. Also explain pseudo code with example. OR B) What do you understand by programming structure explain in brief.
Q.2. Long Answer. (any one out of two) 01x12=12
A) What is looping statements? i. For loop ii. While loop iii. Do-While loop Write a program to print even number from 51 to 120 using for loop. OR B) Explain different type of operators used in c-language.
Q.3. Long Answer. (any one out of two) 01x12=12
A) What is recursive function? write a C program to calculate the factorial of number using recursive function. OR B) Explain string manipulation function with their syntaxes & with suitable example. Q. 4. Long Answer. (any one out of two) 01x12=12 A) What is file pointer? Explain a file opening mode and file handling functions. OR B) What is pointer? explain the use of address operator (&) pointer variables, void pointer & pointer arithmetic with suitable example.
Q.5. Short Note. (Any four out of six) 04x05=20
A) What is primary (Built-in) data type? B) Difference between break and continue statement. C) What is user defined data type. D) Define function category. Write its different type of categories and explain any one of them. E) What is error? Explain types of error. F) Explain file stream classes in C.
Q.6. Short Answer. (All questions are compulsory) 06x02=12
A) What is purpose of get-ch. B) Write the multifunction program syntax. C) Explain Go To statement with example. D) Write syntax of File Pointer. E) Give the syntax of ternary operator. F) Give the list of all keywords in C language.