Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

SHRI RAMSWAROOP MEMORIAL UNIVERSITY

Internal Test – II
Session : 2020-21 (Even Sem.) Semester : II
Course : BCA/ B.Sc.-IT Subject Code : BCS2010
Branch : Subject Name : Structured programming
using C
Group : BCA- Name of Faculty Member : Megha Agarwal &Ashok
21,22,23/ BSI- Masih
21
Date 03/07/2021 Duration 1 hr 15 min. Max. Marks 30 SET No. I
University Roll No.
(To be filled by the Student)

Assessment Pattern as per Bloom’s Taxonomy:


Remember Understand Apply Analyze Evaluate Create Total
3 4.5 21.5 - - 30
Course Outcomes for Assessment in this Test:
Cos Course Outcome
CO1 Understand the concept of data types, loops, functions, array, pointers, strings,
structures and files

CO2 Illustrate flow chart, algorithm and program logic


CO3 Analyze problems, errors and exceptions.

CO4 Apply programming concepts to compile and debug C program to find solutions

Pattern Mapping Marks


COs
Very short answer type questions. Write the answer in one or two lines. [5X1=5]
Q. 1 a) Explain the syantax of for loop. Understand CO1 [1]
b) What do you mean by exit control loop? Remember CO1 [1]
c) What do you mean by nested loops? Remember CO1 [1]
d) Explain the working of break statement. Understand CO1 [1]
e) What do you mean by functions? Remember CO1 [1]

Short answer type questions. Write the answer in 150 words [4X2.5=10]
Q. 2 a) Develop a C program to find the sum of first ‘N’ natural numbers. Apply CO2 [2.5]
b) Develop a C program to print the Fibonacci series upto ‘N’terms. Apply CO2 [2.5]

c) Compare between formal and actual argument with the help of C Understand CO1 [2.5]
program.
d) Develop a C program to print the pattern: Apply CO2 [2.5]
12345
1234
123
12
1
Long answer type questions [7+8=15]
Q. 3 a) Build a user defined function to find the factorial of any inputted Apply CO4 [7]
number using:
1. Recursion
2. Without Recursion
b) Develop a menu driven program that offers following choices to the Apply CO4 [8]
user and performs appropriate action according to the choice opted by
user.
1. Sum of digits of any inputted number
2. Reverse of a number
3. Count the no. of digits in any inputted number

You might also like