0% found this document useful (0 votes)
9 views

16 Programming Concepts Using C – April May 2021 (Repeaters Y2K8)

This document outlines the examination structure for the BCA 105 course on Programming Concepts Using 'C', including instructions, question sections, and marks distribution. It consists of multiple sections with varying question formats, including multiple-choice, algorithm writing, program development, and theoretical explanations. The exam is designed for students who are repeaters and includes specific sections for students admitted from 2011 onwards.

Uploaded by

puneeths7652
Copyright
© © All Rights Reserved
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
0% found this document useful (0 votes)
9 views

16 Programming Concepts Using C – April May 2021 (Repeaters Y2K8)

This document outlines the examination structure for the BCA 105 course on Programming Concepts Using 'C', including instructions, question sections, and marks distribution. It consists of multiple sections with varying question formats, including multiple-choice, algorithm writing, program development, and theoretical explanations. The exam is designed for students who are repeaters and includes specific sections for students admitted from 2011 onwards.

Uploaded by

puneeths7652
Copyright
© © All Rights Reserved
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

ililrllilililililil]lll]illlll /6 Qp - 455

I Semester B,C.A. Examination, April/May 2AZ1


(Repeaters) (Yef8 Scherne)
COMPUTER SCIENCE
BCA 105 : Programrning Concepts Using 'C'
Time : 3 Hours Max. Marks : TO$A
lnstruc:tions: 1) Answer all questions. t

2) Section D is applicable ta students who have taken


admission in 2011 - tZ aid anwards onty.

l. Answer any ten questions. Each question carries one mark. (10x1=10)
1) What is an algorithm ?
2) Define a constant.
3) What are the modifiers lor char data type ?
4) What is sizeof$ operator ?
5) What is the difference between pre-increment and post increment operators ?
6) What is the difference between break and eontinue ?
7) Write the general syntax of switch statement.
8) Mention the categories of functions.
9) How strings are initialtzed?
10) Give an example of declaring and initializing pointer.
1 !) What is the diffe6ence between a{ruy and str.ucture ?
12) What is the difference between structure and union ?
SECTION - B
Answer any five questions (5x3=15)
13) Write an algorithm to find the sum of n natural numbers.
14) Write the general syntax of the following :
a) if-else b) switch c) for loop
15) Draw a flowchart to find the'largest of three nurnbers.
16) What is the difference between getch() and getchar$ functions ?
17) What is recursion ? Write a program to find the factorial of a number using
recursion.
18) What are the advantages of functions ?
19) Write a program to find a number is prime or not.
20) Give any three differences between structure and union.
P.T.O.
QP - 455 I tililil1filrlll lllll llllr lllr llll

SECTION _ C
lll. Answer any five questions. Each question carries se\ren marks. (5x7=35)
21) Write a C program to compute the sum of even numbers and odd numbers
using functions.
22) a\ Explain relational and logical operators prith an example. 3
b) List out built in mathematical functions' 4
23) a) Explain the following for 1-D and 2-D array"
i) Storage rePresentation
ii) Declaration sYntax.
b) What is the difference between if-else and switch statement ? Explain
with an examPle.
24) What is a function ? Explain different categories of functions.
25) a) Write a C program to check whether it is alphabet or digit or special
symbol. 4

b) write a c program to find the Iength of string using strlen(). 3


26) Explain looping control statements with suitable examples.
27) a) Explain array of structures with an example.
b) Declare a union with three members of type integer, char, string and
illustrate the,use of union. 4

28) Explain with example how the structure is


a) lnitialised. 4
b) Differentiate between local and global variables. 3

SECTION _ D
(Only for 2011 - 12 and Onwards)
tV. Answer any one question. Eaph question carries ten marks.
2g) Write a C program to perform addition and subtraction of two matrices.
30) a) Write a program to implement bubble sort'
b) Explain any two string functions with syntax and example.

You might also like