Problem Solving using Computer and ‘C’ Programming I- LAB
----------------------------------------------->SLIP 9<------------------------------------------------
OR
----------------------------------------------->SLIP 10<----------------------------------------------
OR
----------------------------------------------->SLIP 11<----------------------------------------------
OR
----------------------------------------------->SLIP 12<----------------------------------------------
OR
----------------------------------------------->SLIP 13<----------------------------------------------
OR
----------------------------------------------->SLIP 14<----------------------------------------------
OR
----------------------------------------------->SLIP 15<----------------------------------------------
OR
----------------------------------------------->SLIP 16<----------------------------------------------
Q 1) A i.Write a C program to find the area and perimeter of rectangle. [5 marks]
ii.Write a program to display n lines of the following pattern. [10 marks]12 34 5 6ORQ 1) A Write a ‘C’ program to find the transpose of a mXn matrix. [15 marks]
----------------------------------------------->SLIP 17<----------------------------------------------
Q 1) A i. Write a program to accept a number and check number is positive or negative. [10 marks]
OR
Q 1) A Write a ‘C’ program to calculate occurrences of a number in an array of n integers. [15 marks]
----------------------------------------------->SLIP 18<----------------------------------------------
Q 1) A i. Accept dimensions of a cylinder and print the surface area and volume. [5 marks]( surface area = 2π r2 + 2π r h, volume = π r2 h)
ii. Write a C program to Accept two integers x and y and calculate the sum of all integers between x and y. [10 marks]
OR
Q 1) A Write a C program to accept two matrices of size m x n and find multiplication of Matrices. [15 marks]
----------------------------------------------->SLIP 19<----------------------------------------------
Q 1) A i. Write a C program to accept two integers and perform all arithmetic operations. [5 marks]
ii. Write a program to check if a character is an alphabet, digit or a special symbol. If it is an alphabet, check if it is uppercase or lowercase. [10 marks]
OR
Q 1) A Write a program to multiply two matrices. Write separate functions to accept, display and multiply the matrices. [15 marks]
----------------------------------------------->SLIP 20<----------------------------------------------
Q 1) A i. Write a C program to accept radius of circle and calculate area and circumference. [5 marks]
ii. Write a function, which accepts a character and integer n as parameter and displays the next n characters. [10 marks]OR
Q 1) A Write a C program to accept n integers and sort them. Display the sorted elements.
OR
----------------------------------------------->SLIP 12<----------------------------------------------
OR
----------------------------------------------->SLIP 13<----------------------------------------------
OR
----------------------------------------------->SLIP 14<----------------------------------------------
OR
----------------------------------------------->SLIP 15<----------------------------------------------
OR
----------------------------------------------->SLIP 16<----------------------------------------------
Q 1) A i.Write a C program to find the area and perimeter of rectangle. [5 marks]
ii.Write a program to display n lines of the following pattern. [10 marks]
1
2 3
4 5 6
OR
Q 1) A Write a ‘C’ program to find the transpose of a mXn matrix. [15 marks]
----------------------------------------------->SLIP 17<----------------------------------------------
Q 1) A i. Write a program to accept a number and check number is positive or negative. [10 marks]
OR
Q 1) A Write a ‘C’ program to calculate occurrences of a number in an array of n integers. [15 marks]
----------------------------------------------->SLIP 18<----------------------------------------------
Q 1) A i. Accept dimensions of a cylinder and print the surface area and volume. [5 marks]
( surface area = 2π r2 + 2π r h, volume = π r2 h)
ii. Write a C program to Accept two integers x and y and calculate the sum of all integers between x and y. [10 marks]
OR
Q 1) A Write a C program to accept two matrices of size m x n and find multiplication of Matrices. [15 marks]
----------------------------------------------->SLIP 19<----------------------------------------------
Q 1) A i. Write a C program to accept two integers and perform all arithmetic operations. [5 marks]
ii. Write a program to check if a character is an alphabet, digit or a special symbol. If it is an alphabet, check if it is uppercase or lowercase. [10 marks]
OR
Q 1) A Write a program to multiply two matrices. Write separate functions to accept, display and multiply the matrices. [15 marks]
----------------------------------------------->SLIP 20<----------------------------------------------
Q 1) A i. Write a C program to accept radius of circle and calculate area and circumference. [5 marks]
ii. Write a function, which accepts a character and integer n as parameter and displays the next n characters. [10 marks]
OR
Q 1) A Write a C program to accept n integers and sort them. Display the sorted elements.
0 Comments:
Post a Comment