About Me

My photo
Raipur, Chhattisgarh, India
Hi , I am Amit Thakur. I have worked as a QA Engineer for two years and as a Java Developer for one year in NIHILENT TECHNOLOGIES PVT. LTD., Pune.Currently I am working as DEAN (Research & Development) in Bhilai Institute of Technology, Raipur.

Question Papers

Class Test-I (Sep-2013)
Bhilai Institute of Technology, Raipur
Brach: - CSE, 3rd Sem
Subject: PSLB
Time: 3 Hrs                                                                                                                                 MM: 80



Note: Part (a) is compulsory and attempt any three from the rest.

Q. 1 (a) What is Algorithm? Explain                          (2)
        (b) Explain the Operators available in c.            (8)
        (c) WAP to find out the greatest number   
              among three numbers using Conditional   
             Operator.                                                    (8)
        (d) WAP to find the reverse of number
              using do while Loop.                                   (8)
        (e) Explain the compilation and linking
              process in language C.                                 (8)

Q.2 (a) Write down the difference between   
              while and do while loop.                              (3)
       (b) WAP to check whether entered string is
              Palindrome or not without using library
              function.                                                      (8)
       (c) WAP to find the largest and the smallest
             number in 1-D array.                                   (8)
       (d) Explain the predefined string functions
             available in C Library.                                  (8)
       (e)  Print the following pattern.                           (8)
                                                        1
                                                     2    2
                                                  3    3    3
                                                4   4    4     4
                                            5    5    5    5    5
Q.3 (a) Explain the Array in C.                                 (3)
        (b) Write a user defined function to find the
              sum of digits of a number using                
             category of Return type   with argument.  
                                                                                (8)
       (c) Write a user defined function to check
             whether entered number is prime or not   
             using any category of function.                     (8)
      (d) Explain the break and continue.                    (8)
      (e) Explain the control statements in c.               (8)


-----------------------------------------------------------------------------------------------------------------------------



Branch:-Computer Science & Engineering                                       Sem.:- 3rd    Semester                 Subject: - Programming with C                                                          Max. Marks: - 40

Note:-Attempt all questions.

(1)What is array? Also explain the initialization of array? (3)
(2)What is String? Write a program to check whether string is palindrome or not? (5)
(3)Write a program for multiplication of two matrices?(5)
(4)What is function? Write a user defined function to calculate the simple interest with return
type and with arguments.(7)
(5)What is recursion? Explain with an example?(5)
(6)Explain call by value and call by reference with example?(7)
(7)What is pointer? Also write its advantages? (3)

(8)Write a program to concatenate two strings without using library function?(5)

No comments: