Skip to content

Offline classes at our Garia centre · New centres opening soon in prime Kolkata locations See centres

School & JEE 90072 93439 B.Sc Maths 90882 61414

University of Calcutta · CCF / NEP · 2023

CU Maths Major Sem 1 SEC-1 Question Paper 2023

C Language with Mathematical Applications

  • CourseMathematics Major (Honours)
  • Semester1
  • PaperSEC-1
  • Exam year2023
  • Full marks75

University of Calcutta

2023

MATHEMATICS — HONOURS

Paper : SEC-1

(C Language with Mathematical Applications)

Full Marks : 75

Z(1st Sm.)-Mathematics-H/SEC-1/CCF

The figures in the margin indicate full marks.
Candidates are required to give their answers in their own words as far as practicable.
Notations and Symbols have their usual meaning.

  1. Answer any five questions :

    1. What do you understand by a constant and a variable in C-language? Explain with a suitable example. 3
    2. Write the output of the following C-program. 3
      #include<stdio.h>
      main()
        {
          int m,n, p=5;
          m=p++;
          n=++p;
          printf("m=%d, n=%d, p=%d", m,n,p);
        }
    3. Write the following expression in C : 3 \[ e^{x^3+2\cos x}+\ln|1+\sin x|+2^{\sin^2x} \]
    4. Distinguish between the user-defined function and standard built-in function. 3
    5. Write the syntax of for-loop and explain it with suitable example. 3
    6. Compare between primary and secondary memory. 3
    7. What is an one-dimensional array? Give an example. 2+1
  2. Answer any five questions :

    1. What is the objective of the main() function in C? What is the purpose of the printf() function and the scanf() function? Explain with examples. 3+2+3
    2. Consider the following function $f:[0,4]\to\mathbb{R}$ : \[ f(x)=\begin{cases}x^3+\sin x^2, & 0\leq x<2,\\ 2\cos x+e^{x^2}, & 2\leq x<4.\end{cases} \] Write a program in C which will ask for a value of $x$ in $[0,4]$ and will print the corresponding value of $f(x)$. [$\mathbb{R}$ stands for the set of real numbers]. 8
    3. Explain the difference between while loop and do-while loop. Write a program in C to read a non-negative integer and find its factorial. 3+5
      1. What is meant by an operator in C-program? Explain the function of logical AND operator.
      2. Using logical AND and logical OR operators, write a C-program to test whether a given year is a leap year or not. (1+2)+5
      1. Write three differences between a Compiler and an Assembler.
      2. Write a C-program to find the maximum element of a given array. 3+5
      1. Write a C-program to print the following pattern :
        *
        **
        ***
        ****
      2. What is a header file in C? Write a short note on any one of the header files. 4+(2+2)
      1. What is a keyword in C? Mention any four key words.
      2. Write a C-program to find the transpose of the matrix $\begin{pmatrix}1&2&3\\4&5&7\end{pmatrix}$. (1+2)+5
  3. Answer any two questions :

      1. Write a program in C to read three numbers $a$, $b$, $c$ and find the roots of the quadratic equation $ax^2+bx+c=0$.
      2. Write a program in C to read a number $x$ and find the sum : $x+\dfrac{x^3}{3}+\dfrac{x^5}{5}+\dots+\dfrac{x^{25}}{25}$. 5+5
      1. Write a C-program to evaluate the sum of two matrices of same order.
      2. Using for-loop, write a C-program to print first 40 terms of the Fibonacci sequence 0 1 1 2 3 5 8 13 21 ... 5+5
      1. Write a C-program to solve a system of two linear equations in two unknowns $x$ and $y$.
      2. Write a C-program to find the AM, GM, HM of $\{3, 8.3, 8.8, 5, 3.1, 2, 6.6\}$. 5+5

Typed and checked by PALMATHS from the original CU question paper. Spotted a typo? Tell us on WhatsApp.

Questions students ask

Is this the real CU 2023 SEC-1 question paper?

Yes. This is the University of Calcutta 2023 Mathematics Major (Honours) Semester 1 paper SEC-1 (C Language with Mathematical Applications). PALMATHS typed every question from the original paper and checked it line by line, so you can read it on your phone or print a clean copy.

How many marks is the CU SEC-1 paper?

The 2023 SEC-1 paper is for 75 full marks. The marks for every question are shown on the right, exactly as in the original paper.

Where can I get solutions or help with this paper?

Message Biswadip Sir on WhatsApp at +91 90882 61414 for doubts on any question, or join the PALMATHS B.Sc Mathematics classes (online or offline at Garia, Kolkata). Free video lessons are on the Biswadip Sir YouTube channel.