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 · 2024

CU Maths Major Sem 1 SEC-1 Question Paper 2024

C Language with Mathematical Applications

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

University of Calcutta

2024

MATHEMATICS — HONOURS

Paper : SEC-1

(C Language with Mathematical Applications)

Full Marks : 75

B(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 :$3\times5$

    1. Write the output of the following C program :
      #include<stdio.h>
      main()
      {
      int x = 7, y = 3, z;
      z = x%y + x/y;
      printf("z = %d", z);
      }
    2. What will be the output of the following C program? Give reasons in support of your answer.
      #include<stdio.h>
      main()
        {
          int  n = 2025;
          printf("Result=%d",  n/2);
        }
    3. What will be the output of the following C program? Give reasons in support of your answer.
      #include<stdio.h>
      main()
        {
          int  m,  n=6,  p=6;
          m=n==p;
          printf("%d",  m);
        }
    4. Write the following expression in C : \[ \tan\left(1+\sqrt x\right)+3^{\cos x^3}+\log_{10}\left|1+\sec^3x\right| \]
    5. Explain the use of if-else statement in C with the help of an example.
    6. Compare and contrast RAM and ROM.
    7. State the conditions that a variable name in C must satisfy.
  2. Answer any five questions :

      1. What are the main data types in C? Write short note on any one of them.
      2. Write a program in C to find the sum of odd numbers between 0 and 100. 3+5
      1. What is a loop in C? Explain its necessity with the help of an example.
      2. Write a program in C to sort 25 real numbers in ascending order. 3+5
      1. Describe the use of logical operators in C.
      2. Write a program to check whether a given number is divisible by both 3 and 5. 3+5
      1. Compare between for and while loops.
      2. Develop a C program to compute the product of two matrices of order $2\times2$. 3+5
      1. Find the errors in the following C program :
        #include<stdio.h>
        int main()
          {
          int i;
          for  (i = 0,  i! = 4;  i++)
          print("%f", - - i);
          return 0,
          }
      2. Write a program in C to read three numbers $x$, $y$, $z$ and rotate their values, such that $x$ has the value of $y$, $y$ has the value of $z$ and $z$ has the value of $x$. 3+5
      1. Write the different relational operators used in C language.
      2. Write a C program to find the variance of a given set of numbers. 3+5
    1. Explain the differences between “break” and “continue” statements in C. Write a program to illustrate the use of both. 3+5
  3. Answer any two questions :

      1. Write a C program to find the approximate value of $\pi$.
      2. Write a program in C that reads a positive integer, and checks whether it is an Armstrong number or not. 5+5
      1. Write a program in C that reads 20 names and sorts them in alphabetical order.
      2. Write a C program to evaluate $f(x)$ for $x=0,2,\dots,10$ using a function sub-program, where \[ f(x)=\begin{cases}x^2+2\sin x, & x<2\\ 2, & x=2\\ x^3+e^x, & x>2\end{cases} \] 5+5
      1. Write a program in C to compute the sum $1-\dfrac{2}{2!}+\dfrac{3}{3!}-\dfrac{4}{4!}+\dfrac{5}{5!}-\dots-\dfrac{50}{50!}$.
      2. Write a program in C that reads a positive integer and prepares its multiplication table. 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 2024 SEC-1 question paper?

Yes. This is the University of Calcutta 2024 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 2024 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.