0% found this document useful (0 votes)
58 views1 page

Bachelor of Computer Applications (Revised) (BCA) Term-End Practical Examination December, 2017 Bcsl-021 (P) /S4: C Language Programming Lab

This document provides instructions for a C language programming lab exam with two questions worth a total of 40 marks. Question 1 (30 marks) asks students to write a program using functions and a switch statement to perform basic math operations like addition and subtraction based on user input. Question 2 (10 marks) asks students to write a program to count the characters in a given string. The exam is worth a total of 50 marks including 10 additional marks for an oral exam.

Uploaded by

binalamit
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)
58 views1 page

Bachelor of Computer Applications (Revised) (BCA) Term-End Practical Examination December, 2017 Bcsl-021 (P) /S4: C Language Programming Lab

This document provides instructions for a C language programming lab exam with two questions worth a total of 40 marks. Question 1 (30 marks) asks students to write a program using functions and a switch statement to perform basic math operations like addition and subtraction based on user input. Question 2 (10 marks) asks students to write a program to count the characters in a given string. The exam is worth a total of 50 marks including 10 additional marks for an oral exam.

Uploaded by

binalamit
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/ 1

No.

of Printed Pages : 1 BCSL-021(P)/S4

BACHELOR OF COMPUTER APPLICATIONS (Revised)


(BCA)
Term-End Practical Examination
r--; e--
1-a
- December, 2017

BCSL-021(P)/S4 : C LANGUAGE PROGRAMMING LAB

Time : 1 Hour Maximum Marks : 50

Note : (i) There are two questions in this paper. Answer them both.
(ii) They carry 40 marks.
(iii) Rest 10 marks are for viva-voce.

1. Write a C program, using appropriate user-defined functions and a switch


statement to perform addition, subtraction, multiplication and division, if two
numbers and choice of the arithmetic operation are given as inputs. 30

2. Write a C program to count the number of characters in a given string. 10

BCSL-021(P)/S4 1 1,000

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy